Share via

why is my flash drive showing write protected

carm johnson 0 Reputation points
2026-05-02T04:15:54.63+00:00

since the windows upgrade to 11 my flash drive is saying write protected why

Windows for home | Windows 10 | Devices and drivers
0 comments No comments

3 answers

Sort by: Most helpful
  1. Kapil Arya 37,686 Reputation points Volunteer Moderator
    2026-05-02T11:42:21.6666667+00:00

    Try this:

    Open Registry Editor using regedit command.

    Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies.

    Set WriteProtect to 0.

    Close Registry Editor and restart your system.

    PS. If you're new to registry, create System Restore point first.

    If issue still persists, you can refer this fix:
    https://www.kapilarya.com/fix-the-disk-is-write-protected-error-for-usb-drives-in-windows-11-10

    Let us know if this helps!

    Note: Included link(s) in this reply refers to a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    0 comments No comments

  2. Quinn.HP 8,610 Reputation points Independent Advisor
    2026-05-02T05:12:48.2166667+00:00

    Hello, I'm Quinn and here to help!

    Write protected just means your system thinks the USB shouldn’t be modified, even if it worked fine before. Try this fix and check if it solves the issue.

    1. Press Win + S and search for Command Prompt and run it as administrator
    2. Type diskpart and press Enter.
    3. Type list disk to see all connected drives. Identify your flash drive by its size (e.g., Disk 1 or Disk 2).
    4. Type select disk X (replace X with your drive number).
    5. Type attributes disk clear readonly and press Enter.
    6. Once it says Disk attributes cleared successfully, type exit.

    Don't worry, this process will not delete any of your files, it only attempts to remove the write-protection attribute. May I ask if the USB contains any important files you are looking to recover?

    0 comments No comments

  3. Q&A Assist
    2026-05-02T04:16:07.8633333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    A USB flash drive or SD card typically shows as write-protected after an upgrade to Windows 11 for one of these reasons:

    1. Physical write-protect switch Some removable devices (especially SD cards and some USB sticks) have a small physical switch that locks the device. If this switch is set to “lock,” Windows will report the drive as write-protected and block saving, deleting, or modifying files. Move the switch to the unlocked position and reconnect the device.
    2. Domain or local Group Policy enforcing write protection If the PC is joined to a domain (work or school), a Group Policy Object (GPO) can enforce write protection on removable storage. After an OS upgrade, these policies may be reapplied or changed, causing a previously writable drive to become write-protected.

    In that case, local registry or local Group Policy changes will not persist; the domain GPO overrides them when policies refresh. Typical symptoms:

    • Windows shows the USB drive as write-protected or locked.
    • Attempts to disable write protection locally revert after restart.

    To fix this in a domain environment (IT/admin action required):

    1. Identify which GPO is enforcing USB write protection:
      • Open Command Prompt and run:
             gpresult /h gp-report.html
        
      • Open gp-report.html and review applied policies.
    2. In the GPO, check:
      • Computer Configuration > Administrative Templates > System > Removable Storage Access
      • Look for Removable Disks: Deny write access and similar settings.
    3. Set those policies to Not configured or Disabled if write access is required.
    4. On the client PC, run:
         gpupdate /force
      
    5. Disconnect and reconnect the USB device, then test writing a file.

    If the machine is not domain-joined, similar settings might be configured in Local Group Policy or security software, but the context here specifically covers domain GPO as the common cause.

    If none of the above applies, and the device still shows as write-protected, the issue may be with the device hardware or other settings not covered in this context.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.