The iPad resets the what to do page. Fixing a script error in Windows. Reasons for crashes and page reloads

The iPad resets the what to do page. Fixing a script error in Windows. Reasons for crashes and page reloads

Any storage device, be it SD cards, microSD or USB flash drives, is subject to such an error as the inability to work with saved files, or rather a notification "Storage is write protected". The question of how to remove this protection on a phone or computer is becoming relevant among thousands of users. Next, you will be presented with easy and more complex solution options, but basically everyone can figure them out.

Removing recording protection on your phone and memory card

Below we will present all the current methods and solutions that you can apply on your device. Choose the easiest one for yourself and act.

SD cards and microSD

The solution with microSD will mean Android phones (Samsung, Nokia, Xiaomi, etc.), so feel free to apply the described unlocking methods to your smartphone.


If the "Storage is write-protected" notification appears when deleting through the Gallery, try opening folder from the photo and remove files from there. Most file managers also solve this issue. For example, Total Commander will present a dialog to remove protection.

Here Video instruction with clear explanations on formatting memory via the command line.

USB flash drives

Although the described steps can still be applied to any memory cards, it is still better to relate them more to a USB flash drive.

  1. Some manufacturers have decided to personally address the issue of simply removing protection from a flash drive. All this resulted in the creation of utilities for unlocking data. Most of them restore functionality through formatting. An example can be given Hard Disk Low Level Format Tool, but there are other programs. There is nothing complicated about them; any user can understand them.
  2. Another option is to try your luck through "Local Group Policy Editor". Enter the command gpedit.msc in the menu called up using WIN+R. A multi-step editor will open. The first point will be "Computer Configuration". Click on the triangle next to it. Come up with the following options. Select the system and then "Accessing removable storage devices". In the right window we find “Removable drives: Deny reading”. It should be “Not set”, if not, then enable this combination by clicking on the parameter.

Conclusion

After all, the “Storage is write-protected” notification may indicate a technical failure of the media, which indicates its replacement. You can check the performance of the memory at a service center, however, you should make sure that you cannot remove the protection using the methods described above.

As always, the problem happened at the most inopportune moment. If you started reading this article, then you turned out to be one of those “lucky” people who at one point decided to put something on your flash drive, but in the end received a message from the system that you cannot write data to the disk and now this very protection needs to be removed. A person who has encountered something like this for the first time reasonably appears completely bewildered. Let's try to find out the reasons why we can't write files to a flash drive and figure out how to fix this problem.


Content:

Causes of the error “The disk is write-protected. Remove protection or use another disk."

It is quite logical that such a problem arises if the operating system queries the disk, but does not receive write rights. In this case, it is not possible to write files, although at the same time data can be read without any problems. The reasons for this behavior vary, but clearly fall into two groups:

  1. Software glitch.
  2. Hardware failure.

It is important to understand that both types of problems can happen both on the flash drive and on your computer.

Types of write protection

By analogy with the causes of errors, write protection methods can be divided. A classic example of hardware protection would be the presence of a special switch (on the body of a flash drive) that turns on and off the ability to write to a flash drive.

Software protection consists of various types of software systems designed to prevent unauthorized use of the drive.

When deciding how to remove the protection if “The disk is write protected”, first of all check if there is a special small switch on the case. It is always present on SD cards, and is somewhat less common on regular USB drives. Accidental switching is not uncommon when a flash drive is carried in a pocket.

Also, be sure to check the functionality of the flash drive in other USB ports, or even better, on another computer. If you are the owner of a desktop computer with a system unit, it is preferable to check the flash drive by connecting to the ports on the back wall of the system unit. The problem may lie in poor contact, poor-quality wires, or failure of the USB controller.

Software removal of write protection

After making sure that there is no mechanical protection problem, we proceed to checking the software.
By default, the flash drive is formatted using the FAT32 file system. A small number of users are aware of the limitation in this file system to the maximum file size of 4Gb. This results in a twofold situation: formally there is permission to write, but a message about the impossibility of doing so appears. If you need to transfer large files, format the drive using NTFS - a system where there are no such restrictions. To do this, open “My Computer,” right-click on your removable drive and select “Format.” In the window that appears, in the “File system” line, select NTFS, click “Start”.

Important! It is always better to use “safe removal” before removing the flash drive from the connector. Due to some features regarding flash drives formatted in NTFS, this should be a mandatory rule.

The blocking can be set in the Windows registry. The Windows key combination + R will open the Run window, type regedit and click OK.

In the editor window, go to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies section, where you will see the WriteProtect parameter on the right. Double-click on the parameter to open a dialog for changing the parameter, set the value to 0. The StorageDevicePolicies section may be missing and you will have to create it. To create, right-click the previous Control section, select “New > section”, the name should be StorageDevicePolicies. In the empty area on the right side of the window of the newly created section, right-click again, select “New > DWORD Value” in the menu, select bitness 64 or 32, depending on the bitness of your system. Name the parameter WriteProtect and set the value to 0 as described above. Be sure to reboot and check the result.

Make sure that recording to removable devices is not prohibited by group policy. Similarly to launching the Registry Editor, execute gpedit.msc, which will bring up the “Local Group Policy Editor”. Follow the branches “Computer Configuration - Administrative Templates - System - Access to Removable Storage Devices”. On the right, check the “Removable drives: Deny writing” option. It should be disabled or not set. If the option is enabled, double-click on it, select Disable, and apply the selection. Don't forget to reboot before checking.

Check the system with a good antivirus with the latest databases. There are a number of malicious programs that block the ability to work normally with connected portable storage devices.

A significant number of Windows users prefer the Total Commander file manager, which offers extensive features and ease of use. It is important to understand that Total Commander is essentially just a convenient add-on for Windows, so everything described in the article applies to it. However, there are nuances. Try copying your files in Windows Explorer, if there are no problems with copying in Explorer, open “Configuration > Settings: File Operations” and select “Automatically select copy method”. The authors of some builds of this manager set settings that cause such failures.

Remove write protection in the command line (cmd)

How to remove protection from a write-protected flash drive using the command line. The method is a little more complicated. Find the Command Prompt application in the Start menu and run it with administrator rights. Next, enter the following commands sequentially, confirming each entry by pressing Enter.

Attention! All contents of the flash drive will be deleted permanently!

  1. Diskpart– launches the disk management utility;
  2. list disk– will display all disks connected to the system, you need to determine which of them is your flash drive, for which you can use the size of the disk;
  3. select disk X– targets the program to a disk; instead of X, specify the number of the desired disk;
  4. detail disk– will show detailed information about the selected disk to ensure that the choice is correct;
  5. attributes disk clear readonly– resets the read-only attribute;
  6. clean– all volumes and partitions on the disk will be deleted;
  7. create partition primary– re-creates the main partition;
  8. formatfs=fat32– formats the partition using the FAT32 file system (you can select the NTFS file system with the commandfs=ntfs);
  9. exit– terminates the program.

Programs for removing write protection

Flash drive manufacturers take care of solving various types of problems that arise with their products, releasing proprietary utilities for restoring problematic devices. Do not forget that you must run any of these utilities with administrator rights. These useful programs can be freely downloaded from the respective manufacturers' websites. Transcend calls it , Silicon Power calls it , Adata calls it , Kingston calls it . Their use is quite simple and does not cause difficulties even for beginners.

The programs listed below are designed for advanced users and you should read the documentation before using them. Independent developers release their own universal programs that are not tied to any vendor, but have similar functionality.

Popular representatives:,AlcorMP.

The latter only works with drives on the controller of the same name, but all have the same task - to help restore the problematic device. When faced with finding a solution to how to remove protection from a flash drive, as a last resort, you should try to reflash it. It will tell you complete information about the type of controller, the memory used and even the production date.

MiniTool Power Data Recovery is a specialized program for recovering external storage media, such as flash cards,…