troubleshooting Question

Disconnect or unmount a usb drive using a script (Windows 7)

Avatar of donpick
donpick asked on
StorageWindows 7
4 Comments3 Solutions13 ViewsLast Modified:
The computer is running Windows 7 pro in an office.  There are 2 usb drives connected to the computer. Let's call them D1 and D2.  A third party backup program writes to D1 on Monday, Wed and Friday.  It writes the backup to D2 on Tues, Thurs and Sunday.  The office staff must unplug drive D1 on Tuesday morning so they can take it home. D2 is plugged in on Tuesday morning.  
    Then on Wed morning the staff must unplug D2 and plug in D1.
Normally to properly disconnect  the usb drive someone has to manually click on the little uparrow in the task bar, find the correct icon, click on the icon and then click on the appropriate usb drive to dismount it.

The staff is not computer literate,  they just unplug one drive and insert the other.
What script or program could safely dismount the usb drive?

Thank you for your help.
Chief Operations Manager

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros