Reading Time: 3 minutes
USB ports are popular as they give you the freedom to connect to various devices easily. But at times this can turn out to be harmful especially when using infected USB storage devices. This might pose a threat to your network being infected with viruses and other malware. In this article, we will cover how to disable the USB ports? We will explain various ways you can achieve the task to disable the USB ports. This is important as it prevents unauthorized access to sensitive data as well.
There are a number of ways you can disable the USB port from your computer like
- Disable USB ports via BIOS
- Disable USB ports using Windows registry editor
- Disable USB port by disconnecting
Disable USB ports via BIOS
This perhaps the basic and easiest way to disable the USB ports. You can enter BIOS or the CMOS setup by pressing F1, F2, F10, Del or Esc key when you start your computer. Any one of the above keys will take you inside the BIOS or CMOS setup, it varies from one brand to another.
In the case of Apple or Mac, you need to utilize the EFI as it does not require any modifications like a BIOS. The EFI allows you to integrate between the hardware and software for an Apple computer and you do not require a BIOS.
Once you enter the BIOS follow the steps to disable the USB ports.
- Goto the Menu option to enable or disable the onboard USB ports.
- Confirm all USB options and Legacy USB support options are disabled or off.
- Save configuration and restart the system or press F10 to save configuration and exit.
- After the computer reboots check the USB ports to confirm they have been disabled.
Disable USB ports using Windows registry editor
You can also disable the USB ports via your Windows registry settings. To achieve this follow the steps as mentioned below. This works well with all computers running Windows XP and later versions of Windows.
- Click on Start.
- Click on Run or type RUN in the search box.
- Type “regedit” without quotes to launch the Registry Editor.
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usbstor.
- In the work area, double click on Start.
- In the Value Data box, enter 4.
- Click OK.
- Close Registry Editor and refresh your desktop.
- To re-enable access to your USB ports, enter 3 in the Value Data box in Step 6.
The following process can help protect your PC from data theft and malware that generally spreads via USB ports. This works well on Windows XP, Windows 7, Windows 8, Windows 8.1, and Windows 10.
Please Note: In case you are using a USB Keyboard and Mouse do not run the above-mentioned process as will disable all your USB-connected peripheral devices.
Disable USB ports by disconnecting
It might not always be possible for you to physically disconnecting the USB connection from the motherboard. Yet if you are willing to try then disconnect all the cables from the USB header from the top and back of your computer. This will prevent users from easily being able to access the USB connection present on your computer.