Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any command or 3rd-party tool to enable/disable USB portable drive on the fly without rebooting the Win2003 Server that it is plugged into?

This is for enabling the drive before a backup job starts, and for disabling it after backup completes for security reasons. All these should be done via scripting or cmd.exe batch file.


share|improve this question

Requires some logging in/out, but might suit your needs:

share|improve this answer

THis will help on remounting: Re-mount USB device after removal on Windows: SafelyRemove app has a nice console backend.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.