• About Us
  • Announce
  • Privacy Policy
  • Contact us
MasterTrend News
  • HOME
    • BLOG
  • Tutorials
  • Hardware
  • Gaming
  • Mobile
  • Security
  • Windows
  • IA
  • Software
  • Networks
  • What's new
  • en_USEnglish
    • es_ESSpanish
    • pt_BRPortuguese
    • fr_FRFrench
    • it_ITItalian
    • de_DEGerman
    • ko_KRKorean
    • jaJapanese
    • zh_CNChinese
    • ru_RURussian
    • thThai
    • pl_PLPolish
    • tr_TRTurkish
    • id_IDIndonesian
    • hi_INHindi
    • arArabic
    • sv_SESwedish
    • nl_NLDutch
No result
See all results
  • HOME
    • BLOG
  • Tutorials
  • Hardware
  • Gaming
  • Mobile
  • Security
  • Windows
  • IA
  • Software
  • Networks
  • What's new
  • en_USEnglish
    • es_ESSpanish
    • pt_BRPortuguese
    • fr_FRFrench
    • it_ITItalian
    • de_DEGerman
    • ko_KRKorean
    • jaJapanese
    • zh_CNChinese
    • ru_RURussian
    • thThai
    • pl_PLPolish
    • tr_TRTurkish
    • id_IDIndonesian
    • hi_INHindi
    • arArabic
    • sv_SESwedish
    • nl_NLDutch
No result
See all results
MasterTrend News
No result
See all results
Start Security

How to Block USB Devices in Windows 11: Prevent Leaks Today! 🔒✨

MasterTrend Insights by MasterTrend Insights
June 5, 2025
in Security
Reading time:7 min read
To To
0
How to Block USB Devices in Windows 11: 5 Easy Steps
81
SHARED
226
Views
Share on FacebookShare on Twitter

Contents

  1. How to Block USB Devices in Windows 11: 5 Easy Steps 🚫💻 
  2. Why block USB devices?
  3. Block all USB devices using Device Manager
  4. Block USB storage devices from PowerShell
  5. Block USB storage devices using the Local Group Policy Editor
  6. Block USB storage devices using Registry Editor
  7. If you can't disable the USB ports using other methods, use the BIOS
    1. Related Posts

How to Block USB Devices in Windows 11: 5 Easy Steps 🚫💻 

If you don't want to use USB devices or USB storage devices, you can block the USB ports on your computer. In Windows 11, you can do this using a graphical method or via the command line. 🚫💻

Why block USB devices?

There are many reasons to block USB devices in Windows 11. It is possible (and quite common) that it is delivered malware via a USB device. In addition, blocking USB devices also helps prevent data transfers (such as someone trying to copy files to or from your machine). A good example of a specialized USB tool designed to steal data is the USB Rubber Ducky. 💼🔒

If you do not use devices USB ports with your machine, it makes sense to keep the ports disabled, as this prevents other users from also being able to use these ports on your computer. You can unlock any USB port you want on your computer. 🔑

Block all USB devices using Device Manager

If you want to disable all USB ports so that no USB devices work on your system, use the tool Device Manager. Note that this method also disables any mouse or USB-enabled keyboard. Just keep in mind that this could be a problem if you don't have an alternative way to control your PC set up. ⚠️

To start, I opened the Windows Search (pressing Windows+S), I typed Device Manager and opened the utility. Expand the “Universal Bus Controllers” section, right-click on a USB port from the list and choose “Deactivate device.” Select “Yes” on the prompt. ✅

If you do not find the “Disable device” option for a USB port, you will need to disable that port using the BIOS, as explained below in this guide. 🔧

"Disable device" highlighted for a USB port in Device Manager.

Repeat the previous step until you have disabled all the ports on the list.

From now on, when you connect a device to any USB port on your machine, your system will not connect to that device. In the future, you can re-enable your USB ports by opening Device Manager, expanding "Universal Bus Controllers," and clicking right on each port in the list and choosing “Enable Device.

Block USB storage devices from PowerShell

If you prefer command line methods, you can use a cmdlet in PowerShell to block all USB storage devices on your PC. Please note that other devices such as keyboards and mice will continue to work. 🔒🖱️

To get started, open Windows Search (by pressing Windows+S), type PowerShell, and select “Run as administrator.” Choose “Yes” at the Control prompt. of user accounts.

In the PowerShell window, type the following cmdlet and press Enter. This cmdlet changes a value in the registry Windows to prevent USB storage devices from working with your machine.

Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\USBSTOR" -Name "Start" -Value 4
The cmdlet to disable USB storage devices written in PowerShell.

After running the cmdlet, Restart your Windows 11 PC for the changes to take effect take effect. 🔄

In the future, you can re-enable USB storage devices on your PC by running the following command in PowerShell.

Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\USBSTOR" -Name "Start" -Value 3

Don't forget to restart your computer after running the command. 🔙

Block USB storage devices using the Local Group Policy Editor

If you are using the Pro edition of Windows 11You can use the Local Group Policy Editor to block USB storage devices. Note that this tool isn't available in the Home edition of Windows 11. 🛠️

To use it, open the Run dialog box by pressing Windows+R. Type the following in the box and select “OK” or press Enter:

gpedit.msc

In the Local Group Policy Editor window, using the options on the left, navigate to the following path. In the right pane, double-click the item that says “All removable storage classes: Deny all access.”

Computer Configuration > Administrative Templates > System > Removable Storage Access
"All removable storage classes: Deny all access" highlighted in Local Group Policy Editor.

In the opened window, at the top, select the “Enabled” option. Then, at the bottom, choose “Apply” and then “OK”. 🎉

"Enabled," "Apply," and "OK" highlighted for an entry in the Local Group Policy Editor.

Close the Local Group Policy Editor and restart your PC. 🔁

In the future, to unblock USB storage devices, double-click the “All removable storage classes: Deny all access” entry, select “Not configured,” then “Apply” followed by “OK.” Make sure to restart your computer afterwards. 🔄

Block USB storage devices using Registry Editor

You can adjust a value in the Windows registry to disable and enable USB storage devices. This method works on both Pro and Home editions of Windows 11. ⚙️🖥️

Do Accidental changes to the Windows registry can cause your system to become unstable. Therefore, makes a backup from the record before making any changes and followed the instructions carefully. ⚠️

To get started, launch Run by pressing Windows+R. Type the following into the box and select “OK” or press Enter:

regedit

Select “Yes” on the User Account Control prompt.

In the Registry Editor, navigate to the following path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR

In the right pane, double-click on the item that says “Startup.” In the opened window, click on the “Value data” field and type 4. Then select “OK”. The value 4 tells you to Windows not recognizing any USB storage devices. 🛑

"Value data" and "OK" highlighted for "Startup" in Registry Editor.

Close the Registry Editor and restart your PC for the changes to take effect. 🔄💻

To revert your change and unlock the devices USB storage in the future, navigate to the above-mentioned path in the Registry Editor, double-click the "Start" entry, type 3 In the “Value data” field, select “OK,” and restart your PC. 🔄

If you can't disable the USB ports using other methods, use the BIOS

If you don't see the option to disable USB ports in Device Manager, use the menu BIOS setup on your PC to disable those ports. To do this, open Settings, select System > Recovery, click “Restart now” next to Advanced Start, and I chose “Restart Now” from the prompt. 🔄

On the Choose an option page, select Troubleshoot > Advanced options > Troubleshooting settings. UEFI firmware and click “Reboot.” Each BIOS menu is different, but you will find an option labeled USB or something similar. In my Asus laptop, I will go to the “Advanced” tab, choose “USB Settings” and then disable the ports. ⚙️

"USB Configuration" highlighted in BIOS.

When you want to use the ports again, you will have to enable them from the BIOS (since you disabled them from the BIOS). 🔄


And this is how you can prevent USB devices from interacting with your Windows 11 computer. If you are worried. 📸🔒

Share this:
9FacebookLinkedInPinterestXRedditTumblrBlueskyThreadsShareChatGPTClaudeGoogle AIGrok
9
SHARES

Related Posts

  • Search engines like Google – Internet search engine
  • Razer introduces gaming innovations: chairs that warm you up! 🔥❄️
  • WP File download search
  • Zotac confirms the GeForce RTX 5090 with 32 GB of GDDR7
  • Realtek Rtl8105e
  • Asus X541 X541s X541sa X541sc X541uv X541ua Notebook Keyboard
  • DDR5 Differences with DDR4
  • Best Diagnostic Tools for Windows 10/11
Tags: CybersecurityEvergreenContentWindows11
Previous Publication

WhatsApp Backup Stuck in Progress: Find Out the Trick That Will Help You! 🚀

next post

Hide and change your IP: 9 infallible tricks! 🔒✨

MasterTrend Insights

MasterTrend Insights

Our editorial team shares a deep-dive analysis, tutorials and recommendations for getting the most out of your devices and digital tools.

RelatedPublications

Remove Hotcleaner.com in one click and protect Chrome: woman using PC with Google Chrome logo and security warning on screen.
Security

Hotcleaner.com: Discover and remove the extension 🔥🔧

November 19, 2025
54
Virus MEMZ - Woman using a laptop showing a red virus alert screen, illustrating MEMZ virus malware infection warning and cybersecurity threat on a Windows PC.
Security

MEMZ Virus: 3 tricks to stop the damage now! ⚠️

November 2, 2025
77
Secure WhatsApp: WhatsApp logo secured with a chain and padlock, symbol of security, encryption and privacy to protect chats with two-step verification.
Security

Protect WhatsApp: 5 quick steps to avoid being spied on 🔒

October 16, 2025
70
Lock Mode on iOS - Illustration of Lock Mode on iOS: password field with asterisks and padlock, fingerprint and shield symbols, highlighting security and privacy on iPhone.
Security

Lock Mode on iOS: Activate it NOW and protect your iPhone

8 October 2025
23
Controlled Folder Access: Ransomware protection on Windows; laptop with "RANSOMWARE" warning and a green icon indicating unauthorized changes are blocked.
Security

Controlled Folder Access: Protect files NOW ⚠️

October 2, 2025
21
Alternatives to incognito mode - Woman using laptop with browser in incognito mode, looking for private browsing alternatives: VPN and secure browsers.
Security

Alternatives to incognito mode: Protect your privacy NOW!

September 7, 2025
80
next post
Hide and Change Your IP Address: 9 Infallible Tricks!

Hide and change your IP: 9 infallible tricks! 🔒✨

5 2 votes
Article Rating
Subscribe
Access
Notify of
guest
guest
0 Comments
Oldest
Newest Most voted
Online Comments
See all comments

Stay Connected

  • 976 Fans
  • 118 Followers
  • 1.4 k Followers
  • 1.8 k Subscribers

Do not miss the latest in technology and gaming.
Tips unique, practical guides and analysis every day.

Subscription Form
  • Trends
  • Comments
  • Last
How to add clock on the Windows desktop 11: ¡3 tricks infallible!

How to add clock on the Windows desktop 11: Get more in minutes! ⏱️

1 May 2025
How to save game in REPO

How to save game in REPO 🔥 Discover the secret to not losing progress

7 July 2025
12 Best Alternatives to Lucky this program for Android

Alternatives to Lucky this program: the 12 apps best and easy! 🎮⚡

13 November 2025
🖥️ How to open 'Devices and printers' in Windows 11: 4 simple steps

🌟 How to open ‘Devices and printers’ in Windows 11: ¡Amazing trick!

November 20, 2025
Features of Gmail on Android: Save time with 5 tips

Features of Gmail in Android: you 5 tricks you did not know! 📱✨

12
Repair of motherboards - Repair MotherBoards

Repair of motherboards of Laptops

10
Install Windows 11 Home without Internet

Install Windows 11 Home without Internet

10
How to backup drivers in Windows 11/10 in 4 steps!

How to backup drivers in Windows 11/10 It Prevents errors! 🚨💾

10
Restart Windows Explorer - Woman restarting Windows Explorer from Task Manager in Windows to fix system errors in seconds.

Restart Windows Explorer: A Quick Trick That Saves Your PC ⚡

November 21, 2025
ASUS ROG Strix XG27ACMS 27-inch QHD gaming monitor with 320Hz refresh rate, shown on a gamer’s desk with an RGB keyboard and mouse displaying a high-definition cyberpunk scene.

ASUS ROG XG27ACMS, the fastest QHD, reveals its power 🚀

November 21, 2025
Wraithstones Nerathul - Image from Doom The Dark Ages showing the protagonist flying on a mechanical dragon towards a dark and stormy mountain, in the area where the Wraithstones are located, a guide to the location of all the Wraithstones in Doom The Dark Ages.

Wraithstones Nerathul: Easy Secrets to Obtaining Them ⚡

November 21, 2025
How to pair AirPods with a Chromebook: Person opens the AirPods case and connects them via Bluetooth to an HP laptop.

How to pair AirPods with Chromebook: Connect them in minutes! ⏱️🔌

November 20, 2025

Recent News

Restart Windows Explorer - Woman restarting Windows Explorer from Task Manager in Windows to fix system errors in seconds.

Restart Windows Explorer: A Quick Trick That Saves Your PC ⚡

November 21, 2025
67
ASUS ROG Strix XG27ACMS 27-inch QHD gaming monitor with 320Hz refresh rate, shown on a gamer’s desk with an RGB keyboard and mouse displaying a high-definition cyberpunk scene.

ASUS ROG XG27ACMS, the fastest QHD, reveals its power 🚀

November 21, 2025
64
Wraithstones Nerathul - Image from Doom The Dark Ages showing the protagonist flying on a mechanical dragon towards a dark and stormy mountain, in the area where the Wraithstones are located, a guide to the location of all the Wraithstones in Doom The Dark Ages.

Wraithstones Nerathul: Easy Secrets to Obtaining Them ⚡

November 21, 2025
60
How to pair AirPods with a Chromebook: Person opens the AirPods case and connects them via Bluetooth to an HP laptop.

How to pair AirPods with Chromebook: Connect them in minutes! ⏱️🔌

November 20, 2025
66
MasterTrend News logo

MasterTrend Info is your source of reference in technology: discover news, tutorials, and analysis of hardware, software, gaming, mobile, and artificial intelligence. Subscribe to our newsletter and don't miss any trend.

Follow us

Browse by Category

  • Gaming
  • Hardware
  • IA
  • Mobile
  • What's new
  • Networks
  • Security
  • Software
  • Tutorials
  • Windows
Add-as-a-preferred-source-on-Google

Recent News

Restart Windows Explorer - Woman restarting Windows Explorer from Task Manager in Windows to fix system errors in seconds.

Restart Windows Explorer: A Quick Trick That Saves Your PC ⚡

November 21, 2025
ASUS ROG Strix XG27ACMS 27-inch QHD gaming monitor with 320Hz refresh rate, shown on a gamer’s desk with an RGB keyboard and mouse displaying a high-definition cyberpunk scene.

ASUS ROG XG27ACMS, the fastest QHD, reveals its power 🚀

November 21, 2025
  • About Us
  • Announce
  • Privacy Policy
  • Contact us

Copyright © 2025 https://mastertrend.info/ - All rights reserved. All trademarks are property of their respective owners.

We've detected you might be speaking a different language. Do you want to change to:
es_ES Spanish
es_ES Spanish
en_US English
pt_BR Portuguese
fr_FR French
it_IT Italian
ru_RU Russian
de_DE German
zh_CN Chinese
ko_KR Korean
ja Japanese
th Thai
hi_IN Hindi
ar Arabic
tr_TR Turkish
pl_PL Polish
id_ID Indonesian
nl_NL Dutch
sv_SE Swedish
Change Language
Close and do not switch language
No result
See all results
  • en_USEnglish
    • es_ESSpanish
    • pt_BRPortuguese
    • fr_FRFrench
    • it_ITItalian
    • de_DEGerman
    • ko_KRKorean
    • jaJapanese
    • zh_CNChinese
    • ru_RURussian
    • pl_PLPolish
    • id_IDIndonesian
    • tr_TRTurkish
    • hi_INHindi
    • thThai
    • arArabic
    • sv_SESwedish
    • nl_NLDutch
  • Gaming
  • Hardware
  • IA
  • Mobile
  • What's new
  • Networks
  • Security
  • Software
  • Tutorials
  • Windows

Copyright © 2025 https://mastertrend.info/ - All rights reserved. All trademarks are property of their respective owners.

wpDiscuz
RedditBlueskyXMastodonHacker News
Share this:
MastodonVKWhatsAppTelegramSMSLineMessengerFlipboardHacker NewsMixNextdoorPerplexityXingYummly
Your Mastodon Instance