How to Disable USB Port BIOS in Windows Boot

Abstract: Disables USB ports at the BIOS level to prevent hardware initialization before Windows loads.

Created: 2026-10-03 by

To disable USB ports at the BIOS level during Windows boot, restart your computer and press the manufacturer-specific key (commonly F2, F10, Del, or Esc) to enter the firmware setup. Navigate to the integrated peripherals or security menu, locate the USB controller settings, and set them to Disabled. Save changes and exit to prevent the system from initializing USB hardware before the operating system loads.

Accessing the BIOS Setup Utility

The most reliable method to disable USB ports is through the motherboard's Basic Input/Output System (BIOS) or Unified Extensible Firmware Interface (UEFI). This approach operates independently of the Windows operating system, ensuring that USB devices are not recognized even if Windows fails to load or is compromised by malware attempting to use removable storage. The process requires physical access to the machine and a reboot, which interrupts the normal startup sequence.

When you power on or restart the computer, watch for the manufacturer's logo or initial splash screen. You must press the designated key repeatedly as soon as the screen lights up. Common keys include:

  • F2: Frequently used by Dell, Acer, ASUS, and Lenovo laptops.
  • F10: Common for HP and some Compaq systems.
  • Delete: Standard for many custom desktop motherboards, including MSI and Gigabyte.
  • Esc: Often opens a boot menu on modern UEFI systems where you can select "Setup" or "BIOS Settings".
  • F1: Typical for IBM, Lenovo ThinkPads, and some older Toshiba models.

If you miss the window to enter the BIOS, Windows 10 and 11 offer an alternative path through the advanced startup options. Hold down the Shift key while clicking Restart in the Start menu. This leads to the blue recovery environment where you can navigate to Troubleshoot > Advanced options > UEFI Firmware Settings. This method forces a reboot directly into the BIOS without relying on rapid keystrokes during boot.

Navigating USB Controller Settings

Once inside the BIOS interface, you will likely be presented with a graphical or text-based menu. Use the arrow keys to move between tabs. The exact location of USB settings varies significantly by manufacturer, but they are generally found under one of the following headings:

  • Integrated Peripherals
  • Advanced
  • Security
  • Chipset

Look for entries labeled USB Controller, USB Ports, Legacy USB Support, or XHCI Hand-off. To completely disable USB functionality at the hardware level, change the value from Enabled to Disabled. Some systems allow granular control, letting you disable only specific ports or legacy support while keeping XHCI active. For maximum security during troubleshooting, disabling the entire controller is the safest option.

Be cautious when modifying these settings. Disabling USB ports may render your keyboard and mouse non-functional if they are connected via USB and the system does not have PS/2 alternatives. If you lose input control, you may need to open the case and connect a PS/2 keyboard or reset the CMOS jumper to restore defaults. For users dealing with complex hardware conflicts, such as external enclosures not appearing in File Explorer, understanding the underlying hardware enumeration is crucial, as detailed in our guide on Windows 10 HPE EliteBook 650G9.

Saving Changes and Verifying the Disablement

After changing the USB settings, you must save the configuration to the non-volatile memory on the motherboard. Look for the Save & Exit option, typically accessed by pressing F10. Confirm the action when prompted. The system will now reboot with USB ports disabled.

Upon returning to Windows, verify that the ports are inactive. Plug in a known-working USB device, such as a mouse or flash drive. If the BIOS setting was applied correctly, the device should not receive power, and Windows will not display the notification sound or icon indicating new hardware detection. This state persists until you re-enter the BIOS and re-enable the controllers.

This method is particularly useful when diagnosing boot failures caused by USB devices interfering with the boot order. If your system is experiencing instability or crashes, checking for hardware errors is essential. For instance, if you suspect a driver conflict is causing system-wide issues, reviewing logs for WHEA_UNCORRECTABLE_ERROR can provide insights into CPU or memory faults unrelated to USB, as discussed in our article on Troubleshooting WHEA_UNCORRECTABLE_ERROR.

Alternative Software-Level Restrictions

If accessing the BIOS is not feasible due to password protection or hardware limitations, you can restrict USB usage within Windows using Group Policy. This method affects only the operating system and allows the hardware to remain powered, though it prevents data transfer. Open the Local Group Policy Editor (gpedit.msc) and navigate to Computer Configuration > Administrative Templates > System > Removable Storage Access. Enable the policy All Removable Storage classes: Deny all access. This effectively blocks read and write operations for all USB mass storage devices.

Note that this software restriction can be bypassed by knowledgeable users who modify registry keys or use third-party tools. It is not a substitute for BIOS-level disabling if you need to prevent physical hardware initialization. For scenarios involving boot failures after hardware swaps, such as replacing a hard drive with an SSD, ensuring the correct boot priority is often more critical than USB restrictions, as covered in Windows 10 not booting after replacing hard drive with SSD for older laptops.

Risks and Considerations

Disabling USB ports at the BIOS level has significant implications for usability. Wireless mice and keyboards that rely on USB dongles will stop working immediately. If you do not have a wired PS/2 keyboard available, you may lock yourself out of the system if you make other incorrect BIOS changes. Always ensure you have an alternative input method before proceeding.

Furthermore, some modern laptops use internal USB hubs for components like webcams, fingerprint readers, and trackpads. Disabling the main USB controller might inadvertently disable these internal components, rendering the laptop difficult to use. In such cases, look for specific settings to disable only external ports, leaving internal USB bridges enabled. If your system exhibits frequent bluescreens, these could be related to hardware enumeration errors rather than USB interference, so consider checking event viewer logs for patterns similar to those found in 6-Year-Old Laptop: Frequent Bluescreen Death.

Frequently Asked Questions

Will disabling USB ports in BIOS affect my Wi-Fi connection?

No, disabling USB ports does not affect Wi-Fi connectivity. Most Wi-Fi adapters use PCIe or M.2 slots internally, or connect via dedicated wireless antennas. Even USB Wi-Fi dongles are disconnected, but this does not impact built-in network cards. Your internet connection will remain stable unless the adapter itself was USB-based and you rely on it for connectivity.

How do I re-enable USB ports after disabling them?

To re-enable USB ports, restart your computer and enter the BIOS setup again using the same key combination. Navigate back to the Integrated Peripherals or Advanced section, find the USB Controller setting, and change it from Disabled to Enabled. Save the changes and exit. The system will reboot with full USB functionality restored.

Can malware bypass BIOS-level USB disabling?

No, malware cannot bypass BIOS-level disabling because the hardware controller is physically turned off before the operating system loads. Since the USB ports do not receive power or initialize the bus, no code can execute through them. This makes BIOS disabling the most secure method for preventing unauthorized data exfiltration via USB drives.

Why are my USB ports still active after changing BIOS settings?

If USB ports remain active, you may have modified the wrong setting. Ensure you disabled the main USB Controller or EHCI/XHCI Hand-off, not just Legacy USB Support. Additionally, some motherboards require you to clear the CMOS or update the BIOS version to apply certain hardware restrictions. Check your motherboard manual for specific instructions on your model.

Does disabling USB ports fix sleep mode issues?

Disabling USB ports generally does not fix sleep mode issues directly. Sleep problems are often caused by drivers failing to suspend properly, such as Realtek card readers or network adapters. While disabling USB can prevent wake events triggered by peripheral movement, it is not a solution for the root cause of sleep failures. Investigate device manager warnings for Code 10 errors, as seen in guides regarding Waking Windows 10 Laptops: Realtek PCIE Card Reader Doesn't Work After Sleep.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More