If you see the error “Disk is write protected”, it means that you tried to format the pen drive, but it could not be formatted. So, stick to the end of this post and we will guide you on how to format write protected pen drive in Windows, Ubuntu ( Linux ), and Mac.
This may be due to the content of the pen drive and any external software or encryption that may have been used to lock the content. The inside of the drive is read-only.
In this case, the computer does not allow you to format, edit, or modify the contents of the pen drive.
There are several ways to format write protected pendrive and erase the contents of the pen drive completely.
Also, once the required process is complete, the pen drive will be empty and all kinds of changes and edits will be possible.
Before proceeding, check the side of the pen drive for a switch to enable lock protection.
If so, simply flip the switch “off” and you’ll lose write protection! However, if you are using a regular USB pen drive without such a switch, read on.
There is one CMD-based method available in windows in which you will know how to format write protected pendrive, let’s look at each one.
1. How to format write protected pen drive using Windows 10?
a. Using Registry Editing
This way, make sure you are logged in as system administrator and follow the steps below.
1: Click Start or the window icon at the bottom. Type Regedit in the left corner and click Regedit in the search box. exe” to open the registry editor.
2: Then go to the following key:
Click on the StorageDevicePolicies folder, then right-click on the “Control” folder and Click the right button to create a new policy.
Name it “StorageDevicePolicies” (no spaces) and make a new DWORD “WriteProtect”. Make sure the value data field is displayed.
3: Now double click to open it and change the value data to “0”. Now when you exit this screen, the Pendrive is ready to format as usual (right-click -> use format).
b. How to Format Write Protected USB Using CMD?
For this method, make sure you are logged in to the system as an administrator and follow the steps below:
2: Type the “list disk” command to view the connected drives. Here, identify the disk identifier from the list.
3: Now you need to select the USB drive using the “select” command and the identifier. The identifier is the disc name recognized by the PC.
If you are not sure, go to My Computer and check the name. Assuming the disk name is disk 1, let’s say what the cmd window should look like so far, only if you get the message, go to the next step. drive-name is now the selected disk.
4: Then type the command “attributes disk clear read-only” and press Enter. This will clear the read-only functionality from the USB drive.
5: When prompted, “Disk properties have been erased successfully”, the drive permissions will be reset and you can exit the command prompt and format the Pendrive as usual. Right-click -> format.
2. How to format write protected pendrive in Ubuntu?
Linux is one of the most widely used open-source. Operating systems around the world. Although Linux is a kernel, it is provided through various distribution systems such as Ubuntu, Fedora, Debian, etc.
So, the GUI solution for formatting a pen drive on Linux depends on the distribution system. Get the help of specific commands to access and format write protected pen drive in Linux, I will explain these two solutions in detail.
a. How to format a USB drive via terminal (command prompt)?
Terminal or command prompt in any operation It is one of the most important components. It is a system that can communicate through a command-line interface.
So it doesn’t matter whether you are running Fedora or Ubuntu, you can format the USB stick in Linux with the help of certain commands.
1: Launch Terminal There are several ways to start a terminal on a Linux system.
Firstly, you can launch a terminal window by simultaneously pressing Ctrl + Alt + T keys, Gnome users can also find it in Applications> Acc. You can also go to the Dash widget in the GUI and search for “terminal”.
2: Identify the connected USB drive.
Now connect the USB drive to the system and let it detect it. Entering the “$df” command to know the identifier will display a list of connected media and disks. For example, in this case, it will be identified as “/dev/sdc1”.
3: Unmount the disk.
Automatic when the USB drive is first connected to the Linux system, It will be mounted automatically.
To format a flash drive on Linux, you want to first unmount it. To do this, you wish to enter the “unmount” command after the identifier. during this case, enter the subsequent command: sudo umount / dev / sdc1
4: Format the USB drive.
Now you’ll format the USB drive in Linux just by typing the “mkfs” command.
There are parameters that determine the filing system on the drive. In most cases, it’s recommended because it is compatible with NTFS or FAT32 Windows. the overall writing method is as follows.
For vFAT (FAT32) file system: sudo mkfs.vfat / dev / sdc1
For NTFS file system: sudo mkfs.ntfs / dev / sdc1
For EXT4 File system: sudo mkfs.ext4 / dev / sdc1
b. How to format write protected pendrive via Disk Utility?
If you’ve got a sophisticated layer of Ubuntu or Fedora on the Linux kernel, then you’ll be able to also use its graphical interface to format the USB drive. is “Disk”. to be told the way to format a USB drive in Linux through its GUI, follow these steps:
1. First, access Disk Utility on your system. To do this, click on the Dashes option on Ubuntu at the top-to ensure that the USB drive you wish to format has been pre-connected to the system.
2. Type “Disks” on Dash search and when the relevant result’s displayed, click on the icon to open it. you’ll be able to also find Disk Utility in its Application.
3. this may remark the Disk Utility interface on your system. you’ll be able to view the available internal and memory device sources within the left panel. From here, select the connected thumb drive.
4. On the proper side you may see various details about USB. drive. Click the gear icon to access its settings.
5. this may launch a fanatical window for formatting the disk. Select the file format and format type. you’ll be able to also give the disk a brand new name.
Once you’re done, click on the “Format” button and wait as Linux would format the USB drive.
3. How to format write protected pen drive in MAC?
WARNING: Keep a copy of all of your data before you format the USB drive.
If your USB has pre-loaded security software or zip (Integral Splash, Secure 360) then this may be deleted on the format, so you’ll want to backup your computer first.
To format your USB Flash Drive on Mac:
- If you employ your USB Flash Drive only on Mac you may want to reformat it to HFS + ( Mac OS Extended ) which allows larger file sizes.
- In your Applications folder, there’s a folder called “Utilities”. If you discover an App called “Disk Utility”. Please and you may see something like this.
- To reformat your USB, select it so click Erase/Delete Tab.
- Here where you’ll set the USB name and file format (Mac OS Extended (Journal)).
- When you’re ready, click the Erase button. After erasing, you’ll safely remove the USB flash drive by dragging the USB Disk icon to the Trash.
I hope you understand the concept of How to format write protected pendrive in Windows, MAC, and Linux If you have any query comment down below.