how to automate a forced device uninstall

  • Thread starter Todd and Margo Chester
  • Start date
T

Todd and Margo Chester

Hi All,

I have a XP Pro computer with an external SATA (E-SATA)
drive attached. Occasionally, the E-SATA drive has to be
swapped out with a second drive. The method of doing this is
to go into the device manager, select the external hard
drive, clink on "uninstall", flip the power off to the
drive, swap the new drive in, turn the power back on.
The device manager automatically loads the new drive
up. Works fine.

Question: it there a way to automate this with a
batch file, Perl script, etc, such that the user only
has to click on a desktop icon to uninstall the drive?
(I am afraid the user will accidentally uninstall her
C: drive.)

Many thanks,
-T
 
C

Clay Calvert

Question: it there a way to automate this with a
batch file, Perl script, etc, such that the user only
has to click on a desktop icon to uninstall the drive?
(I am afraid the user will accidentally uninstall her
C: drive.)

Devcon.exe, a free tool at Microsoft's site, can do this. It is their
command line Device Manager.
Clay Calvert
(e-mail address removed)
Replace "Z" with "L"
 
T

Todd and Margo Chester

Clay said:
Devcon.exe, a free tool at Microsoft's site, can do this. It is their
command line Device Manager.
Clay Calvert
(e-mail address removed)
Replace "Z" with "L"

Cool! Thank you!

-T
 

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

Members online

No members online now.

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top