Windows 7 forbidden USB automatic installation driver function

  
The first thing users consider when limiting the use of USB devices is to disable their automatic playback to avoid Trojan virus intrusion, but in many cases, this method is not very effective. If you are a Win7 user, you can control the automatic operation of the USB device from the source through its unique "privilege control" technology.
Everyone knows that when a USB device is plugged into a computer, the system will prompt that the device is ready for use. This process is actually the process of the system identifying and installing the driver for the USB device. Therefore, we can use Win7's unique permission control function to prevent it from automatically identifying and installing the driver, so that the purpose of controlling the source can be achieved.
First enter the "X:/Windows/inf" directory (X: the partition letter of Win7), find the files "“usbport.PNF” and "usbstor.PNF”" respectively, and then separately The corresponding "Group or User" attribute security permission is set to “Reject”
Take the setting "usbport.PNF" as an example:
Right-click on the "usbport.PNF” file, in the pop-up dialog box, switch to the "Security" tab, click & ldquo; Edit ” button, then set the system default group or user <;SYSTEM>;<;full control" permission to “reject” (as shown).

This method can control the self-installation of USB devices from the source. When you plug the device into the host computer, the system will “mute” and do not respond to your insertion behavior. . Therefore, Master Dong suggested that you can upgrade the permissions for your favorite users to get the “Full Control” permission, while the normal user permissions are modified to reject, thus achieving a flexible effect.

Copyright © Windows knowledge All Rights Reserved