How to lock USB ports on Windows 7/8/10

Locking USB ports on your Windows computer will help protect your data more securely, preventing others from borrowing your computer and potentially spreading viruses when they plug in USB drives or any other external storage devices. Below are some ways to disable USB ports on your computer or laptop.

USB ports are a common way for viruses to infect computers today. However, if you rarely use USB ports or don't want others to use them on your computer, you can lock the USB ports.

How to disable USB ports on a Windows computer

Lock USB ports on Windows computers by:
1. Disabling Autorun
2. Through BIOS
3. Through Registry
4. Through Device Manager
5. Using software

Instructions on how to lock USB ports on Windows

1. Lock USB ports on Windows by disabling Autorun.

Step 1: Press the Windows + R key combinationto open the Run command window, then type Gpedit.msc into it.

Step 2: Select Computer Configuration (1) => Administrative Templates (2) => Windows Components (3)

(If using Windows XP, select Computer Configuration => Administrative Templates => System)

Next, select Autoplay Policies (4) -> In the Details panel , double-click on Turn off Autoplay (5) .

Step 3: Click Enabled , then in the Turn off Autoplays dialog box, click All drivers to disable Autorun on all drives.

2. Lock USB ports on your computer via BIOS.

Refer to the instructions on how to access BIOS here -> access Advanced Settings or Onboard Devices (the order may vary depending on the motherboard).

In USB Configuration , change Enable to Disable , then press F10 to save the changes and restart the system.

3. Lock USB ports via Registry

The steps are similar on both Windows 7 and Windows 8 computers :

Step 1 : Press the Windows + R keys on your keyboard to open the Run dialog box . In the Run dialog box, type Regedit and press Enter.

Step 2 : In the Registry Editor window, navigate to the following path.

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesUSBSTOR

Then, in the right-hand column, find the Start section.

Step 3 : Double-click on the Start menu . A dialog box will appear; enter the value 4 in the Value data field and click OK.

Close the window, and from now on, when you plug a USB drive into your computer, the computer will no longer recognize your USB drive.

4. Lock USB ports via Device Manager

Step 1: Type "device manager" into the Search box on the Start Menu, then select Device manager .

Step 2: Select Universal Serial Bus Controllers (USB).

Step 3: Select the USB port you want to disable -> USB Root -> select the Driver tab -> select Disable.

5. Lock USB ports using software.

You can download the USB Disabler Pro software here.


With these simple steps, you can lock the USB ports on your Windows 7/8 computer. Additionally, if you encounter any errors while using a USB drive, you can refer to other troubleshooting tips.

You've just finished reading the article "How to lock USB ports on Windows 7/8/10" edited by the TipsMake team. We hope this article has provided you with many useful tech tips and tricks. You can search for similar articles on tips and guides. Thank you for reading and for following us regularly.

Related posts
Other USB - Flash Drive articles
Category

System

Windows XP

Windows Server 2012

Windows 8

Windows 7

Windows 10

Wifi tips

Virus Removal - Spyware

Speed ​​up the computer

Server

Security solution

Mail Server

LAN - WAN

Ghost - Install Win

Fix computer error

Configure Router Switch

Computer wallpaper

Computer security

Mac OS X

Mac OS System software

Mac OS Security

Mac OS Office application

Mac OS Email Management

Mac OS Data - File

Mac hardware

Hardware

USB - Flash Drive

Speaker headset

Printer

PC hardware

Network equipment

Laptop hardware

Computer components

Advice Computer

Game

PC game

Online game

Mobile Game

Pokemon GO

information

Technology story

Technology comments

Quiz technology

New technology

British talent technology

Attack the network

Artificial intelligence

Technology

Smart watches

Raspberry Pi

Linux

Camera

Basic knowledge

Banking services

SEO tips

Science

Strange story

Space Science

Scientific invention

Science Story

Science photo

Science and technology

Medicine

Health Care

Fun science

Environment

Discover science

Discover nature

Archeology

Life

Travel Experience

Tips

Raise up child

Make up

Life skills

Home Care

Entertainment

DIY Handmade

Cuisine

Christmas

Application

Web Email

Website - Blog

Web browser

Support Download - Upload

Software conversion

Social Network

Simulator software

Online payment

Office information

Music Software

Map and Positioning

Installation - Uninstall

Graphic design

Free - Discount

Email reader

Edit video

Edit photo

Compress and Decompress

Chat, Text, Call

Archive - Share

Electric

Water heater

Washing machine

Television

Machine tool

Fridge

Fans

Air conditioning

Program

Unix and Linux

SQL Server

SQL

Python

Programming C

PHP

NodeJS

MongoDB

jQuery

JavaScript

HTTP

HTML

Git

Database

Data structure and algorithm

CSS and CSS3

C ++

C #

AngularJS

Mobile

Wallpapers and Ringtones

Tricks application

Take and process photos

Storage - Sync

Security and Virus Removal

Personalized

Online Social Network

Map

Manage and edit Video

Data

Chat - Call - Text

Browser and Add-on

Basic setup