With the USB ports disabled, you won’t have to worry about unauthorized devices, such as USB drives, Keyloggers, etc., accessing your laptop/computer. Doing so will prevent the unauthorized exchange of data in your absence. Here’s how you can disable USB ports on Windows 11.

1. Disable USB Ports via Device Manager

We will use the Device Manager of Windows 11 to disable the USB Ports in this method.

1. Open Device Manager from the Windows Search.

Device Manager

2. Scroll down and expand the Universal Serial Bus Controllers list.

Universal Serial Bus Controllers

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

Disable device

4. Right-click on it and select Enable Device.

select Enable

2. Disable USB Ports on Windows 11 via Registry Editor

We will use the Registry Editor to disable USB Ports in this method.

1. Open Registry Editor from the Windows Search.

Registry Editor

2. Navigate to the following path:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\USBSTOR

navigate to the following path

3. Double-click the Start DWORD key on the right pane.

double click on the Start DWORD

4. Enter 4 in the Value Data field and click OK.

enter 4 on the Value Data field

If you wish to enable the USB Ports again, repeat the steps and set 3 on the Value Data field in Step 4.enter 3 on the Value Data field

3. Disable USB Ports via the Local Group Policy Editor

In this method, we will use Windows 11’s Local Group Policy Editor to disable the USB Ports.

1. Open the Group Policy Editor from the Windows 11 Search.

Group Policy Editor

2. Navigate to the path:

Computer Configuration > Administrative Templates > System > Removable Storage Access

navigate to the path

3. Double click on the Removable Disks on the right pane: Deny execute access.

Removable Disks: Deny execute access

4. Select Enabled and click Apply > OK.

select 'Enabled'

5. Double-click on the Removable Disks: Deny read access, and select the Enabled option.

select 'Enabled'

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

select Not configured for both settings

4. How to Disable USB Ports via CMD

If you’re comfortable handling the command line utility, here’s how you can turn off USB ports via CMD.

1. Open the Windows 11 search and type in Command Prompt. Right-click on the CMD and select Run as administrator.

Command Prompt

2. Execute the command shared below and press Enter.

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

execute the command

3. This will disable the USB Ports on your Windows 11 computer. If you wish to re-enable the USB Ports, execute the command:

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

execute the command

5. Disable USB Ports in BIOS or UEFI

You also have another option to enable or disable Windows’ front/rear USB ports. To do so, you need to utilize the BIOS or UEFI. All you need to do is access the BIOS or UEFI by pressing the boot menu key. Once you access the BIOS/UEFI, you can choose which USB Ports to enable or disable.

Finding the option could be difficult since many options are available on the BIOS/UEFI menu. But you can scan through all available settings to find the option to disable the USB Ports.

These simple methods are to disable USB Ports on Windows 11 to prevent malware infection. If you have any doubts, let us know in the comment box below.

LEAVE A REPLY

Please enter your comment!
Please enter your name here