The flash drive is write protected - how to format: program. Can't format a flash drive - it's write-protected: what to do?

Guide to removing write protection from a USB flash drive.

Navigation

USB flash drives and microSD memory cards are widely used for temporary storage of data. The files stored on them are easy to delete, but they often leave behind a lot of invisible garbage, which clogs the memory and slows down the reading of information on the USB drive. To deep clean memory, users resort to formatting flash drives. But quite often, while formatting a flash drive, a notification pops up informing you that it is write-protected.
In our article we will try to figure out how to bypass the protection of a locked flash drive or memory card.

A similar message about disk security can pop up for various reasons, and not only when trying to format a flash drive. It happens that a USB drive has served you faithfully for a long time, but one fine day, when you try to transfer files to it or, conversely, take them from it, such a notification appears. Let's look at the main reasons why such a nuisance can happen:

Physical blocking

  • Many USB flash drives and memory cards have a small fuse on their case. It is a standard slider switch that is easy to miss. If you move the switch to a certain position, it will act as a fuse and will not allow you to accidentally delete data from the flash drive. Carefully inspect the body of the flash drive for the presence of a switch slider. If there is one, move it to a different position and try to repeat the procedure for deleting files from the USB drive.

New flash drive

  • If you purchased a new USB flash drive or microSD card, and while writing files to it you receive a message about the security of the disk, then it is most likely that your device was previously formatted in an ancient file system FAT32. To restore order in the file system, it will need to be formatted in the format NTFS. We'll talk about this a little later.
  • Another possible reason for this error to occur when using a new flash drive is a virus. Before you, the store clerks where you bought the flash drive could have used the drive and placed a malicious program on it. Just in case, scan your computer and flash drive for viruses with any available antivirus program.

Physical damage

  • Quite often the reason for the notification is “ The disc is write protected» is associated with physical damage to the drive. Perhaps, due to a strong impact of the device on the floor, the contact fell off or microcracks appeared. The worst case scenario is damage to the memory chip from impact or natural wear and tear. If, in the case of a fallen contact, you can recover data from a flash drive using special equipment, then if the chip is damaged, you can say goodbye to it.

How to format a write-protected flash drive using standard Windows operating system tools?

Before resorting to using third-party software, you should try to break the write protection using Windows tricks. Do the following one by one:

  • Step 1. Expand menu " StartExecute" In the window that opens, enter “ cmd" and press " Enter" to activate the command line.

  • Step 2. In the window that opens, you will need to write the command “ diskpart" and press " Enter» to start a service that works with computer disks.

  • Step 3. A new window will open where you will need to write the command “ list disk" and press " Enter» to display existing hard drive partitions and USB drives. Your flash drive must first be connected to the computer.

  • Step 4. A list of hard drive partitions and connected storage devices will appear on the monitor, each of which is assigned its own number. In the same window, write the command “ select disk H", where instead of " H“You need to put the number under which your flash drive is located. Click " Enter».

  • Step 5. Once the flash drive is selected, enter the command " attributes disk clear readonly» to clear its attributes. Remember that all files from it will be erased. Click " Enter».
  • Step 6. Next, enter the command “ clean" and press " Enter» to clean up the disk.
  • Step 7. Since the flash drive has a file system format FAT32, we need to reformat it into the format NTFS. To do this, write the command “ format fs=ntfs" and press " Enter».
  • Step 8. The flash drive is formatted and now all that remains is to assign it a letter under which it will be displayed on the computer. To do this, write the command “ assign letter=K" and press " Enter" Instead of " K» You can set any other letter.

If this procedure does not lead to a positive result, then there is a possibility that the USB flash drive has a slightly different write protection system, which can be removed through the Group Policy Editor. To do this, do the following:

  • Step 1. Expand menu " Start" and left-click on the item " Execute" In the window that opens, write “ gpedit.msc" and press " Enter».

  • Step 2. In the window that opens, go to “ Computer configuration", then " Administrative Templates", then " System" and further in " Access to removable storage devices" In the window on the right, find the line “ Removable drives: Disable write"and look carefully at her condition. If recording prohibition is activated, double-click on the line to bring up the menu and set the status to “ Disabled" To finish, click the " OK».

  • Unfortunately, standard Windows tools cannot always solve this problem. Sometimes you have to resort to third-party utilities designed to recover and format USB drives. It is best to use the utilities, the disk with which is sold complete with the flash drive. But if you don’t have it, you can use the program HUDS Format Tool which is possible.

  • To format a flash drive using this program, connect the flash drive to your computer, download and run the program. In the window that opens, select your device from the list, set the file system format " NTFS", check the box next to the line " Quick formatting" and click the " Begin" After completing the formatting process, the flash drive should again be usable.
  • If none of the above methods helped you, then most likely the problem lies in physical damage to the device and the only way out of this situation is to purchase a new USB flash drive or memory card.

VIDEO: How to remove write protection from a flash drive?