Disable Power Management on Network Adapters and USB Ports with VBScript

This VBscript automates a registry hack to turn off the power management on Network Cards and USB ports. Network Adapters and USB ports have a Power Management Tab under their properties in Windows Device Manager.

Information on the registry changes can be found in Microsoft KB article 837058.