PC Review

Thread Tools Rate Thread

Script to manage 'Remove hardware safely'

Mad Ant
Posts: n/a
      11th Aug 2008
Hello all.

I had a problem with a laptop : while shutting down, it would always
hang on the blue shutdown screen, and would hang there continually. I
would have to press the power button for several seconds to force a
shutdown. this affected the reboot also.

I did some checking, and found it to be the WiFi PCMCIA card being
active that was causing the problem. When I would click on the
notification area to 'remove device safely', the laptop would shutdown
without a hitch.

however, the user of said laptop is a less-advanced user, and I would
like to simplify the shutdown sequence. I don't want to have repeats
of the problem because they forgot to remove the hardware.

The easiest solution that I came up with and would like to implement
is to have a small script which would automatically remove the
hardware, before shutting down ('shutdown -s -t 1').
Looking around, however, and I cannot find anything on the possibility
of a script affecting the hardware in this way. the closest I found
was something called 'DevCon', but have no experience with this.

If someone if able to help me with this, even just to point me in the
right direction/web site, I would be much obliged.

Many thanks, and best regards,

Reply With Quote

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Software to manage hardware items Michael Windows XP Help 3 14th Feb 2008 12:53 PM
BUG: Script blocking strips script parameters during script authorization Jonathan K. Shay Spyware Announcements 3 2nd May 2005 06:18 PM
alt.comp.hardware,alt.comp.hardware.homebuilt,alt.comp.hardware.homedesigned JohnNews Computer Hardware 2 9th Aug 2004 03:14 AM
intel.microprocessors.pentium, comp.sys.intel, comp.hardware, alt.comp.hardware.homebuilt, alt.comp.hardware.pc-homebuilt, alt.comp.mainboards.abit J Higbee DIY PC 3 24th Jun 2004 04:03 PM
xp ''add hardware wizard'' won't add hardware ! a marsden Windows XP Help 0 14th Oct 2003 08:28 PM




All times are GMT +1. The time now is 11:13 AM.