How to Disable USB Ports on Windows Computer

Have you ever been in a situation where you want to Disable your computer USB ports? Some of the reasons why you will want to disable your laptop or PC USB ports. If you often use it in public places such as libraries, cafes, etc. With the USB ports disabled, you don’t have to worry about unauthorized devices such as USB drives, Keyloggers, etc., accessing your laptop/computer.
In this post, I will be showing you how you can Disable USB Ports on Windows Computer in four easy methods.

Methods to Disable USB Ports on Windows Computer

Disable USB Ports on Windows via Device Manager

1. First, click on the Windows 11 Search and type in Device Manager.

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

3. Next, right-click on the USB Port and select the option Disable device.

4. If you wish to enable the USB Port again, right-click on the USB Port and select Enable Device.

Disable USB Ports on Windows 11 via Registry Editor

1. First, click on the Windows 11 search and type in Registry Editor. Next, open the Registry Editor app from the list.

2. On the Registry Editor, navigate to the following path:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\USBSTOR

3. Double click on the Start DWORD key on the right pane, as shown below.

4. Enter 4 on the Value Data field and click on the Ok button on the pop-up.

If you wish to enable the USB Ports again, you must repeat the steps and set 3 on the Value Data field in Step 4. This will help the USB Port again on your PC.

Disable USB Ports via Local Group Policy Editor

1. First, open the Windows 11 search and type in Group Policy Editor. Next, select the best match from the list of options.

2. On the Local Group Policy Editor, navigate to the path:

Computer Configuration > Administrative Templates > System > Removable Storage Access

3. Now, double click on the Removable Disks on the right pane: Deny execute access.

4. On the Window that appears next, select Enabled and click on Apply > Ok.

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

6. If you wish to re-enable the USB Ports, you need to select Not configured for both settings.

How to Disable USB Ports via CMD

1. First, open the Windows 11 search and type in Command Prompt. Next, right-click on the CMD and select Run as administrator.

2. On the Command Prompt, execute the command shared below and press the Enter button.

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

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

Post a Comment

What do you think?

Previous Post Next Post