Jak bezpečně odebrat USB disk pod Windows 7
6 Srpen 2011 | V: Nezařazené
Po odebrání mého 2.5″ USB disku ve windows 7 se stále točí plotny a disk se neodpojí tak jako ve windows XP. Řešení je upravení registru :
Per-Device Setting
To apply the workaround for a specific device, add a REG_DWORD value namedDisableOnSoftRemove 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.