Skip to content

5 Ways to Disable USB Ports on Windows 11

July 27, 20243 minute read

Data security, malware protection, prevention of data theft, stop unauthorized device driver installation, improved network security, etc. are the main advantages of disabling USB port on a computer. If you are using your laptop in public places like libraries, you may want to disable USB port for security reasons.

There are five ways to disable USB ports on computers and laptops running on Windows 11: through the Device Manager, Registry Editor, Group Policy Editor, Command Prompt, and BIOS or UEFI. Here’s a detailed guide on each method, from which you can choose one based on your convenience.

Five Methods to Disable USB Ports on Windows 11

How to Disable USB Ports on Windows 11 via Device Manager?

Disabling USB port via Device Manager is the easiest method in Windows 11. Here are the steps to follow.

1. Type Device Manager in Windows 11 search field and click the Device Manager shown in the search result to open it.

2. On the Device Manager, scroll down and expand the Universal Serial Bus Controllers list.

3. Right-click on the USB Port and select the option Disable device.

Disable USB Port on Windows 11 via Device Manger

Note: To enable the USB Port again, right-click on it and select Enable Device.

How to Disable USB Ports on Windows 11 via Registry Editor?

1. Open the Registry Editor and navigate to:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\USBSTOR

2. On the right pane, double-click the Start DWORD key.

3. Enter 4 in the Value Data field and click the OK to save the settings.

Disable USB Port on Windows 11 via Registry editor

Note: To re-enable USB port, follow the above steps and enter the default Value Data 3.

How to Disable USB Ports via the Local Group Policy Editor?

1. Open the Windows 11 search and search for Group Policy Editor.

2. Open Local Group Policy Editor, and navigate to:
Computer Configuration > Administrative Templates > System and expand “Removable Storage Access

3. On the right-pane, double click “Removable Disks:Deny execute access”.

Disable USB port on Windows 11 via Group Policy Editor

4. On the Window that appears next, select “Enabled” and click OK to save the settings.

Disable USB Port on Windows 11 via Local Policy Editor

5. Next, double click on the “Removable Disks: Deny read access”, and select the Enabled option.

Note: To re-enable the USB Ports, select Not configured for both settings.

How to Disable USB Ports via CMD?

1. Open Command Prompt as administrator on your Windows 11 PC.

2. Next, enter the command reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d 4 /f and press Enter.

3. It will disable the USB Ports on your Windows 11 computer.

Note: To re-enable USB port execute the command: reg add HKLM\System\CurrentControlSet\Services\cdrom /t REG_DWORD /v "Start" /d 1 /f

How to Disable USB Ports in BIOS or UEFI?

You can also disable USB port via BIOS or UEFI settings.

1. Enter BIOS or UEFI settings by pressing the boot menu key (this key varies depending on the motherboard).

2. Once you’re in the BIOS/UEFI settings, navigate to the USB Ports section. Here, you can enable or disable the USB ports.

Finding the option to disable USB ports may be challenging due to the large number of available settings. You might need to scan through all the options to locate the one for disabling USB ports via BIOS or UEFI.

More Resources

No Comments

Back To Top