Windows 7 prohibits USB automatic installation of the driver method

  
Under Windows XP system, the first thing users consider to limit the use of USB devices is to prohibit their automatic playback to avoid Trojan virus intrusion. But many times, this method is not very effective. If you are a Windows 7 user, you can control the automatic operation of the USB device from the source through its unique "privilege control" technology.
So, how can we control from the source?
Everyone should know that when the USB device is plugged into the host computer, the system will prompt that the XX device is ready for use. This process is actually the process of system identification and installation of the driver for the USB device. We can take advantage of Windows 7's unique permission control feature, prohibiting it from automatically recognizing and installing the driver, so that it can achieve the purpose of controlling the source.
Enter “X:Windowsinf” directory (X: is the partition letter of Windows 7), find the "usbport.PNF" and "usbstor.inf" files respectively, and then corresponding to the corresponding "ldquo; Group or User" attribute security permissions set to “reject”. Take the setting "usbstor.inf" as an example:
Right click on the “usbstor.inf” file, in the pop-up dialog box, switch to the "Security" tab, the system default group or user "ld"; SYSTEM”<;Full Control" permission is set to “Reject”.
Set the corresponding group or user's full control permission to "deny";
SYSTEM default is fully controlled, the user can enter the setup boot window through the "Advanced" button below. I will not go into details here.
This method can control the self-installation of USB devices from the source, but correspondingly, when you plug the device into the host computer, the system will be "mute", do not do anything for your insertion behavior. Respond. Correspondingly, the author suggests that users should upgrade their permissions for their favorite users, so that they get the “full control” permission to achieve a flexible effect.

Copyright © Windows knowledge All Rights Reserved