FIX: USB device remains active after you safely eject it in Windows 7 or Windows 8

You may have noticed that in Windows 7 and Windows 8, USB devices continue to charge and do not power off even after you have safely removed them. For example, the power LED of your USB stick remains illuminated or an external USB hard drive continues to spin after ejecting them safely. In case, you are not happy with this behavior because the device isn't powered off, and want to get your device powered off completely on safe removal, here is how to change it.