It is currently Wed Sep 30, 2020 11:24 am

All times are UTC + 1 hour

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Control USB drives
PostPosted: Mon Jan 01, 2018 5:49 pm 
User avatar

Joined: Sat Apr 26, 2003 2:15 pm
Posts: 895
Location: Cuernavaca, Mexico
I have a 5-outlet (powered) USB Hub on a Win10 Pro machine.

I would like to connect 3 USB (SATA) drives, and leave them connected.

Since they are not SSD's, I would like to control when they start spinning and when they stop spinning.

As it is right now, I notice the LED's "ON" and sometimes OFF (flashing). I think Windows is doing some cleanup in background mode.

One drive backs up my computer daily, next backs up the first drive daily, and the last one is a historical backup...twice a week.

As you can see, I don't want them spinning, if they are not actually in use.

So I'd like to write a small program to ask:

- Is drive spinning?

- Is drive in use?

- If the drive is idle

- Is it safe to shut down?

Basically force a start and if idle... force a shutdown of each drive would be nice.

I have looked a little in Powershell, and VBScript, but nothing solid.

Any ideas would be appreciated.

- It was too lonely at the top.

Current Machine: Win 10 Pro 64-bit, Dual Xeon E5-2670, 64 gigs ram, Geforce GTX 1660 Ti w/6 gigs ram

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour

Who is online

Users browsing this forum: No registered users and 16 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye