usb drive devices write protection disable writing windows 10 protect

How to Disable Writing to USB Devices on Windows 10

Published by Soufiane Sabiri | Categories : Computers - Security - Computers - Tips & Tricks - Computers - Windows 10

Does your PC contain sensitive data?

Do you want to ban the write access to USB devices on your PC?

You will discover in this tutorial the easiest method in the world to write-protect your USB ports.

Whether you have several PCs in a Cyber or you have a desktop PC of which you don’t want anyone plugging in a USB stick, this tutorial will be useful for you.

Before you do any changes to your system (registry in our case) you should create a restore point or create a backup file of your registry.

Let’s go!

1. Enable USB Write Protection Using Registry

Open your Registry Editor by entering the command regedit in Run (Windows+R).

usb write protection disable writing protect devices storage 1 regedit

Navigate to this path and create a new key named StorageDevicePolicies:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
usb write protection disable writing protect devices storage 2 regedit new key

Under the key StorageDevicePolicies, create a new DWORD (32-bit) Value and name it WriteProtect.

usb write protection disable writing protect devices storage 3 writeprotect registry

Double-click on the WriteProtect value and change its data to 1. Click “OK“.

usb write protection disable writing protect devices storage 4 writeprotect dword key

2. Disable Write Access Using the Group Policy Editor

Open Run using the Windows+R keyboard shortcut and type in the command gpedit.msc. Hit Enter.

usb write protection disable writing protect devices storage 5 gpedit msc

Navigate to: Computer Configuration > Administrative Templates > System > Removable Storage Access

In right pane double-click on “Removable Disks: Deny write access

usb write protection disable writing protect devices storage 6 removable storage access

Change the value to “Enabled“.

usb write protection disable writing protect devices storage 7 removable disks deny write access

There you have it!

If you have any questions feel free to leave a comment below ;)

Thanks for sharing in advance.


Related tutorials:


Author: Soufiane Sabiri

Soufiane is a young computer scientist and specialist in web design, knows a lot of things in the computer world. This enthusiast enjoys helping people innovate and learn more about the IT world...

Be the first to leave a comment !

Leave a comment

xD oO ^_^ =] =) ;-( ;) :| :woot: :whistle: :sleep: :sick: :police: :p :o :ninja: :mm: :love: :lol: :kiss: :hmm: :evil: :bandit: :angel: :alien: :D :) :( 8)