Script to manage 'Remove hardware safely'

Discussion in 'Windows XP Configuration' started by Mad Ant, Aug 11, 2008.

  1. Mad Ant

    Mad Ant Guest

    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,

    Anton
     
    Mad Ant, Aug 11, 2008
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest

    Safely Remove Hardware

    Guest, Jan 26, 2005, in forum: Windows XP Configuration
    Replies:
    1
    Views:
    203
    Thorsten Matzner
    Jan 27, 2005
  2. Guest

    Control Panel & Safely Remove Hardware

    Guest, Feb 8, 2005, in forum: Windows XP Configuration
    Replies:
    2
    Views:
    355
    Wesley Vogel
    Feb 9, 2005
  3. Bill Evans

    "Safely Remove Hardware" trayicon has left the building....

    Bill Evans, Jan 12, 2006, in forum: Windows XP Configuration
    Replies:
    13
    Views:
    305
    Hans-Georg Michna
    Jan 17, 2006
  4. Kev

    Safely Remove Hardware

    Kev, Mar 22, 2006, in forum: Windows XP Configuration
    Replies:
    4
    Views:
    321
  5. Ed

    "Safely Remove Devices" does not list USB devices

    Ed, May 1, 2006, in forum: Windows XP Configuration
    Replies:
    0
    Views:
    247
Loading...

Share This Page