您多久目睹一次在工作场所、大学或学校中阻止笔(Pen)式驱动器或USB驱动器访问?(USB)我相信很多次;实际上,您每次尝试使用USB驱动器时都不允许,因为管理员在您的Windows 11/10/8/7系统上禁用了USB驱动器检测。同样(Again),您的数据多久被盗,因为有人将未经授权的USB 连接(USB)到您的计算机并复制了您的文件?好吧,您不必担心,因为禁用或启用USB端口(Ports)的解决方案非常简单。
(Restrict)在Windows中(Windows)限制对USB驱动器的访问
管理员可以通过多种方式阻止使用USB驱动器:
- 更改USB 海量存储(USB Mass Storage)设备的(Devices)注册表(Registry)值。
- 从设备管理器(Device Manager)禁用 USB端口。
- 通过卸载USB 大容量存储(USB Mass Storage) 驱动程序
- 使用命令行
- 使用第三方免费软件
- 使用微软修复它。
让我们看看如何解决这些问题并在Windows PC上启用USB 。
1]使用注册表启用(Enable),禁用USB驱动器(Disable USB Drives)和大容量存储(Mass Storage) 设备(Devices)
如果管理员是明智的,那么他会这样做以确保严密的封锁。他将通过运行(Run)控制台上的regedit命令更改设置。现在怎么解锁?您必须直接进入管理员所在的位置。这里是如何。
- 转到“开始”>“运行”,键入“ regedit”,然后按 Enter 键打开注册表编辑器。
- 导航到以下键
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
在右窗格中,选择Start并将值更改为3。(值 4 将禁用USB 存储(USB Storage))。单击确定(Click OK)。它将重新启用USB 端口(Ports)并允许您使用USB或笔式(Pen)驱动器。
2]从设备管理器(Device Manager)禁用USB端口(Disable USB Ports)
如果您仍然没有发现您的USB驱动器工作,您可能需要查看设备管理器(Device Manager)。管理员可能在此处禁用了USB端口。检查设备管理器(Device Manager)中的任何可能性,并根据您的要求右键单击所选端口并单击启用(Enable)或禁用来启用禁用的端口。(Disable)
阅读(Read):如何在 Windows 11/10 上检查 USB 端口的电源输出。(check Power Output of a USB Port)
3]卸载USB大容量存储(Uninstall USB Mass Storage) 驱动程序
如果当局担心学校的安全性,他们将采取极端措施卸载USB 海量存储驱动程序(USB Mass Storage Drivers)。要使事情正常进行,请安装设备驱动程序。这是你如何做到的。
当您插入USB驱动器时,Windows将检查驱动程序;如果没有找到,Windows会提示您安装驱动程序。这肯定会在您的学校或办公室解锁笔式驱动器。(Pen)
4]使用命令行
要启用或禁用CD/DVD ROM Drives,请打开提升的命令提示符(open an elevated command prompt)窗口,键入以下内容,然后按 Enter(Enter)。
reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d 4 /f
您将收到操作已成功完成的消息。它将禁用DVD CD 驱动器(DVD CD Drive)。
要启用它,请使用:
reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d 1 /f
重新启动您的 Windows PC。
5]使用USB驱动器禁用/启用
您可以下载并使用免费工具USB Drive Disabler/Enabler,它可以让您轻松启用或禁用Windows计算机上的USB驱动器。www.intelliadmin.com 下载它。
6]阻止(Prevent)用户连接USB
如果您的Windows计算机上已经安装了USB存储设备,您可以使用此(USB)Microsoft Fixit 50061编辑(Microsoft Fixit 50061)Windows 注册表(Windows Registry)以确保当任何人将 USB 连接到 PC 时USB不起作用[这已被Microsoft现在删除] . 首先检查(Check)它是否适用于您的Windows操作系统版本。
如何在Windows中只允许特定的(Windows)USB设备?
可以通过计算机配置 > 管理模板 > 系统 > 设备安装 > 设备安装限制 > 允许安装与这些设备 ID(Device IDs)中的任何一个匹配的设备中提供的组策略。如果您必须在此处输入USB的设备 ID,这将有所帮助,这可以从Device Manager > Properties > Details选项卡> Device Instance Path中记录下来。
如何禁用 USB 端口?
您可以从主板的UEFI或BIOS执行此操作,第二种方法是使用组策略或软件(Software)禁用 USB 驱动程序( disable the USB driver using Group Policy)。如果您需要紧急使用,请务必记住如何回滚。另外,请注意,组策略(Group Policy)或软件(Software)在您在操作系统内部时有效,但主板方法从引导开始就有效。
如果您有任何问题或意见,请告诉我们。(Please let us know if you have any questions or observations.)
How to enable or disable USB Drives or Ports in Windows 11/10
How often have you witnessed blocked Pen drive or USB drive access in your workplace, college, or school? I believe many times; in fact, you аre not allowed every time yoυ try to use the USΒ drive, simply because the administrator has disabled USB drive detection on your Windows 11/10/8/7 systеm. Again, how often has your data been stolеn because someone connеcted an unauthorized USB to your computer and copied your files? Well, you don’t need to worry because the solution to disable or enable USB Ports is pretty simple.
Restrict access to USB drives in Windows
There are several ways an administrator can prevent using USB Drives:
- Altering the Registry values for USB Mass Storage Devices.
- Disabling USB Ports from Device Manager.
- By Uninstalling the USB Mass Storage Drivers
- Using Command-line
- Using third-party freeware
- Using Microsoft Fix It.
Lets us look at how we can fix these problems and enable USB on a Windows PC.
1] Enable, Disable USB Drives & Mass Storage Devices using Registry
If the administrator is wise, then he would do this to ensure a tight blockade. He would alter the settings through the regedit command on the Run console. Now how do you unlock it? You have to go right into where the administrator has been. Here is how.
- Go to Start > Run, type “regedit,” and press enter to open the registry editor.
- Navigate to the following key
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
In the right pane, select Start and change the value to 3. (The value 4 will disable USB Storage). Click OK. It will re-enable USB Ports and allow you to use USB or Pen drives.
2] Disable USB Ports from Device Manager
If you still don’t find your USB drive working, you may have to look into the Device Manager. The administrator could have possibly disabled the USB port here. Check out for any possibility in the Device Manager and enable the disabled port by right-clicking on the selected one and clicking Enable or Disable, as per your requirement.
Read: How to check Power Output of a USB Port on Windows 11/10.
3] Uninstall USB Mass Storage Drivers
If the authorities are apprehensive about security in the school, they will take the extreme step of uninstalling the USB Mass Storage Drivers. To make things work, install the device drivers. Here is how you do it.
When you plug in your USB drive, Windows will check for drivers; if not found, Windows will prompt you to install the driver. This would definitely unlock the Pen drive at your school or office.
4] Using Command line
To enable or disable CD/DVD ROM Drives, open an elevated command prompt window, type the following, and hit Enter.
reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d 4 /f
You will get The operation completed successfully message. It will disable the DVD CD Drive.
To enable it, use:
reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d 1 /f
Restart your Windows PC.
5] Use USB Drive Disabler/Enabler
You can download and use a free tool, USB Drive Disabler/Enabler, which will allow you to enable or disable USB drives on your Windows computer easily. www.intelliadmin.com to download it.
6] Prevent users from connecting USB
If a USB storage device is already installed on your Windows computer, you can edit the Windows Registry to ensure that the USB does not work when anyone connects it to the PC, using this Microsoft Fixit 50061 [This has been taken down by Microsoft now]. Check first if it applies to your version of the Windows operating system.
How to allow only specific USB devices in Windows?
It is possible through the group policy available at Computer Configuration > Administrative Templates > System > Device Installation> Device Installation Restrictions > Allow Installation of devices that match any of these Device IDs. Here it would help if you had to enter the device ID of the USB, which can be noted from the Device Manager > Properties > Details tab > Device Instance Path.
How to Disable USB Ports?
You can either do it from the UEFI or BIOS of your motherboard and the second way is to disable the USB driver using Group Policy or Software. Always make sure you remember how to roll back if you need it for urgent use. Also, note that Group Policy or Software works when you are inside the OS, but the motherboard method works right from the boot.
Please let us know if you have any questions or observations.