USB security for Windows 11

How to Make a USB Drive Read Only in Windows 11: Step-by-Step Guide 2026

A read-only USB drive lets you open and copy its files while Windows refuses to add, change or delete anything. Windows 11 has no Settings toggle for it, so the job falls to Group Policy, a registry value or DiskPart, and each reaches a different distance.

Editorial TeamNovember 2026Last verified: November 2026
Quick answer

To make a USB drive read only in Windows 11, enable the Group Policy setting Removable Disks: Deny write access (Pro, Enterprise, Education), or on Home create the registry value WriteProtect set to 1 under StorageDevicePolicies, then reconnect the drive or restart. For one drive only, run attributes disk set readonly in DiskPart.

At a glance

Applies to
Windows 11, versions 21H2 to 25H2
Time needed
5 to 10 minutes
Difficulty
Moderate, administrator account
Cost
Free, built-in tools
Needs
Admin rights, no internet
Last verified
November 2026
Group PolicyRegistryDiskPartHome and Pro

See our top recommendation →

USB drive set to read access onlyRead access: onWrite access: off

How to Make a USB Drive Read Only in Windows 11: Quick Answer

Making a USB drive read only in Windows 11 means telling the operating system to refuse writes to removable disks while still allowing reads. Windows 11 Pro, Enterprise and Education use the Group Policy setting Removable Disks: Deny write access; Home uses the registry value WriteProtect set to 1.

The setting lives on the PC, not on the drive, which is the detail most guides skip. Plug the same drive into another computer and it is writable again, because that computer has no such rule. Microsoft documents the removable-storage policies for Windows 11 version 21H2 and later, so the steps below apply from 21H2 through 25H2, the release that reached the Windows Update channel on September 30, 2025.

We wrote this guide for people who own the PC or administer it: parents locking a family computer, small offices that keep a shared drive of reference files, and anyone handing a drive to a colleague and wanting the files left alone.

If you share a PC at home

Use the registry value or Group Policy to stop every removable disk from accepting writes, and keep one administrator account that can reverse it. Children and guests can still open files, which is usually the point.

If you manage a small office

Apply the policy at computer scope through a domain Group Policy Object or an Intune Device Control profile. The multi-PC page below gives a checklist and a policy builder for it.

If you only need one drive protected

DiskPart sets the read-only attribute on the selected disk and touches nothing else, so your other drives stay writable.

Pick your path

What do you need help with?

Choosing an option jumps to that section of the page.

What you need

Before you start

  • An administrator account on the PC.
  • Your edition: Settings > System > About shows Windows 11 Home, Pro, Enterprise or Education.
  • The drive letter, size and disk number if you plan to use DiskPart.
  • A written note of the original value, so you can undo the change.
Our decision rule

The scope, edition and undo check

Three answers choose your method before you touch a setting: how far the rule should reach, which Windows edition you run, and whether you know the one step that reverses it.

Three questions to answer before you change anything
CheckAsk yourselfDecides
ScopeEvery removable drive on this PC, or one disk?Policy or registry for all, DiskPart for one
EditionHome, or Pro, Enterprise and Education?Registry on Home, Group Policy elsewhere
UndoDo I know the one step that reverses it?Write it down before applying

Step-by-Step: Make a USB Drive Read Only in Windows 11

Three built-in routes make a USB drive read only in Windows 11: the Group Policy setting for Pro, Enterprise and Education, the WriteProtect registry value for any edition, and DiskPart for one drive. Each needs an administrator account, and each can be reversed in under two minutes.

How a deny-write policy stops a writeApp writesWindows storagepolicy checkUSB flash memoryDeny write: request stops hereReads follow the same path and are allowed.
A deny-write policy stops the request inside Windows before it reaches the flash memory.

Group Policy on Pro, Enterprise and Education

  1. Open the editor

    Press Win + R, type gpedit.msc and press Enter.

  2. Find the setting

    Go to Computer Configuration > Administrative Templates > System > Removable Storage Access.

  3. Enable it

    Double-click Removable Disks: Deny write access, choose Enabled and select OK. A matching setting exists under User Configuration; the computer-level one covers every account.

  4. Restart

    Restart the PC so the policy fully applies, then connect the drive.

Registry value on any edition, Home included

  1. Open Registry Editor

    Press Win + R, type regedit and approve the prompt.

  2. Go to the Control key

    Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control. If a StorageDevicePolicies key is missing, right-click Control, choose New > Key and name it StorageDevicePolicies.

  3. Add the value

    Inside it, choose New > DWORD (32-bit) Value, name it WriteProtect and set the data to 1. Create a 32-bit value even on 64-bit Windows.

  4. Reconnect or restart

    A drive that is already connected may stay writable until you unplug it and plug it back in, so reconnect it or restart.

Apply: read-only.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
"WriteProtect"=dword:00000001

DiskPart for a single drive

  1. Open a prompt as administrator

    Search for Command Prompt, choose Run as administrator.

  2. Pick the right disk

    Type diskpart, then list disk. Match the USB drive by size, select it, and run detail disk to confirm it is not the boot disk.

  3. Set the attribute

    Run attributes disk set readonly. Microsoft documents this command as the way to set the selected disk as read-only.

Set one drive read only
REM Run inside a Command Prompt opened as administrator
diskpart
list disk
select disk 2
detail disk
attributes disk set readonly
exit

Windows Home or Pro? Check your edition first

The Local Group Policy Editor ships with Pro, Enterprise and Education only, so gpedit.msc on Home returns a not-found error. Installers that add it to Home exist, but two independent guides warn that Home may show the settings without applying them, which makes the registry value the reliable choice there.

Common mistake

Do not guess the disk number in DiskPart. Setting the read-only attribute on the wrong disk, such as your system drive, causes confusing errors. Check the size and the Boot Disk line in detail disk before you type the attribute command.

Admin rights and a rollback plan

  • Registry, DiskPart and Group Policy changes all need an administrator session.
  • Before you apply anything, write down the undo step: set the policy to Not Configured, delete the WriteProtect value, or run attributes disk clear readonly.
  • Test on one spare drive first, not on the only copy of your files.

Best Free Methods to Make a USB Drive Read Only in Windows 11

Every free method relies on a Windows feature or on the drive itself: Group Policy, a registry value, a DiskPart attribute, NTFS permissions, a physical lock switch or BitLocker's write rule. Their reach differs sharply, so match the method to the job instead of choosing by popularity.

Make a USB drive read only in Windows 11 for free

The three Windows routes above cost nothing. Three more free options cover situations they miss.

Hardware

A physical lock tab

Full-size SD cards and some adapters carry a write-protect tab, and a slid tab makes the card itself refuse writes on any PC. Ordinary USB flash drives usually have none.

File system

NTFS permissions

Set Everyone to read-only on an NTFS drive. It holds only on the PC where you set it, and Microsoft Support warns that tools can bypass NTFS permissions on removable media.

Encryption policy

BitLocker write rule

Deny write access to removable drives not protected by BitLocker lets only encrypted drives accept writes. Microsoft documents that it is ignored when Removable Disks: Deny write access is enabled.

Pros of the built-in routes

  • No purchase, no installer.
  • Reversible by one setting.
  • Group Policy and registry cover every removable disk.

Cons to plan around

  • The rule lives on one PC, so other computers ignore it.
  • Any administrator on that PC can switch it off.
  • No usage log and no approved-drive list.

Built-in Windows Methods Compared

Group Policy and the WriteProtect registry value cover every removable disk on one PC, DiskPart covers a single selected disk, and blocking software controls which drives may connect at all. The table below lists difficulty, strength, cost and limits so you can pick without trial and error.

Methods for read-only and controlled USB storage on Windows 11
MethodDifficultySecurityCostBest forLimitations
Group Policy: Deny write accessEasyMediumFreeOne PC on Pro, Enterprise or EducationNeeds the Local Group Policy Editor; PC-bound
Registry: WriteProtect = 1ModerateMediumFreeWindows 11 Home or scripted setupsReconnect needed; PC-bound; key may need creating
DiskPart: attributes disk set readonlyModerateLow to mediumFreeOne specific driveWrong-disk risk; policy can override it
Physical write-protect tabEasyHigh on the cardFreeSD cards and adapters with a tabMost USB flash drives have no tab
NTFS permissionsModerateLowFreeA drive used on one PCBypassable with tools per Microsoft Support; no effect on FAT32
BitLocker deny-write ruleModerateMediumFreeAllow only encrypted drives to be writtenIgnored when Deny write access is enabled
Blocking software with an approved-drive list (for example USB Block)EasyMediumPaidControlling which drives connect at allOfficial page lists no read-only mode and no Windows 11 entry
Hardware write blockerEasyHighPaidEvidence and untrusted PCsExtra device; not meant for daily use
Our verdictEasyMediumFreeMost readersStart with Group Policy or the registry value

One administrator guide notes that the registry route works on every edition of Windows 10 and 11, which matches what we found when comparing the Home and Pro paths.

Method picker

Which Windows 11 edition and setup do you have?
What should happen?
Suggested methodGroup Policy: Removable Disks: Deny write access

Windows 11 Pro, Enterprise and Education include the Local Group Policy Editor. Enable Removable Disks: Deny write access under System > Removable Storage Access, then restart.

Read-only is only one way to control a USB drive. Our page on read-only settings against a hardware write blocker explains why enforcement outside the PC is stronger, and when that extra strength is worth paying for.

Why Block USB Ports at All

USB drives move data out of a PC as easily as in, which makes them a common route for insider copying, lost files and malware. A deny-write setting closes the copying-out route for removable disks, though it leaves reading, execution and lost-drive exposure for other controls.

Windows 7 ended AutoRun for non-optical removable media, a change Microsoft made after the Conficker worm spread partly through flash drives, so modern Windows no longer runs programs from a USB drive on insertion. A user can still open an infected file by hand, which is why a separate Deny execute access setting exists next to the write and read ones.

3policy actions: read, write, execute
2009year Microsoft ended USB AutoRun in Windows 7
0files copied out when writes are denied

Disable USB ports or only block writes?

Disabling USB ports shuts off every device on them, including keyboards and receivers, while a deny-write setting stops only file writes to removable disks. Pick the narrower control unless the PC should accept no USB storage at all, because it keeps everything else working.

Turning USB controllers off in Device Manager disables everything on those ports, including keyboards and receivers, while the USBSTOR registry setting disables only storage. Blocking writes is narrower still: files stay readable but cannot be added.

Myth

Disabling USB ports is the only way to stop data leaving on a drive.

Fact

A deny-write setting stops files from being written to removable disks while every other USB device keeps working.

Risk scorecard for USB exposure

Is This Enough? What Else to Do After You Make a USB Drive Read Only in Windows 11

A read-only setting stops files from being added to a drive on this PC and nothing else. It does not hide files from someone who plugs the drive in, it does not stop a lost drive being read, and it does not stop programs on the drive running. Four layers cover the rest.

Four layers around a read-only USB policyLayer 1: deny-write policy for removable disksLayer 2: encryption so a lost drive stays unreadableLayer 3: approved-drive list for what may connect at allLayer 4: a log of which drives were used, and whenRead-only covers the first layer. The other three cover what it cannot.
Read-only is the first of four layers, and each layer covers a different failure.

For lost drives, encrypting the whole drive beats protecting single files, and Windows can do it with BitLocker on editions that include it; a step-by-step walkthrough for encrypting a flash drive with BitLocker shows the screens. If you prefer a password tool, USB Secure locks files on a flash drive.

For folders that stay on the PC, Folder Lock encrypts and locks them.

USB device classes and the effect of a deny-write settingStorageBlocked by deny writeKeyboard, mouseUnaffectedPrinterUnaffectedPhone, MTPOwn policy classA deny-write setting targets the removable-disk class, so other device classes keep working.
The deny-write setting targets the removable-disk class and leaves other classes alone.
USB device-class cheat sheet for a deny-write setting
Device classExamplesEffect of Deny write access
Removable storageFlash drives, external hard drives, card readersWrites refused
Keyboards and miceWired and wireless receiversUnaffected
PrintersUSB printers and scannersUnaffected
Phones and camerasDevices that connect as portable devicesTest it yourself

How to Verify It Worked After You Make a USB Drive Read Only in Windows 11

Verification takes four quick actions on the drive: copy a file in, create a folder, delete a file, and open an existing file. The first three should fail with a write-protected message and the last should succeed. DiskPart's detail disk output then shows Current Read-only State as Yes.

Verification checklist

The edge case that trips people up is a drive that stays writable after a registry change because it was already plugged in. Windows reads the value when the drive connects, so reconnect it before you decide the method failed. If the drive is still writable after a restart, or stays locked when you wanted it free, the page on finding why a drive stays read only walks through the cause by cause.

DiskPart detail disk output with mismatched read-only valuesDISKPART> detail diskType : USBStatus : OnlineCurrent Read-only State : YesRead-only : NoState Yes + attribute No: the lockcomes from policy, switch or drive.
A mismatch between the two read-only lines points to policy, a switch or the drive.

Common Mistakes When You Make a USB Drive Read Only in Windows 11

Five mistakes cause most failed attempts: choosing the wrong disk in DiskPart, skipping the reconnect after a registry change, expecting Group Policy on Home, trusting NTFS permissions away from the PC, and enabling two overlapping rules. Each is easy to avoid once you know it.

Common mistake

Choosing the wrong disk number in DiskPart. Match the size, then confirm Boot Disk reads No in detail disk before setting any attribute.

Common mistake

Forgetting to reconnect the drive after a registry change. The value is read when the drive attaches, so a plugged-in drive can stay writable until you unplug it.

Common mistake

Assuming NTFS permissions travel with the drive. A Microsoft community answer says they work only on the PC where they were set, and Microsoft Support documents tools that bypass them on removable media.

Why this matters

Overlapping rules confuse results. If Removable Disks: Deny write access is enabled, the BitLocker rule for unprotected drives is ignored, so an encrypted drive will still be read only.

Safe to skip

Reformatting to ReFS for its permission model. Microsoft says ReFS on removable media such as a USB disk is not a supported configuration.

Myth

A read-only setting protects the drive wherever it goes.

Fact

The setting is applied by one PC, so another PC without it will happily write to the same drive.

Drive Lock Software for Windows 11

Drive lock software for Windows 11 is a different category from a read-only switch: it controls which drives may connect and who may open them. USB Block, from NewSoftwares, blocks storage and optical drives, keeps an authorized-device list and logs usage, but its official page lists no read-only mode.

Editorial pick

The tool we recommend for approved-drive control

Of the options covered, we recommend the built-in methods whenever the goal is a read-only drive. We recommend USB Block's authorized-device list when the goal is different: only your own drives should work, and everything else should be refused or need a password.

We are the developer, so here are the limits plainly. The product page names Windows 10, 8 and 7 and Windows Server 2008 to 2019, and Windows 11 is not named. It runs on 32-bit and 64-bit Windows and installs with administrator rights. It does not list a read-only mode, so it will not replace the settings above.

What it adds

  • Blocks USB storage, discs, network drives and non-system drives.
  • Authorizes your own drives and phones.
  • Password for unauthorized devices, plus a usage log.

What it does not

  • No read-only mode on the official page.
  • Windows 11 is not on the listed versions.
  • Paid, one-time purchase.
USB Block Control Center window showing the connected device diagram for storage, discs, network and non-system drives
The Control Center view of blocked and allowed device types.

Software-Based USB Blocking Step-by-Step

Software-based USB blocking with USB Block takes five steps: install as an administrator, set a password, switch on storage blocking, authorize your own drives and review the log. Because the official page lists Windows 10, 8 and 7, test it on your own Windows 11 PC before relying on it.

  1. Install with administrator rights

    Run the installer from the NewSoftwares download page while signed in as an administrator, since the official page says installation requires those rights.

  2. Set the program password

    Open Program Options and choose Change Password. The password is what a person must enter to open a device that is not on your list.

  3. Switch on storage blocking

    In Control Center, turn on the Block USB Devices option, which covers USB drives, external drives and memory cards. Optional switches cover discs, network access and non-system drives.

  4. Authorize your own drives

    Add the drives and phones you trust to the authorized list, so they open normally while every other device is refused or asks for the password.

  5. Read the log

    Open Reports and Logs to see which devices were allowed and when, plus any incorrect password attempts.

Common mistake

Do not lose the program password. Write it down in a safe place and tell a second administrator where it is.

USB Block settings listing switches for blocking USB devices, discs, network access and non-system drives
Each protection type has its own switch.

How to Allow Approved Drives Only

Allowing approved drives only means every removable drive is refused by default and a short list of known drives is let through. A read-only setting cannot do this because it treats all drives alike, while an authorized-device list, like the one in USB Block, can.

Start with the drives you actually use. Write down each one, who owns it and why it is approved, then authorize only those. Keep the list short enough to review every quarter.

A starter allow-list to keep beside the PC
Drive labelOwnerPurposeApproved onReview by
Backup drive AOffice managerWeekly backupsFill inFill in
Archive stickRecords leadRead-only reference filesFill inFill in

Pair this with a read-only setting for drives that carry reference files. The allow-list decides which drive may connect, and the deny-write rule decides what a connected drive may do.

USB Block Reports and Logs tab with buttons for clearing report and logs and device usage tables
The log records which devices were used and when.

How to Re-enable USB Ports Safely

Re-enabling a write-protected USB setup means reversing the exact method you used: set Group Policy to Not Configured, delete the WriteProtect value, or clear the DiskPart read-only attribute. Do it from an administrator account on a PC you own or manage, then restart or reconnect the drive.

Group Policy

Set it to Not Configured

Open the Removable Disks: Deny write access setting, choose Not Configured and restart.

Registry

Delete the value

Remove WriteProtect, or import the undo file below, then reconnect the drive.

DiskPart

Clear the attribute

Select the disk and run attributes disk clear readonly.

Undo: remove-write-protect.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies]
"WriteProtect"=-
Note

If an employer, school or IT team applied the policy, change it where it was set. Microsoft community guidance says DiskPart cannot override a Group Policy restriction.

Managing many PCs? The rollout page for several Windows 11 PCs includes the matching rollback for Group Policy and Intune.

Problem, cause and fix at a glance

Most read-only problems on Windows 11 come from five causes: a drive that was already connected, a policy or registry value on the PC, a physical lock, a failing drive, or an edition without Group Policy. The table matches each symptom to its likely cause and first fix.

Symptoms, causes and fixes
ProblemLikely causeFirst fix
Still writable after the registry changeDrive was already connectedUnplug and reconnect, or restart
gpedit.msc not foundWindows 11 Home has no Local Group Policy EditorUse the registry value instead
DiskPart: Current Read-only State Yes, Read-only NoPolicy, switch or the drive itself sets the lockTest on another PC to split the cause
Read only on every PCPhysical tab or a drive protecting itself after flash wearCopy files off, then replace the drive
Encrypted drive still refuses writesDeny write access overrides the BitLocker ruleChoose one rule per PC

Stuck on one of these? The full cause-by-cause walkthrough is on the page about a USB drive that is still read only in Windows 11. A written review of write-protection fixes such as the lock switch and DiskPart lines up with these steps.

A policy rollout checklist for several PCs

Rolling a deny-write policy across several PCs works in four stages: pilot on two machines, agree who approves exceptions, apply to the whole group, then review after thirty days. Use a domain Group Policy Object or an Intune Device Control profile, and restart devices afterwards.

Office rollout checklist

Microsoft Intune offers the setting under Endpoint security, Attack surface reduction, in a Device Control profile. A domain uses the same Removable Storage Access path in a Group Policy Object. The policy builder for multiple PCs turns your answers into a numbered plan.

USB Block against the built-in tools and two other approaches

Compared with Group Policy, BitLocker and a hardware write blocker, USB Block is the only option here that combines an authorized-device list with a usage log, and the only one whose official page lists no read-only mode. The table sets out what each approach can and cannot do.

USB control approaches compared feature by feature
FeatureUSB BlockGroup PolicyBitLocker ruleHardware write blocker
Makes drives read onlyNot listed on official pageYes, class-wideOnly unencrypted drivesYes, outside the PC
Blocks drives entirelyYesYes, with deny read and writeNoNo
Approved-drive listYesClass-wide onlyNoNo
Usage logYesNoNoNo
Edition needsOfficial page: works on HomePro, Enterprise, Education for the local editorBitLocker editionsAny PC
Cost49.95 USD one-time, as listedIncludedIncludedHardware purchase
Best forApproved drives and logsRead-only on managed PCsEncrypted-only write policyUntrusted PCs and evidence

Blocker or Group Policy: how to choose

If you need one rule for every drive, Group Policy wins on price and simplicity. If you need to say which drives are allowed, the list in a blocker is the missing piece. An independent roundup of USB port locking tools lists USB Block among nine products and calls it one of the simplest. Microsoft's community answers on password-protecting USB ports also point people to third-party tools, since Windows has no built-in password for a port.

What USB Block does and does not do

USB Block, per its official page, blocks USB storage devices, discs, network drives and non-system drives, lets you authorize your own drives and phones, asks for a password at unauthorized devices and logs usage. It does not list read-only mode, and it names no Windows 11 support.

Blocks storage types

Best for: PCs where nobody should plug in outside drives. Not ideal for: making a drive readable but not writable.

Authorized devices

Best for: an approved set of your own drives and phones. Not ideal for: a constantly changing list of drives.

Password prompt

Best for: letting an owner open an unlisted drive on purpose. Not ideal for: unattended shared PCs if the password leaks.

Usage log

Best for: seeing which devices were used and any wrong password attempts. Not ideal for: auditing other PCs.

USB Block pricing: what you get

The official NewSoftwares store listed USB Block at 49.95 USD as a one-time purchase on November 21, 2026. The pages we reviewed do not state licence terms or a trial length, so check the store page before you buy. If your goal is only read-only, the built-in methods cost nothing.

USB Block cost as shown on the official store
ItemAs shownNot stated
Price49.95 USDTax and regional pricing
Purchase typeOne-timeLicence and PC count
TrialA download button is on the product pageTrial length and limits

Is it worth it? If you need an approved-drive list and a log on a PC that is not managed by a domain, it can be. If you only need drives to stop accepting files, Group Policy or the registry value does that for free. Buying context lives on the official NewSoftwares store.

USB Block product box with a red shield and the words Data Leak Prevention
USB Block boxshot.

Who should use which option

Choose by who uses the PC and what you need to prevent. A single home PC suits Group Policy or the registry value, a lab suits a managed policy, a lent drive needs hardware protection, and a team that wants approved drives only should consider a blocker.

Decision guide by user type
If you areRecommended methodDoes USB Block fit?Honest alternative
A home user on ProGroup Policy deny writeNot neededRegistry value
A home user on HomeRegistry WriteProtectOnly for approved drivesDiskPart for one drive
A small office without a domainRegistry value, scriptedYes, for approved drives and logsIntune if you have it
An administrator with a domainGroup Policy ObjectRarelyIntune Device Control
Someone lending a driveHardware lock or encrypted containerNoRead-only copy on a write-once disc

Frequently asked questions

These fourteen questions cover the setup, the limits and the undo steps for a read-only USB drive on Windows 11. Each answer starts with the short version, and the filter chips narrow the list by edition, drive, policy, software or recovery.

Showing 14 of 14 questions

How to make a usb drive read only in windows 11?

Enable the Group Policy setting Removable Disks: Deny write access on Windows 11 Pro, Enterprise or Education, then restart. On Home, create the registry value WriteProtect set to 1 under StorageDevicePolicies and reconnect the drive. For a single drive, run attributes disk set readonly in DiskPart as an administrator.

Can I make a usb drive read only in windows 11 without paid software?

Yes, Windows 11 includes three free routes: a Group Policy setting, a registry value and the DiskPart read-only attribute. All three need an administrator account and none needs an internet connection. Paid software only becomes relevant when you want an approved-drive list or a usage log rather than a read-only switch.

What is the fastest way to make a usb drive read only in windows 11?

DiskPart is quickest for one drive: run list disk, select the USB disk, then attributes disk set readonly, which takes about a minute. For every removable drive on the PC, the registry value takes about two minutes. Group Policy is similar in speed but needs a Pro, Enterprise or Education edition.

What mistakes should I avoid when I make a usb drive read only in windows 11?

Selecting the wrong disk in DiskPart is the costly one, so confirm the size and check that Boot Disk reads No. Other common errors are forgetting to reconnect the drive after a registry change, assuming Home has Group Policy, and trusting NTFS permissions to protect a drive on other PCs.

How do I check that it worked after I make a usb drive read only in windows 11?

Try to copy a small test file to the drive; Windows should report that the disk is write protected. Then create a folder and delete a file, and confirm you can still open existing files. In DiskPart, detail disk shows Current Read-only State, which reads Yes when the lock is active.

Can I block USB storage but keep my keyboard and mouse working?

Yes, because a removable-disk setting targets storage devices only. A deny-write or deny-read policy leaves keyboards, mice and printers alone, which is the main reason it beats turning off USB controllers in Device Manager. Test a phone separately, since phones may connect through a different device class.

Does blocking USB ports stop phone charging?

A storage policy does not stop charging, since charging needs only power from the port. Disabling the USB controllers in Device Manager is the broader step and may cut data and some device functions on those ports. If charging must keep working, use a removable-disk policy instead of controller changes.

Will USB blocking work on Windows Home?

The registry value WriteProtect works on Windows 11 Home, but the Local Group Policy Editor does not exist there. Unofficial gpedit installers may show the setting without applying it. Blocking software can also run on Home: the official USB Block page says it works on Windows Home, though it does not name Windows 11.

How do I re-enable USB ports as the administrator?

Reverse whichever method you used: set the Group Policy to Not Configured, delete the WriteProtect registry value, or run attributes disk clear readonly in DiskPart. Restart, or reconnect the drive, so Windows reads the change. If the PC is managed, the policy must be changed where it was set.

Can I allow only one approved USB drive?

A read-only setting cannot do that, because it treats every removable disk the same. An approved-drive list can: USB Block lets you authorize your own drives and asks for a password when an unauthorized one connects, according to its official page. Group Policy deny settings are class-wide.

Does a read-only setting follow the drive to another PC?

No, Group Policy and registry settings live on the PC that applied them, so the same drive is writable on any other machine. NTFS permission changes behave the same way. Only protection that sits in the drive or a hardware write blocker travels, which is why shared archives need a different plan.

Can BitLocker make a USB drive read only?

Partly. The policy Deny write access to removable drives not protected by BitLocker blocks writes to unencrypted drives while letting encrypted ones stay writable. If Removable Disks: Deny write access is enabled, Microsoft's documentation says that BitLocker rule is ignored, so choose one approach per PC.

Does a read-only USB drive protect against viruses on the drive?

No, it blocks new writes but does not stop programs already on the drive from running. Windows 7 and later no longer run AutoRun entries from USB drives, yet a user can still open an infected file. Pair a deny-write rule with the separate Deny execute access setting and a current antivirus scan.

Does USB Block make a drive read only?

Its official page does not list a read-only or write-protection mode. USB Block blocks storage devices and discs, keeps an authorized-device list, asks for a password and logs usage. For a read-only result, use the built-in methods in this guide and treat USB Block as the approved-drive layer on top.

More answers to what people search for

People phrase this task in many ways: whether it is possible, which route is easiest, what changed this year and how it differs from disabling ports. Each answer below stands on its own, with the short version first and the detail after it.

Can you make a USB drive read only in Windows 11?

Yes, Windows 11 can refuse writes to USB storage through Group Policy, a registry value or a DiskPart attribute, and no Settings toggle exists for it. The restriction applies on the PC that carries the setting, so the same drive stays writable on other computers unless the drive itself enforces protection.

Microsoft documents the removable-storage deny settings for Windows 11 version 21H2 and later, which covers 22H2, 23H2, 24H2 and 25H2. The registry value predates Windows 11 and still works on current builds according to administrator guides, although a Microsoft Q&A poster reported that the StorageDevicePolicies key is absent by default on 25H2, so you create it yourself.

Is it possible to make a USB drive read only in Windows 11 without Group Policy?

Yes, the registry value WriteProtect under StorageDevicePolicies does the same job on every edition, including Home. Create the key if it is missing, add a 32-bit DWORD set to 1, then reconnect the drive. DiskPart is the second route and affects one selected disk instead of all removable drives.

The registry route is the one administrator guides point Home users to, because the Local Group Policy Editor ships only with Pro, Enterprise and Education. A third option is NTFS permissions on the drive, but those work only on the PC where you set them.

What is the easiest way to make a USB drive read only in Windows 11?

The easiest way depends on the edition: Group Policy is the simplest on Pro, Enterprise and Education because it is one checkbox in a labelled path, while the registry value is the simplest on Home. DiskPart is easiest when only a single drive needs protection and you want no system-wide change.

  • Pro, Enterprise, Education: Removable Disks: Deny write access, set to Enabled.
  • Home: WriteProtect set to 1, then reconnect the drive.
  • One drive only: attributes disk set readonly after selecting the right disk.

What changed for read-only USB drives in 2026?

Nothing in the documented deny-write settings changed for Windows 11 in 2026, and version 25H2 arrived on September 30, 2025 as an enablement package with the same features as 24H2. The notable 2026 item is Microsoft's hardening of ReFS volumes on removable media, with an update released on or after October 13, 2026.

Microsoft states that ReFS on removable media such as a USB disk is not a supported configuration, and describes audit events for administrators who want to find such volumes. If you were considering ReFS for its permission model on a USB drive, that note rules it out. Stay with exFAT or NTFS for removable disks.

How does USB port blocking differ from disabling a single device?

Disabling one device in Device Manager acts on that single device entry, a removable-storage policy acts on a whole device class, and a blocking tool decides which devices may connect at all. The three differ in reach: one device, one class of devices, or an approved list of hardware.

Administrator guides also describe disabling the USB controllers, which cuts every device on those ports, and setting the USBSTOR service start value to 4, which turns off the storage driver specifically. Both are blunter than a deny-write setting because they stop reading as well as writing.

How do you allow a keyboard and mouse while blocking storage?

Use a storage-specific control, such as Removable Disks: Deny write access, the USBSTOR service setting or a blocking tool that targets storage devices. These leave human-interface devices alone, so the keyboard and mouse keep working. Avoid disabling USB controllers in Device Manager, which takes every device on those ports offline.

On a kiosk or classroom PC, confirm the result by plugging in the keyboard, mouse and one test drive after the change. If a wireless receiver stops responding, the controller was disabled rather than the storage class.

What does the USBSTOR registry method do?

The USBSTOR method sets the Start value of the USB storage driver service to 4, which disables that driver, so USB storage stops mounting at all. It differs from WriteProtect, which keeps reading allowed. Pick USBSTOR when you want drives blocked entirely and WriteProtect when you want them readable.

Because the effect is a full block, it also stops the drive you wanted to read from. That is the reason this guide uses the write-only controls for the read-only goal and keeps full blocking for the approved-drive section.

How do you make removable drives read only on shared, school and kiosk PCs?

Apply the deny-write policy to the PC, not to a user, so it holds for every sign-in, and keep a separate administrator account that can turn it off. Group Policy at computer scope or a registry value achieves this. For a lab of PCs, use a domain policy or Intune instead of touching each machine.

Our rollout checklist and a policy builder for several PCs live on the multi-PC page, linked below. On a single kiosk, the registry value plus a note on the case with the administrator contact is usually enough.

What does USB Block log?

According to the official USB Block page, it records which device was allowed, when it was used, and incorrect password attempts. The Reports and Logs tab shows this history, which helps an owner see whether anyone tried to open an unauthorized drive. Windows deny-write settings do not produce an equivalent report.

The log is useful for a small office or a family PC where you want evidence of what was connected, not only a block. It records activity on the PC where it is installed, so it does not follow a drive elsewhere.

Our verdict

For most readers, the best way to make a USB drive read only in Windows 11 is Group Policy on Pro, Enterprise and Education and the WriteProtect registry value on Home. Add DiskPart for one drive, and consider USB Block only when you also want approved drives and a usage log.

Read-only is a rule applied by one PC, and that single fact decides how far it protects you. It stops copying onto drives on this machine, it does not travel with the drive, and it does not encrypt, hide or scan anything. Treat it as the first of four layers, and write down the undo step before you apply it.

If you want drives limited to a known list, USB Block's product page shows the full feature list; its official page does not list Windows 11 or a read-only mode, so test before you buy.

Go deeper

Three companion pages each answer one question in full: why a drive stays read only, how software settings compare with a hardware write blocker, and how to apply one policy across several Windows 11 PCs.

This guide is published by the NewSoftwares.net team, the developer of USB Block. It covers free and built-in options alongside our own, and where our product does not fit a task we say so. Questions or corrections can go to the team through the developer contact page.