Enable/Disable USB device on a schedule


  1. Posts : 1
    Windows 10 Pro 64-bit
       #1

    Enable/Disable USB device on a schedule


    I have a Seagate Backup Plus 5TB external HD conntected to my PC via USB. The external HD is only used for weekly backups. It is the loudest component of my PC. I don't want to listen to the HD spinning up, which happens frequently from what I can only assume to be background Windows processes.

    I currently have the external HD disabled through Device Manager. I manually enable it on Sunday evening before going to bed so that the scheduled backup can write to it over night. I disable the external HD again in the morning so it will remain silent. I would like to be able to schedule the device to automatically enable/disable before/after the scheduled backups. This will ensure the backups happen even if I forget to manually enable the device.

    I have tried to figure out a way to do this using Task Scheduler, but didn't see how I could set this up as a task. I have also tried creating two batch files (one to enable, one to disable) that would change the Start value in the USBSTOR registry key but I could not get this to work successfully. When I ran the batch file to disable USB storage I was still able to see and access the external HD (I confirmed that the Start value did change to a 4 which is supposed to disable, so not sure what I did wrong here). The plan was to set up the batch files to execute using Task Scheduler. Not sure if that would have worked anyway, as the batch files need to be run as administrator.

    Does anyone have any suggestions? Is there any freeware available that would allow for a scheduled enable/disable of a USB device? Appreciate any help you can offer. Thanks in advance.
      My Computer


  2. Posts : 14,046
    Windows 11 Pro X64 22H2 22621.1848
       #2

    You will find some good information here on using Powershell to manage devices, along with links to using other methods, like WMIC.

    Device Management PowerShell Cmdlets Sample An introduction | Server and Cloud Partner and Customer Solutions Team Blog
      My Computers


  3. Posts : 9,780
    Mac OS Catalina
       #3

    Your best thing to do is to back it up on your schedule. Not much that you can do to make Platter units quiet, unless you go with something like the Fantom eSATA/USB 3.0 drives.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:12.
Find Us




Windows 10 Forums