How To Enable Or Disable USB Ports In Windows 10

Introduction

 
A key feature in the Windows family is to enable or disable the USB Ports. We can also use this feature in Windows 10 to enable or disable the USB Ports.
 
Often we have to share our laptop or PC with another person. The person who has a pen drive with viruses and infected files can inject these malicious files into the system to damage the device and also someone who has bad intentions can steal our important documents through pen drive. We can never be too careful to keep our data secure. Disabling the USB Ports is a very good solution to protect our device from viruses and other vulnerabilities.
 
And when we need to use the USB Devices through USB Ports we can enable these ports by using different methods like device manager, registry editor, and any other third-party applications.
 
This tutorial will show you various methods on, how to Enable or Disable USB Ports in Windows 10.
 

Method 1 - Using Registry Editor

 
Using the Registry Editor, you can easily enable or disable the USB Ports.
 
Step 1
 
From the Start menu, open the Run dialog box or you can Press the "Window + R" key to open the RUN window.
 
Step 2
 
Type "regedit.exe" and press enter to open Registry Editor.
 
Run Command
 
Step 3
 
Registry Editor Window will be opened and Navigate the following path:
 
HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > USBSTOR
 
Registry editor
 
Step 4
 
Click on the start option to open the "Edit DWORD (32-bit) Value" Window.
 
click on Start
 
A) To disable the USB Ports or Drives, change the 'value data' to '4' and then click OK.
 
disable port
 
B) To enable the USB Drives or Ports, change its value to 3 and then click OK.
 
enable ports
 
Step 5
 
Restart Your Laptop or PC to see the effects.
 

Method 2 - Via Device Manager

 
You can also easily enable or disable the USB Ports through Device Manager.
 
Step 1
 
You can click Start and type Device Manager. Then click Device Manager to open Windows Device Manager or press the "Windows + X" key, and click Device Manager to open it.
 
Step 2
 
Click on Universal Serial Bus Controllers and you will see various device options in it.
 
Device Manager
 
Step 3
 
A) Right-click on USB 3.0 (or any mentioned device in your PC) and click on Disable device, to disable the USB Ports in your device.
 
disable port
 
B) Right-click on USB 3.0 (or any mentioned device in your PC) and click on Enable device, to enable the USB Ports in your device.
 
enable device
 

Conclusion

 
By following any of the above methods, you can enable or disable the USB Ports in Windows 10.
 
I hope you enjoyed this article. Follow C# Corner to learn more new and amazing things about Windows 10.
 
Thanks for reading this article.