To work around this problem, a registry value can be set to cause Windows Vista, Windows Server 2008, Windows 7, and Windows Server 2008 R2 to revert to the Windows XP and Windows Server 2003 behavior of disabling the USB hub port to which a Soft Removed USB device is attached. This workaround can be applied on a per-device basis (for all instances of a specific device (Vendor ID, Product ID, and Revision), or globally (for all enumerated USB devices).
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756 How to back up and restore the registry in Windows
Per-Device Setting
To apply the workaround for a specific device, add a
REG_DWORD value named
DisableOnSoftRemove that has a value of
1 to the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\usbflags\vvvvpppprrrr(where
vvvv is the device's Vendor ID,
pppp is the device's Product ID, and
rrrr is the device's Revision number).
- Click Start, click Run, type regedit in the Open box, and then click OK .
- Locate and then click the following subkey in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\UsbFlags - On the Edit menu, point to New, and then click Key.
- Type the name of the new key in the following form:
vvvvpppprrrr
where vvvv is a 4-digit hexadecimal number that identifies the vendor (idDevice from the USB Device Descriptor),
pppp is a 4-digit hexadecimal number that identifies the product (idVendor from the USB Device Descriptor), and
rrrr is a 4-digit binary-coded decimal number that contains the revision number of the device (bcdDevice from the USB Device Descriptor). - On the Edit menu, point to New, and then click DWORD (32-bit) Value.
- Type DisableOnSoftRemove for the name of the DWORD Value, and then press ENTER.
- Right-click DisableOnSoftRemove, and then click Modify.
- In the Value data box, type 1 , and then click OK.
- Exit Registry Editor.
Global Setting
To apply the workaround globally for all enumerated USB devices, add a
REG_DWORD value named
DisableOnSoftRemove that has a value of
1 to the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbhub\HubG- Click Start, click Run, type regedit in the Open box, and then click OK .
- Locate and then click the following subkey in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbhub - On the Edit menu, point to New, and then click Key.
- Type HubG for the name of the new key, and then press ENTER.
- On the Edit menu, point to New, and then click DWORD (32-bit) Value.
- Type DisableOnSoftRemove for the name of the DWORD Value, and then press ENTER.
- Right-click DisableOnSoftRemove, and then click Modify.
- In the Value data box, type 1 , and then click OK.
- Exit Registry Editor.