Link to home
Start Free TrialLog in
Avatar of supportservices
supportservicesFlag for United States of America

asked on

How to disconnect a hard via commandline?

I have a portable USB drive that I am using for backups. I would like to schedule a auto disconnect of the drive so that when a user pulls the drive to take home the unit disconnects properly. The backup software does not seem to allow this.

Is there a way to do this via command line?

Thanks!
Avatar of SteveGTR
SteveGTR
Flag of United States of America image

ASKER CERTIFIED SOLUTION
Avatar of ChiefoftheChiss
ChiefoftheChiss

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ChiefoftheChiss
ChiefoftheChiss

Steves' answer looks pretty good too,
just in case you get lost in the thread he sent,
click this link (it's dog slow!) http://www.jsifaq.com/SF/Tips/Tip.aspx?id=8496
download the file referenced in the top of the text and follow the steps :)

Safelyremove.com might still be good if you have trouble with that.
if those don't help, try task scheduler to run a command to disconnect the USB, which can be done through windows services -- but the utilities are probably easier than windows services.