Connect with us

TECHSAMA

4 ways to disable USB Ports on Windows 11

Tips

4 ways to disable USB Ports on Windows 11

With disable USB ports, you no longer need to worry about unwanted devices such as USB drives, keyloggers, or other similar devices gaining access to your laptop/computer.

This will prevent the unlawful sharing of data while you are away. We’ve already given a guide on how to disable USB ports on Windows 10, but we didn’t cover all possible solutions. As a result, we’ve written another paper outlining every potential method for disabling USB ports on Windows 11.

4 Ways to Disable USB Ports in Windows 11

This article may help you stop USB ports on Windows 11 to prevent malware infestation. Here are few techniques to disable USB ports on your Windows 11 laptop or PC. Let’s begin.

Using Device Manager to disable USB ports in Windows 11

This solution uses Windows 11’s Device Manager to deactivate USB ports. Here are some basic steps to follow.

  • First, type Device Manager in the Windows 11 Search box.
  • Expand the Universal Serial Bus Controllers list in Device Manager.
  • Click on the USB Port and choose Disable device.

How to Disable USB Ports on Windows 11

  • To re-enable the USB Port, right-click it and select Enable Device.

Done. To avoid malware infection on Windows 11, deactivate USB ports.

Registry Editor: Disable USB Ports in Windows 11

This approach uses the Registry Editor to deactivate USB Ports. Follow the easy actions listed below.

  • First, type regedit in the Windows 11 search box. Afterwards, launch the Registry Editor program.
  • In the Registry Editor, browse to:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\USBSTOR

  • In the right pane, double click the Start DWORD key (see below).

  • In the Value Data area, enter 4 and click Ok.

Done! This disables USB ports on Windows 11 laptops. Done.

To re-enable the USB ports, repeat Step 4 and enter 3 in the Value Data field. This will improve your PC’s USB Port.

Accessible via the Local Group Policy Editor

This approach disables USB ports using Windows 11’s Local Group Policy Editor. Here are some basic steps to follow.

  • Type Group Policy Editor into the Windows 11 search. Next, choose the best match from the list.
  • Navigate to the path:

System > Removable Storage Access

  • In the right pane, double click Removable Disks: Deny execute access.

  • Select Enabled and click Apply > Ok in the following window.

  • Select the Removable Disks: Deny read access and choose Enabled.
  • To re-enable USB ports, choose Not configured for both options.

Done! In Windows 11, you may block USB ports to avoid malware infiltration.

Disable USB Ports with CMD

To deactivate USB ports in Windows 11, use the Command Prompt program. Here are some basic steps to follow.

  • Type cmd into the Windows 11 search box. Click the CMD and choose Run as administrator.
  • In the Command Prompt, type the following command and hit Enter.

reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v “Start” /d 4 /f

  • Then restart your Windows 11 machine. To re-enable USB ports, run the following command:

reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v “Start” /d 1 /f

Done! Using the Command Prompt in Windows 11 allows you to enable or disable USB ports.

Disable USB ports in Windows 11 to avoid malware infection. I wish you well! Please forward it to your friends. Let us know in the comments if you have any questions.

More in Tips

To Top