How to Disable USB Ports

Method 1 of 2:

Using Device Manager

  1. How to Disable USB Ports Picture 1
    Open Start
    How to Disable USB Ports Picture 2
    . Click the Windows logo in the bottom-left corner of the screen.
    1. You can also just right-click Start if you want to select Device Manager from the advanced menu.
  2. How to Disable USB Ports Picture 3
    Open Device Manager. Type device manager into Start, then click Device Manager at the top of the Start results.
    1. If you right-clicked Start, click Device Manager in the menu that appears.
  3. How to Disable USB Ports Picture 4
    Scroll down to the "Universal Serial Bus controllers" heading. You'll find this in the "U" section near the bottom of the Device Manager window.
  4. How to Disable USB Ports Picture 5
    Expand the "Universal Serial Bus controllers" heading. Double-click the heading to do so. You should see several indented options appear below the "Universal Serial Bus controllers" heading.
    1. Skip this step if this heading is already expanded.
  5. How to Disable USB Ports Picture 6
    Select the "Root Hub" or otherwise built-in USB option. The name of this option may vary depending on your computer, but it will usually have "USB 3.0" written next to it.
  6. How to Disable USB Ports Picture 7
    Click Action. It's a tab at the top of the Device Manager window. A drop-down menu will appear.
  7. How to Disable USB Ports Picture 8
    Click Disable Device. This option is in the drop-down menu. Doing so disables the built-in USB adapter.
  8. How to Disable USB Ports Picture 9
    Disable any remaining USB options under the heading. While disabling the built-in USB adapter will remove most of the other USB items from below the "Universal Serial Bus controllers" heading, there may be one or more remaining USB options. Disable these by clicking an option, clicking Action, clicking Disable Device, and repeating until each USB option is disabled.
  9. How to Disable USB Ports Picture 10
    Close Device Manager. Your computer's USB ports should no longer work.
    1. If you need to re-enable the USB ports, go back to Device Manager, select a USB option, click Action, click Enable Device, and repeat until your USB options have been restored.
Method 2 of 2:

Using the Registry

  1. How to Disable USB Ports Picture 11
    Open Notepad. You'll use the built-in Notepad app to create the Registry script that disables USB ports. To open Notepad, do the following:
    1. Click Start
      How to Disable USB Ports Picture 12
      .
    2. Type in notepad.
    3. Click Notepad in the search results.
  2. How to Disable USB Ports Picture 13
    Add the "disable" script to Notepad. Paste the following script into Notepad:[1]
    Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOR] "Start"=dword:00000004 [HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOREnum] "Count"=dword:00000000 "NextInstance"=dword:00000000 
  3. How to Disable USB Ports Picture 14
    Click File. It's in the top-left corner of the Notepad window. A drop-down menu will appear.
  4. How to Disable USB Ports Picture 15
    Click Save As…. This is in the drop-down menu. Clicking it prompts a Save As window to open.
  5. How to Disable USB Ports Picture 16
    Enter a file name followed by the ".reg" extension. In the "File name" text field, type in whatever name you want to use for your file, then type .reg at the end of the name to indicate that the file should be opened with the Registry Editor.
    1. For example, to name your file "USB-off", you would type USB-off.reg into the "File name" text field.
  6. How to Disable USB Ports Picture 17
    Click the "Save as type" drop-down box. It's near the bottom of the window. A drop-down menu will appear.
  7. How to Disable USB Ports Picture 18
    Click All Files. This is in the drop-down menu.
  8. How to Disable USB Ports Picture 19
    Select the Desktop folder. You'll find this in the left-hand pane of the Save As window.
    1. You may have to scroll up or down in the left-hand pane of the Save As window to find the Desktop folder.
  9. How to Disable USB Ports Picture 20
    Click Save. It's in the bottom-right corner of the Save As window. Doing so saves your file on the Desktop.
  10. How to Disable USB Ports Picture 21
    Prompt your file to run. Double-click the file to begin running it.
    1. If you have a USB flash drive (or another USB item you want to disallow) plugged into your computer, unplug it before continuing.
  11. How to Disable USB Ports Picture 22
    Confirm the command. Click Yes when prompted twice, then click OK when alerted that the command executed successfully. At this point, your computer's USB ports should be disabled.
  12. How to Disable USB Ports Picture 23
    Change the file's script to enable USB ports. If you want to re-enable USB ports, right-click the Notepad document and click Edit, then replace the third line with the following and press Ctrl+S:
    "Start"=dword:00000003 
3.7 ★ | 6 Vote

May be interested

  • The new MacBook supports video and audio output portsThe new MacBook supports video and audio output ports
    the latest support material posted on apple's official website today outlines the diagrams and features of the connectivity ports of the new macbook version.
  • Computer buttons and portsComputer buttons and ports
    each computer has a number of buttons and ports that can be found on most desktop computers
  • 6 Common Connection Ports on Laptops and Computers6 Common Connection Ports on Laptops and Computers
    you feel confused and do not understand all the connection ports on the computer. hoang ha pc will introduce you to 6 popular connection ports on laptops and computers!
  • How to protect high-risk network ports?How to protect high-risk network ports?
    data packets transmitted to and from numbered network ports are associated with specific ip addresses and endpoints, using either tcp or udp protocols. all network ports are at risk of attack, the following article will provide specific information about network port risks.
  • What do you know about ports on laptops?What do you know about ports on laptops?
    do you know the name and function of the ports and slots that appear on your laptop?
  • How to Open a GateHow to Open a Gate
    in this article, tipsmake will guide you through opening firewall ports on a router or firewall on a windows computer. by default, key ports in the firewall are closed to prevent intrusion; opening ports can help you solve connection problems between the device and the router, between the program and the device, but it also increases the risk of network and computer attacks.
  • How to diagnose and troubleshoot broken USB portsHow to diagnose and troubleshoot broken USB ports
    have you connected a usb device or other device to your computer but haven't seen anything working? it is likely that usb ports have problems.
  • How to Disable Chatbot AI FirefoxHow to Disable Chatbot AI Firefox
    firefox has introduced ai chatbot support directly into the browser. if you are annoyed by the firefox ai chatbot, follow this article to disable it.
  • Learn to use lesson 3 computer - Basic buttons and ports on the computerLearn to use lesson 3 computer - Basic buttons and ports on the computer
    when we begin to get familiar with the parts of a pc system hardware, we will notice that on the front and back of the computer section there are often many different types of buttons, ports and slots.
  • Note when choosing to buy a laptopNote when choosing to buy a laptop
    when preparing to shop for a laptop, you should consider the most basic components of the device, such as the processor, memory, battery, screen size and communication ports. however, the most important thing is that you must