Raymond.CC Blog
  • Home
  • Forum
  • Giveaway
  • X-Ray 2.0
  • Contact
  • About
  • I’m Feeling Lucky
Search the site...
You are here: Home » Computer » Power Off USB Port when Safely Removed USB Device in Windows 7

Power Off USB Port when Safely Removed USB Device in Windows 7

Updated by Raymond - 7 months ago - Computer
25
  • Like
  • +1
  • Tweet
  • Printer Friendly and PDF

I got to know about spinning down drives after stopping in Vista & Windows 7 while I was reviewing the changelog for USB Safely Remove 4.4. Basically what USB Safely Remove explained in their blog about this is when you eject a device, for instance a USB flash drive in Windows XP, the LED will be switched off. However in Windows Vista and Windows 7, the LED light is still turned on even after ejecting them from Safely Remove Hardware. It won’t be a problem if it is a USB flash drive because it doesn’t have any moving parts but it could be worrying when it comes to an external mechanical hard drive that requires the heads to park to avoid damaging the hard drive which will lead to data losses.

Starting from USB Safely Remove 4.4, it comes with a feature to power off device after device stopping by just enabling it in the Options. For people that managed to grab a free license of the USB Safely Remove 4.7 which I’ve posted it yesterday, I bet you would have enabled this option during the first run of the software for safety precaution. However for people that missed the giveaway, or would want to use this option WITHOUT installing USB Safely Remove software, here is how you can manually enable this safety feature.

The powering off USB port when safely removed USB device feature in Windows Vista or Windows 7 does not rely on USB Safely Remove as it can be enabled from a registry value. I got to know about this by turning the option on then off while tracking the registry and file changes. In fact this is even documented in Microsoft Knowledge Base (KB) article ID 2401954.

Here are the steps to enable powering off USB port after it has been safely removed.

1. Click Start, click Run, type regedit in the Open box, and then click OK.
2. Locate and then click the following subkey in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbhub
3. On the Edit menu, point to New, and then click Key.
4. Type HubG for the name of the new key, and then press ENTER.
5. On the Edit menu, point to New, and then click DWORD (32-bit) Value.
6. Type DisableOnSoftRemove for the name of the DWORD Value, and then press ENTER.
7. Right-click DisableOnSoftRemove, and then click Modify.
8. In the Value data box, type 1, and then click OK.
9. Exit Registry Editor and restart your computer for the change to take effect.

DisableOnSoftRemove

If the 9 steps above are too confusing, you can just download the registry file from the link below and run it which will automatically merge it into your Windows registry.
http://www.mediafire.com/?j9w9ngu9vz9z9sx

Although this is documented in Microsoft KB but it is stated as “FAST PUBLISH” article. I enabled the DisableOnSoftRemove value on my test computer and rebooted it. Then I tried connecting an external Maxtor hard drive, disabled it through Windows 7 Safely Remove Hardware but the LED light is still lit up which is supposed to be turned off according to the USB Safely Remove software blog…

To test this further, I’ve installed a USB packet sniffer software called HHD Software Device Monitoring Studio 6.22 and it didn’t find any packets being sent/received to the external Maxtor hard drive after ejecting the external hard drive from Safely Remove Hardware. No matter what, I will have this option enabled on my Windows 7 system just to be on the safe side.

Didn't find what you want? The links below could help:

CaSIR an Excellent Portable Infection Remover is Now FreewareCaSIR an Excellent Portable Infection Remover is Now FreewareInstalling Windows 7 System Recovery Disc onto USB Flash DriveInstalling Windows 7 System Recovery Disc onto USB Flash DriveDowngrade Windows 7 64bit to 32bit (x64 to x86)Downgrade Windows 7 64bit to 32bit (x64 to x86)2 Tools to Check the USB Devices Used On Your Computer2 Tools to Check the USB Devices Used On Your Computer

25 comments on “Power Off USB Port when Safely Removed USB Device in Windows 7”

  1. netflatron says:
    9 months ago

    Raymond, thank you very much! Works like a charm! ;) Very helpful! I did not want to install a program to do something simple like that..

    Reply
  2. Wachimiro Tocatan Tiro says:
    1 year ago

    Thanks, works perfectly ;)

    Reply
  3. Eduardo says:
    1 year ago

    Raymond… you are great!!! thanks!!!!

    Reply
  4. hardy says:
    1 year ago

    Thank you Raymond this is a really good safety tip

    Reply
  5. buntydee says:
    1 year ago

    Thanx for the info

    Reply
  6. nevada says:
    1 year ago

    Hi,

    I guess i was the same when this option wason with XP but I was wondering how does it handles the turn off power with a USB hub? Is windows able to turn off the specific USB you’re using your device on?

    Reply
  7. rahul says:
    1 year ago

    i used this reg key to x64 machine works fine first i thought this is only for 32bit machine reg key thanx a lot

    Reply
  8. Firas says:
    1 year ago

    Thank you very much Raymond, i was searching for this trick for a long time ;-)

    Regards

    Reply
  9. Merlin_Magii says:
    1 year ago

    Very useful – thank you Raymond.

    Reply
  10. samer says:
    1 year ago

    thank you my friend, you are right but i think Microsoft will solve this problem in win 8

    Reply
  11. alinek says:
    1 year ago

    Thank You, useful to advice.

    Reply
  12. usb says:
    1 year ago

    thanks for your efforts..

    Reply
  13. Alan Solomon says:
    1 year ago

    Hello,

    If any of you are looking for a similar portable utility then please visit the following link:

    quick.mixnmojo.com/software/usb-disk-ejector

    this is very simple & yet does the job perfectly.

    since its portable you can carry eveywhere

    -Aaln Solomon

    Reply
  14. vhick says:
    1 year ago

    This is a really good tip and tweak for windows 7.

    Thank you…

    Reply
  15. Mark says:
    1 year ago

    Hi Ray,
    I managed to got USB Safely Remove 4.7 yesterday (Thanks to you) But in the installation process I was in a hurry, so I skipped the step to enable the feature to power down external HDD.

    Could you please tell me how to enable it?

    Thank you.

    Reply
  16. BossRJ says:
    1 year ago

    LIKE again!!!

    Reply
  17. minnetonka says:
    1 year ago

    Thanks a lot for sharing the additional information and the no-brainer registry entry option.

    Reply
  18. Anonymous says:
    1 year ago

    Why does Microsoft make such stupid decisions? If the devices are not powered off when safely removed, it will also continue to consume laptop power when on batteries.

    Reply
  19. ROJAK says:
    1 year ago

    thanks for sharing this. :)

    Reply
  20. Kroko says:
    1 year ago

    Thank You,good post.

    Reply
  21. billy13 says:
    1 year ago

    Good one,RAY……

    Reply
  22. stanly7 says:
    1 year ago

    Multumesc frumos.

    Reply
  23. tridentcore says:
    1 year ago

    so.. In the end… this feature is not field tested by Microsoft..? or just “disabled” because there’s side effect? HDD spindown after safe removal is sometime useful for notebook…

    Reply
  24. jasa desain arsitek says:
    1 year ago

    As usual raymond, really nice info, thanx.

    Reply
  25. ding-dong says:
    1 year ago

    i agree with you ray, safe side, strong side :D

    thanks for this post!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recently Updated

  • flash bios icon

    5 Tools to Easily Install FreeDOS or MS-DOS onto USB for BIOS Flashing

  • avast icon

    Reset or Remove avast! Authorization Password to Access Settings

  • U3 icon

    How to Customize U3 USB Smart Drive to Become Ultimate Hack Tool

New Articles

  • task manager replacement icon

    Memory Usage Test to See Which is the Lightest Antivirus Software

  • kaspersky antivirus 2013 icon

    Activate Free Kaspersky Anti-Virus 2013 ROG with 1 Year License

  • remote access software

    Top 8 Remote Access Software for Providing Online Support

Popular Posts

  • Top 10 FREE Data Recovery Software

    Top 10 FREE Data Recovery Software

  • How to Hack Into a Windows XP Computer Without Changing Password

    How to Hack Into a Windows XP Computer Without Changing Password

  • 10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

    10 Free Software to Mount CD or DVD ISO Image File as Virtual Drives

Recommend on Google
Follow @raymond_cc
Subscribe Youtube »
(c) 2013 Raymond.CC Blog
  • Contact
  • Disclaimer
  • Disclosure
  • Privacy Policy
  • Terms of Use
  • Sitemap