Error message after removing USB Hard Drive.

G

Guest

We are using two USB 160 GB Western Digital Hard Drives to back up our
system. Whe we disconnect one hard drive to swap with the other we are
getting a error message with regards to not finding the drive. Is there a
way to eleminate the message so that the drive can be swapped with out any
interface by the person changing out the drive.

Thanks
 
T

Torgeir Bakken \(MVP\)

SailFL said:
We are using two USB 160 GB Western Digital Hard Drives to back up our
system. Whe we disconnect one hard drive to swap with the other we are
getting a error message with regards to not finding the drive. Is there a
way to eleminate the message so that the drive can be swapped with out any
interface by the person changing out the drive.

Thanks
Hi,

This may work:

Put deveject.exe in a batch file that the person changing out the drive
runs before disconnecting the drive.

deveject.exe is available here (includes C++ source code as well):

ftp://ftp.heise.de/pub/ct/listings/0316-208.zip

For help, run deveject.exe /? in a command prompt.

Works for Windows 2000/XP/2003.


An example using the EjectName command line switch:
deveject.exe -EjectName:"USB Mass Storage Device"


Here is the readme.txt file, translated from German to English (by me):

DevEject -- Safely remove hardware automatically, for Windows 2000/XP/2003
=================================================================

DevEject enables you to programmatically stop mass storage devices such
as FireWire disks or USB-sticks

DevEject.exe -- the compiled executable
DevEject.cpp -- Source code in C++
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top