How to disable USB flash drive, shielded (two ways)

Source: Internet
Author: User
Tags delete key

Because of the computer's own security, trade secret protection needs, often to disable the computer USB interface, especially disable the device with USB storage function, such as USB flash drive, mobile hard disk and mobile phone memory card, but also can not completely block the use of USB interface, because now a lot of mouse and keyboard are USB ports. In this case, how to limit the use of a USB stick without affecting the use of the mouse and keyboard is a goal of network management. This article describes two ways to prohibit the use of U:

I. BIOS disable USB port

Restart the computer, press the DELETE key on the keyboard during startup, enter the Bois Setup interface, select the "integratedperipherals" option, expand the USB 1.1 controller (USB1.1) and the USB The properties of the 2.0 controller (USB2.0 Controllers) option are set to "Disabled" (disabled). Give Bois a password so that others cannot easily modify the Bois settings.

Cons: When you want to use USB devices more trouble

**************************************************************************************

two. How to disable the USB key in the registry

To disable a USB flash drive:

1. Run regedit,

2, expand Hkey_local_machine\system\currentcontrolset\services\usbstor,

3, right-click Start, change its value to 4, you can disable the USB drive, to cancel disabling, just change 4 back to 3.

**************************************************************************************

The contents of the registry that prohibit the use of USB storage devices are as follows:

When you save the code in Notepad to a reg file named Lockusb.reg, and then double-click the file to import the registry, you are done preventing the computer from using a USB storage device. The USB storage device is not available for all users.

Windows Registry Editor Version 5.00

[Hkey_local_machine\system\currentcontrolset\services\usbstor]

"Type" =dword:00000001

"Start" =dword:00000004

"ErrorControl" =dword:00000001

"ImagePath" =hex (2): 73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\

52,00,49,00,56,00,45,00,52,00,53,00,5c,00,55,00,53,00,42,00,53,00,54,00,4f,\

00,52,00,2e,00,53,00,59,00,53,00,00,00

"DisplayName" = "USB Mass storage Device"

[Hkey_local_machine\system\currentcontrolset\services\usbstor\security]

"Security" =hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\

00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\

00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\

05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\

20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\

00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\

00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

The registry content to turn on USB storage device access is as follows:

The code is saved as a reg file with the Unlockusb.reg suffix, and double-clicking the file to import the registry completes the operation to turn on the computer using a USB storage device. USB storage devices are available to all users.

Windows Registry Editor Version 5.00

[Hkey_local_machine\system\currentcontrolset\services\usbstor]

"Type" =dword:00000001

"Start" =dword:00000003

"ErrorControl" =dword:00000001

"ImagePath" =hex (2): 73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\

52,00,49,00,56,00,45,00,52,00,53,00,5c,00,55,00,53,00,42,00,53,00,54,00,4f,\

00,52,00,2e,00,53,00,59,00,53,00,00,00

"DisplayName" = "USB Mass storage Device"

[Hkey_local_machine\system\currentcontrolset\services\usbstor\security]

"Security" =hex:01,00,14,80,90,00,00,00,9c,00,00,00,14,00,00,00,30,00,00,00,02,\

00,1c,00,01,00,00,00,02,80,14,00,ff,01,0f,00,01,01,00,00,00,00,00,01,00,00,\

00,00,02,00,60,00,04,00,00,00,00,00,14,00,fd,01,02,00,01,01,00,00,00,00,00,\

05,12,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\

20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,0b,00,00,00,00,\

00,18,00,fd,01,02,00,01,02,00,00,00,00,00,05,20,00,00,00,23,02,00,00,01,01,\

00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00

Write protection operation:

1. Run regedit,

2, expand HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet,

3. Right-click the control entry, select New, rename the new item to Writeprotect, and set its value to 00000001 (hexadecimal), and then refresh.

4. To remove the limit on flash write protection, change the value to 00000000.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.