Computer systems form an integral part of our life, but ensuring the safety of the data stored in it can be a highly challenging task. PC threats can either come from the internet spectrum or can find its way through various other sources.

USB and flash drives are a common source of PC threats and can be used to steal your files and damage your computer system. You can disable the USB ports to keep your system safe. 

Disabling the USB ports in Windows prevents and blocks all unauthorized access of your system and enhances the security level of your device. 

Finding it difficult to make the necessary alterations, well don’t worry we have got you covered. Refer to our blog and find simple yet effective ways to enable and disable the USB ports in Windows.

5 Best Methods to Enable or Disable the USB Ports in Windows:

  1. Lock the USB ports via registry entries.
  2. Disable USB ports in the BIOS setting of your computer.
  3. Disable the USB ports using the Device Manager.
  4. Uninstall and Reinstall the USB Mass Storage Drivers on your Device.
  5. Disconnect the USB

Method 1 : Lock the USB Ports via Registry Entries

  • To start with, open the Run box by pressing the Windows + R key simultaneously on your keyboard.
  • In the Run box type “regedit” and then press enter or hit the OK button.
  • Now, from the left side bar, navigate to the this key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR
Image Source: Compspice
  • Now access the right side bar and open the Start option by double clicking on it.
  • In the Start box set the Value data to 4 to disable the USB port in Windows . Setting its value to 3 will enable it again.

Read More: How To Fix USB Port Not Working

Method 2: Disable USB Ports in the BIOS Setting of Your Computer

This method can be used to disable the USB ports on all Windows versions. It offers a convenient way to disable the USB flash driver, mouse and keyboard of your device. Stay attentive while you decide to use this method.

  • Start/Restart your computer in the BIOS mode. Depending on the computer you can use these keys to enter the BIOS MODE  F1, F2, F10, Esc, Delete, and key combinations like  Ctrl + Alt + Delete or Ctrl + Alt + Esc.
  • Locate the Integrated Peripherals tab by using the Orientation key.
Image Source: Isunshare
  • From the displayed list find the USB controller option and change its status to disable mode.
  • Same steps can be repeated if you want to enable it in future.

Method 3. Disable the USB Ports Using the Device Manager

If the above methods have not been of great help to you, use the Device manager to disable the USB port on your Windows device.

  • Open the Start Menu
  • Type “devmgmt.msc” to open the Device Manager window.
  • Now select the Universal Serial Bus Controller option.
  • A new window with the list of all USB ports will appear on your screen.
  • Right click on it to enable or disable its functioning.

Read More: How to Install Windows 10 from USB

Method 4. Uninstall and Reinstall the USB Mass Storage Drivers on Your Device

  • Open the Start Menu
  • Type “devmgmt.msc” to open the Device Manager window.
  • Now select the Universal Serial Bus Controller option.
  • A new window with the list of all USB ports will appear on your screen.
  • Right click on the USB port, from the drop down list click on the Uninstall button to uninstall and disable the USB port.

Method 5: Disconnect the USB Drive

If none of the above mentioned methods have worked in your favor then try disconnecting it from the motherboard. However removing all the USB ports is quite impossible; you can choose the one which can be easily removed by plugging out the cable. 

So, these are few simple methods and ways in which you can enable/disable the USB port on your Windows device and protect its data from unauthorized access. 

Prachi Dani

Prachi Dani is a technical content writer who specializes in areas of science and technology. She is highly up to date with technological transitions and transformations. Writing is not her passion but the only thing that carries satisfaction in life. If not writing, you may find her engrossed playing action games on her treasured smartphone.

Recent Posts

  • How To

Best Ways to Fix Facebook Session Expired Loop Error

A message popped up on your Facebook while using, that ‘Facebook app session expired, and…

2 days ago
  • Tips & Tricks

React vs Vue Detailed Comparison in 2026

The React vs Vue comparison is nothing but an intrinsic analysis of the frameworks for developers to select the…

7 days ago
  • Top 10

Top Image Resizing software for Windows PC

Resizing images has now become a necessity. While filling up some forms, or uploading images on social media, from social…

1 week ago
  • How To

How To Download and Install Windows Fax and Scan in Windows 11

Windows Fax and Scan is a combined software which allows you to send or receive…

2 weeks ago
  • How To

How To Run Control Panel as Administrator in Windows 10/11

The window panel is the core of the computer that allows users to control hardware…

2 weeks ago
  • How To

What Is Monitor Ghosting and How Do I Fix It?

Your PC is not haunted. There is no ghost walking on your computer, leaving behind…

3 weeks ago