How to Disable USB Ports on Windows 11 PC/Laptop

Read Time:5 Minute, 45 Second

If you have a laptop and often use it in public places such as libraries, cafes, etc., you may want to disable your laptop’s USB Port. With the USB ports disabled, you don’t have to worry about unauthorized devices such as USB drives, Keyloggers, etc., accessing your laptop/computer.

By doing so, you will prevent the unauthorized exchange of data in your absence. We have already shared a guide on disabling USB Ports on Windows 10, but we haven’t listed all methods in that article. Therefore, we have created another report detailing all possible ways to disable USB Ports on Windows 11.

4 Methods to Disable USB Ports on Windows 11 PC/Laptop

Hence, this article may be beneficial if you are looking for ways to disable USB Ports to prevent malware infection on your Windows 11 operating system. Below, we have shared a few best methods that would help you disable USB Ports on your Windows 11 laptop or computer. Let’s get started.

1) Disable USB Ports on Windows 11 via Device Manager

We will use the Device Manager of Windows 11 to disable the USB Ports in this method. Here are some of the simple steps you need to follow.

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

Device Manager

https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-8616834671868854&output=html&h=280&slotname=5454874925&adk=4254212749&adf=691628391&pi=t.ma~as.5454874925&w=696&fwrn=4&fwrnh=100&lmt=1648669615&rafmt=1&psa=1&format=696×280&url=https%3A%2F%2Ftechviral.net%2Fdisable-usb-ports-windows-11%2F&fwr=0&fwrattr=true&rpe=1&resp_fmts=3&wgl=1&uach=WyJXaW5kb3dzIiwiMTAuMC4wIiwieDg2IiwiIiwiOTkuMC40ODQ0Ljg0IixbXSxudWxsLG51bGwsIjY0IixbWyIgTm90IEE7QnJhbmQiLCI5OS4wLjAuMCJdLFsiQ2hyb21pdW0iLCI5OS4wLjQ4NDQuODQiXSxbIkdvb2dsZSBDaHJvbWUiLCI5OS4wLjQ4NDQuODQiXV0sZmFsc2Vd&tt_state=W3siaXNzdWVyT3JpZ2luIjoiaHR0cHM6Ly9wYWdlYWQyLmdvb2dsZXN5bmRpY2F0aW9uLmNvbSIsInN0YXRlIjoyMSwiaGFzUmVkZW1wdGlvblJlY29yZCI6ZmFsc2V9XQ..&dt=1648882561422&bpp=1&bdt=242&idt=169&shv=r20220330&mjsv=m202203300101&ptt=9&saldr=aa&abxe=1&cookie=ID%3Dccd96810479b75d5-22922ce8eece0042%3AT%3D1642672614%3ART%3D1642672614%3AS%3DALNI_MZ5tc5U-WfXU9RzSSiZCuIwZ5atKg&prev_fmts=0x0%2C696x280%2C696x280%2C970x250%2C324x250&nras=1&correlator=2812368878085&frm=20&pv=1&ga_vid=1843811587.1642672613&ga_sid=1648882562&ga_hid=441545605&ga_fc=1&u_tz=60&u_his=7&u_h=720&u_w=1280&u_ah=680&u_aw=1280&u_cd=24&u_sd=1.5&dmc=8&adx=98&ady=3235&biw=1263&bih=520&scr_x=0&scr_y=1158&eid=44759875%2C44759926%2C44759837%2C31066120%2C31066018%2C21067496&oid=2&psts=AGkb-H8oW2kgmZ3qUYqQpBVXgNHQV1TtM_ePAldm1RiwyzkMOKPV6v-qoHJCwS-21aHWJxtJAUpH1WBe2Gnqzis%2CAGkb-H9Mk0BFjz5jY_nPXL8E8yBpEHWp8RaDu7vobuj54bgcpZPySwoa-g5KpPsoo_ed8tRhQif9AzeeA3oRBQ%2CAGkb-H92LLIRBhVWVRNA_FxHxa7nhOQFjGbsgph-BT6xIxreKkm_b1Ny8PljXeEJHwT_TFfW6FCgwMYlwB2sNg%2CAGkb-H_NMNL1yN82_nQYSJboKuo_yrZEXENux22OvpbCuOycNQMQwBdPBSeAoRw92vsQpHDQCGmyK82u3515BQ&pvsid=2334229290140333&pem=617&tmod=1834525107&uas=3&nvt=1&ref=https%3A%2F%2Ftechviral.net%2Fhow-to%2F&eae=0&fc=1920&brdim=0%2C0%2C0%2C0%2C1280%2C0%2C1280%2C680%2C1280%2C520&vis=1&rsz=%7C%7CoeEbr%7C&abl=CS&pfx=0&cms=2&fu=128&bc=31&ifi=4&uci=a!4&btvi=4&fsb=1&xpc=AqEEUZXA8I&p=https%3A//techviral.net&dtd=M

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

Universal Serial Bus Controllers

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

Disable device

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

select Enable

That’s it! You are done. You can disable USB Ports to prevent malware infection on Windows 11.

2) Disable USB Ports on Windows 11 via Registry Editor

We will use the Registry Editor to disable USB Ports in this method. You need to follow some of the simple steps we have shared below.

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

Registry Editor

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

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\USBSTOR

navigate to the following path

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

double click on the Start DWORD

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

enter 4 on the Value Data field

That’s it! This will disable USB Ports on your Windows 11 laptop/computer. You are done.

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.

enter 3 on the Value Data field

3) Disable USB Ports via Local Group Policy Editor

We will use Windows 11’s Local Group Policy Editor to disable the USB Ports in this method. Here are some of the simple steps you need to follow.

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

Group Policy Editor

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

Computer Configuration > Administrative Templates > System > Removable Storage Access

navigate to the path

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

Removable Disks: Deny execute access

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

select 'Enabled'

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

select 'Enabled'

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

select Not configured for both settings

That’s it! You are done. You can disable USB Ports to prevent malware infection on Windows 11 via the Local Group Policy editor.

4) How to Disable USB Ports via CMD

This method will use the Command Prompt utility to disable USB Ports in Windows 11 operating system. Here are some of the simple steps that you need to follow.

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

Command Prompt

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

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

That’s it! You are done. This is how you can enable or disable USB Ports on Windows 11 laptop/computer via Command Prompt.

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Check out our other content

Leave a Reply

Recent Articles

More like this
Related

%d bloggers like this: