• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / Gadgets / How To Format Write-Protected USB Drive and Memory Card

How To Format Write-Protected USB Drive and Memory Card

By Sourabh / March 18, 2015 Category: Gadgets, How To

How to format USB drives and memory cards which are write protected. You cannot delete contents or make any new files on right protected USB drives and SD Cards. But there is a way to format USB drives which are right-protected. Let see how:

How to Remove Write-Protection of USB Using System Registry (regedit.exe)

  • Select “Start” then “RUN”, write “regedit.exe” and press Enter.
  • Click “Computer\HKEY_LOCAL_MACHINE\SYSTEM\”
  • Then select “CurrentControlSet\Control\StorageDevicePolicies”
  • Search “WriteProtect value” in the right-hand windows of Regedit.exe.
  • Double-click on it and change the Value data from 1 to 0
  • Click OK
  • Close regedit.exe and restart your computer

Now connect your USB drive and format the drive as it’s no longer write protected. To format the drive, right-clicking on it and select Format option. There may be a situation when you will not find “StorageDevicePolicies” in regedit.exe. Create the “StorageDevicePolicies” key. To create a new key, right-click in the white space and choose New > Key entering the name “StorageDevicePolicies” and restart your system.

How to Remove Write-Protection of USB Using Command Prompt (CMD)

  • Plug in your USB to your PC
  • Launch command prompt (in Windows XP, select “Start” then open “RUN”, write CMD and press Enter. In Windows 8 PC, select Start menu and search cmd.exe)
  • Once your CMD screen is open and ready to use.

Type the following commands (please press Enter key after your write each command)

diskpart
list disk
select disk x (x is the number of USB flash drive)
attributes disk clear readonly
clean
create partition primary
format fs=fat32

And you are done.
If you get an “access is denied” error message, run Command Prompt (cmd.exe) with administrator rights. To open Command Prompt (cmd.exe) with administrator rights, right-click on the CMD shortcut and choose Run as administrator (Windows XP).

Tags: How To Format Memory Card, How To Format USB Drive, How To Format Write-Protected Memory Card, How To Format Write-Protected USB Drive

Primary Sidebar

Latest Posts

Downlaod Ubuntu 26.10 Stonking Stingray

How To Shutdown Linux With A 15 Minute Delay And Message

Using Linux Terminal How To Get Total Disk Size In GB

Count And Find Number Of Files In A Linux Directory Using Command

Check How Many Users Are Created In Linux Ubuntu

How To Check User Permissions In Linux Using Command

Check Which Folder Is Taking More Space In Ubuntu Linux

How to Install Claude Desktop App in Ubuntu Linux

Job Scheduling Using At Command In Linux With Examples

How To Check Permissions Of A Directory In Linux Command

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap