How to Enable or Disable USB Port in Windows 11

Have you ever encountered blocked USB drive access? We believe the answer will be yes; you must have dealt with many USB drive issues.

This happens because administrators have disabled USB drive detection on your Windows 11. Disabling the USB port in Windows 11 is important to protect your data as anyone can connect an unauthorized USB to your computer and copy your files.

So, it is essential to learn how to enable or disable USB ports in Windows 11 to protect your private data. And this guide will walk you through all the possible ways to enable or disable a USB port on your Windows 11. Let’s get moving.

How to Enable or Disable USB Port in Windows 11 (6 Methods)

USB ports allow you to connect your pen drive or USB drive to your PC to transfer data in minutes. It is the best offline method to exchange files and folders. 

But unfortunately, it can be risky too. If anyone gets unauthorized access to your computer, they can easily steal your data using the USB drive.

Therefore, administrators have to disable the USB port so that only authorized users can connect USB drives to your Windows 11. So, let’s see how you can enable or disable USB ports in Windows 11:

Method 1. Use the Registry Editor

If you are a pro-Windows user, go to the Registry Editor to enable or disable USB ports in Windows 11. Here the key point is a pro user. If you haven’t ever tweaked registry settings, don’t follow this method, as you might end up corrupting your entire system.

Even if you are comfortable with the registry settings, ensure that you create the registry data backup. It is a precautionary step in case you lose any data during the process.

Follow these steps to disable the USB ports using the Registry Editor:

Step 1. Press the Windows + R keys on your keyboard to open the Run command box.

Step 2. Type regedit in the Run command window and hit Enter to open the Registry Editor window.

Step 3. Follow this path in the Registry Editor address bar and press the Enter button. 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR

Step 4. After that, go to the right side of the window and double-click on the DWORD Value — Start.

Step 5. Go to the Edit DWORD (32-bit) Value dialogue box and change the Value Data field to 4.

Registry Editor

Step 6. Press OK to save the changes. Close the Registry Editor window and restart your computer to check if the USB port access is disabled.

Now, to enable the USB port using the Registry Editor, go to:

Step 1. Open the Run dialogue box and search for regedit.

Step 2. After that, enter this path again in the Registry Editor.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR

Step 3. Now, go to the Edit DWORD (32-bit) Value dialogue box and change the Value Data field from 4 to 3.

Method 2. Use the Group Policy Editor

Not everyone has access to the Local Group Policy Editor on Windows systems. However, if you are fortunate enough to have access to the same, you can make a group editor enable or disable USB ports on your Windows 11 computer. To do so, follow these steps:

Step 1. Go to Start, right-click on it and launch the Run command box.

Step 2. Type gpedit. msc and hit OK to launch the Local Group Policy Editor.

Step 3. On the new window, double-click to expand the Administrative Templates option from the left pane.

Step 4. After that, double-click to expand the System option.

Step 5. Next, go to the right side of the pane, scroll down and look for Removable Storage Access settings. And double-click on it.

Step 6. After that, scroll down and look for Removable Disks: Deny execute access. Double-click to open the settings.

Step 7. On the Removable Disks: Deny execute access window; select the radio button to enable or disable the execute access for removable disks.

Step 8. Press Apply > OK to save the changes and move back to the Removable Storage Access window.

Step 9. Follow Steps 6 and 7 for Removable Disks: Deny read access and Removable Disks: Deny write access to enable or disable both settings.

Method 3. Use Device Manager

Device Manager also enables you to disable the USB ports on your computer. Here’s how you can disable or enable your USB port using Device Manager:

Step 1. Go to the Start menu, right-click on it and choose Device Manager from the context menu.

Device Manager

Step 2. On the Device Manager window, go to the Universal Serial Bus controller section and expand it. Look for all the available USB ports, right-click on them all and select Disable.

Disable device

Step 3. Under the System devices section, also look for the USB ports and disable them all. Similarly, enable the USB ports by clicking on the Enable after right-clicking on the USB ports.

Method 4. Uninstall USB Mass Storage Drivers

If you are worried about system security, you can even uninstall the USB Mass Storage Drivers. This way, you can disable all USB ports at once. Here’s how to do it:

Step 1. Press the Windows + R keys to launch the Run command box.

Step 2. Type devmgmt.msc in the search field and hit Enter to open the Device Manager window.

Step 3. Go to the Universal Serial Bus controllers section and expand the menu.

Step 4. Look for the USB Mass Storage Device option, right-click and select Uninstall. Now, all the USB ports are disabled on your computer.

Uninstall USB Mass Storage Drivers

Now, to reinstall the USB ports, connect a USB drive to your PC, and your system will automatically start looking for drivers. Once the system doesn’t find any drivers, it will automatically prompt you to install them. Just follow on-screen instructions to finish the installation.

You can also use third-party driver installers like Driver Easy to install the accurate drivers on your system.

Method 5. Enable Specific USB Devices

From the group policy, it is possible to allow only specific USB devices to connect to your computer. Just go to Computer Configuration > Administrative Templates > System > Device Installation> Device Installation Restrictions > Allow Installation of devices that match any of these Device IDs.

To find your authorized Device IDs, follow this path — Device Manager > Properties > Details tab > Device Instance Path.

Method 6. Use Third-party Tool

You can always download a USB drive disabler or enabler on your computer to automatically enable or disable the USB ports. Many great and free USB drive managers are available, such as IntelliAdmin.

Parting Notes

The USB ports are essential to transfer data on your computer without the internet. But if security is your main concern, you can easily disable the USB ports.

Plus, it is super simple to enable the USB ports in Windows 11 anytime. So, let’s disable USB ports and enhance your device’s security now.

Oh, and don’t forget to check other posts on this website for more information on Windows 11.

Author Bio:

Leave a comment

Your email address will not be published. Required fields are marked *

Popular Post

Recent Post

How To Clean up System Files On Windows 10/11

By CleanerBestComputer / April 10, 2025

Abstract – This blog page provides you with wholesome information to system files and a comprehensive guide to how to remove them. A user’s device is like a second home to the user and cleaning it, updating it, and maintaining its health in an optimistic condition is also the responsibility of the user only. So, […]

How To Fix “We Couldn’t Find This App” Error on Windows 11/10

By CleanerBestComputer / March 17, 2025

Abstract – This blog page provides you with a wholesome guide to fix “We couldn’t find this app” error on your device. “Everyone wants their life and work to be perfect for which they put forward many efforts also and if some error occurs, it results as a day spoiler.” Here, is a comprehensive guide […]

How to fix slow login on Windows 10/11

By CleanerBestComputer / March 13, 2025

Abstract – This blog page provides you with a wholesome guide to how to deal with slow logins in your device. “The slow logins can be the biggest hindrance in a user’s day. It is like to have a long day, and if these are troubleshooted it can be the show-stopper of the day for […]

How To Clean Monitor of Your Computer At Home [ Quick Guide]

By CleanerBestComputer / March 5, 2025

Keeping your PC monitor clean is crucial. Dust, fingerprints, and smudges can accumulate over time, affecting your screen’s clarity. A clean monitor not only improves your viewing experience but also helps your device last longer. In this article, we’ll walk you through the steps to clean your monitor. You’ll find out about the supplies you […]

How to Clear Your PC’s Cache in Windows 11

By CleanerBestComputer / February 27, 2025

Clearing the cache in Windows 11 is really important. It helps your PC run faster. Cache files can take up a lot of space, and removing them frees up valuable storage. It also solves problems with apps. Sometimes, cached files cause issues, and clearing the cache can fix them. Plus, it protects your privacy. Cached […]

How To Take Screenshot On Windows 11 – Top 3 Ways

By CleanerBestComputer / February 20, 2025

Capturing screenshots is a handy function on any computer. Windows 11 provides multiple methods to take screenshots. This guide will introduce you to the top three approaches. Whether you’re preserving vital information or sharing something entertaining, knowing how to take screenshots on Windows 11 is crucial. Screenshots can capture your entire screen or just a […]

How To Clean Temp Files In Windows 11/10

By CleanerBestComputer / February 7, 2025

Is your PC becoming sluggish over time? Are you experiencing delays when opening files or programs? Are you looking to improve your computer’s performance by cleaning temp files? These temporary files, also known as temp files, can accumulate and slow down your computer’s speed. Learning how to clean temp files on your PC can make […]

10 Best Super Resolution AI Image Upscaler Online

By CleanerBestComputer / September 28, 2024

Whether you are an amateur or a professional, a low-resolution image can be a huge concern. Although you can easily upscale the image to high resolution using regular Image Upscalers, most often, the result is much less than desired. It is more so when you intend to print the image and the image appears blurry […]

How to Know If Your Laptop Camera Is Spying on You

By CleanerBestComputer / September 21, 2024

A laptop’s camera is vulnerable to being hacked. Here, you will get to know about the ways to know if your laptop camera is spying on you and the precautions to take to avoid this problem.

Here’s How You Can Check RAM of Your Windows 11 & Windows 10 Laptop

By CleanerBestComputer / September 12, 2024

Want to check the RAM of your Windows 11/10 laptop? Follow this step-by-step tutorial to determine your laptop’s RAM specifications & performance.