Windows7在安全移除USB设备后自动切断其电源
- 定位到如下注册表位置
1 |
|
- 在
usbhub
里面新建一个键值项hubg
- Now within hubg make a new DWORD (32-bit) called DisableOnSoftRemove. To do this right click the empty right pane and select New >> DWORD (32-bit) Value.
- Now open up the new DWORD and change the value data to 1 – Hexadecimal. You can do this by double-clicking the DWORD or right-click it and selecting Modify. Click OK to save and exit.
参考:
https://www.groovypost.com/howto/windows-safely-remove-usb-devices-power-off/
https://support.microsoft.com/zh-cn/help/2401954/usb-port-remains-active-for-disabled-or-safely-removed-usb-device
Windows7在安全移除USB设备后自动切断其电源
https://dnacore.github.io/post/2b880a03-56cc-4554-8478-c1439a30722c.html