USB flash drives are common among many external devices, but computer viruses are also caused by viruses carried by USB flash drives in many cases, on Windows 7, how does one disable the use of USB flash drives? Do you want to make your computer more secure? In fact, there is a magic system file in the computer, called the registry. We can modify the registry to prohibit the use of USB flash drives.
Tip: It is risky to modify the registry. Back up data in advance and operate it with caution.
First, press the "win + r" key combination to open the running Window, enter regedit, and click enter to confirm, so that you can open the registry editor.
Next, in the left column, we will find "HKEY_LOCAL_MACHINE & rarr; SYSTEM & rarr; CurrentControlSet & rarr; services & rarr; USBSTOR ", find the "star" option on the right, move the mouse over the option, right-click and modify it, and change the original number 3 to 4!
After completing the above steps, we can achieve the purpose of disabling the USB flash drive in win7.