Users who install the official Win7 will find that clicking the "Safely Remove Hardware and Ejecting Media" icon pops up the USB flash drive, the USB port is powered off (USB flash drive and HDD indicator are not extinguished). After setting the following methods, the USB interface will be powered off when you delete it safely.
Copy the following text into Notepad or another text editor
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ services \ usbhub \ hubg]
"EnableDiagnosticMode" = dword: 00000000
"DisableOnSoftRemove" = dword: 00000001
Point "file", select "save as"
In the window that pops up, select "All Files" as the file type, and fill in the file name "xxx.reg" (named here as "Power-off U disk to power off .reg" for later search)
Find just saved the registry file, double-click, in the pop-up warning box, click "OK", the import will pop up prompts. At this moment, you need to restart the system, and the system will be powered off after you safely delete the U disk.