How does Win7 limit U disk to prevent virus from running

  
1. Insert the USB device that you use frequently into the computer. After the device enters the normal running state, “Open the control panel hardware and sound device and printer”, all the devices can be seen in this window.
Right-click on a USB device, select Properties, select “Hardware-Properties" in the window to open, select “Details", select “Hardware ID Item", copy and save the ID code Go to Notepad.


2, open & ldquo; Control Panel - Hardware and Sound - Device Manager & rdquo ;, expand Universal Serial Bus controllers list in Device Manager, find the USB mass storage device, open the properties , select the details in the navigation bar, copy out its hardware ID, and also save it in Notepad.


3, open the Run dialog box, type gpedit.msc, will pop up the Group Policy window, expand the & ldquo; Computer Configuration - Administrative Templates - System - Installation - Installation & rdquo ;, restrictions Open “Allow installation of devices that match the following device IDs>, in the “enabled&dquo; point as a real point, click the Show button to paste the device ID previously saved in Notepad.
Finally, select to disable the installation of devices not described by other policy settings, select Enabled in the pop-up window, select OK and exit.

Under Windows7 system, users can set the group policy to limit the specified U disk to run in the system, so that the security of the U disk can be determined, and the security of the Windows 7 system can be guaranteed to prevent strangeness. The virus brought about by the use of the U disk.

Copyright © Windows knowledge All Rights Reserved