What does it mean that the disk is protected? How to remove write protection from a flash drive - step-by-step instructions


With development information technologies, floppy disks went out of use. They have been replaced by USB drives. It should be noted that flash drives have become more popular even than CDs and DVD discs. Removable media allows you to record information repeatedly.

Unfortunately, when users try to add new documents to the media, they may see the following message on the screen: “USB media is write protected.” Before you start eliminating the blocking, you need to figure out why the write protection of the flash drive worked.

Reasons for enabling protection

Before removing write protection from a flash drive, users are advised to consider the reasons for installing a protective function on the media. Protection is enabled for the following reasons:

  • The OS security policy has been configured. Thus, the system protects the user from loss of confidential information;
  • Computer infection by viruses;
  • Changing the volume attributes to “Read Only”;
  • Hardware write prohibition;
  • Firmware corruption.

Most of the reasons can be eliminated using the operating system. It is important to carefully familiarize yourself with the methods, and only then apply them.

Mechanical protection

Having discovered that the disk is write-protected, newcomers begin to panic. You need to calm down and try to correct the situation. First of all, it is recommended to inspect appearance USB media. Many flash drives have a miniature jumper, which serves as protection.

Having discovered a miniature “lever” on the body of a removable disk, users are advised to move it in the opposite direction. After this, you need to check the media by inserting it into system unit. It is best not to use front facing ports as they may have bad contact and the disk will not be detected.

If physical switching does not help, it is best to return the “lever” to its place and then move on to other methods. Some flash drives have writing on them. The jumper must be installed opposite “Unlock”. The same applies to the memory card used in cameras.

The registry as a means to disable protection

The Windows platform has a tool called the registry, which contains settings for programs and the entire OS as a whole. Sometimes there are situations when malware changes the registry value, as a result of which protection appears on the flash drive that prevents the writing of any types of files.

To change a setting, you must activate the editor system registry. To do this, open the Start menu, and then type “regedit” in the search bar.

It should be noted that the system registry can be launched using the task utility. To call it, press the combination of two keys Win + R. In the form that launches, type the word “regedit” and then click on the “OK” button.

After opening the system registry, users should open the branch: “HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Control”.

The next step is to find the “StorageDevicePolicies” subsection in the “Control” section. If such a directory does not exist, it should be added. It is recommended to press the right button of the manipulator under the “Control” section. As soon as the menu opens, you will need to select the “create” item, and then click on the “Section” inscription. New section, you need to name it “StorageDevicePolicies”.

Now we need to add a parameter. In the window located on the right side, you need to click right click mouse and then select New. When the submenu opens, it is recommended to select “DWORD Value (32 bits).”

It should be noted that the “StorageDevicePolicies” section with the “WriteProtect” parameter can be created, but its value will be “1”. To remove write protection, you need to set the value to “0”, after which it is better to restart the computer.

Working with CMD

Many users do not know how to remove protection from a flash drive using CMD commands. To launch the console, you need to launch the task execution utility, or open Start, and then type in search bar"cmd".

After starting the console, you need to use the Diskpart command. Immediately after this, another console will appear in which all actions will be performed.

Before removing protection, you need to decide on the disk. To do this, enter the command “list volume” in the console and then press Enter. After this, a table with all devices will appear. The last volume will be removable media. It is of a removable type, and will also have a size indicated (for flash drives, the size can be indicated in megabytes, i.e. for 8 GB it will be written 7788 MB).

The next step requires entering the command “Select volume #”, where instead of “#” the volume number corresponding to the removable media is indicated.

When the volume is selected, you need to use the “Attributes volume clear readonly” command. After that, just press Enter.

After the operation is completed, all parameters will be cleared and the write protection will be removed. To check, it is recommended to reinsert the USB flash drive and then send the files to the media.

Changing the security policy

If the disk is write-protected, it is recommended that you read the security policy. First, you should call the “Run” utility, and then enter “gpedit.msc” in the field. In the application that opens, you need to enter the computer configuration, and then expand administrative templates. In the list that opens, find the system, and then select “Access to removable storage devices.”

A list will be displayed in the right window. The user will need to find the parameter “ Removable drives: Disable recording." To start editing a policy, you need to “click” on the entry with the right button of the manipulator, and then select “Edit”.

Now remove the write protection by checking the box that says “Disabled.” You can get rid of a protected recording by checking the box that says: “Not specified.” After this, all that remains is to click on the “Apply” button and “OK”.

Application of specialized software

Users often have to deal with the fact that a USB drive is write-protected, but they do not know how to remove the protection. If manipulations with OS utilities did not work positive result, you should seek help from specialized software.

  • HP USB Disk;
  • JetFlash Recovery;
  • Apaser Repair.

Each program is unique and released by developers to recover specific flash drives. It is best to check with the manufacturer which program is best suited.

HP USB Disk Utility

If the flash drive does not allow the user to move or add files, and the manufacturer of the USB device is unknown, we recommend using the HP USB Utility Disk Storage Format Tool. The utility is distributed completely free of charge. Thanks to the program, it is possible to completely restore the operation of a removable disk. The only thing worth remembering is that all information on the media will be deleted.

After downloading the file, the program is launched as an administrator. The next step requires you to select the media and then format the flash drive. In this case, all parameters will be restored.

JetFlash Recovery program

This program is capable of correcting errors in USB drives manufactured under the Transcend brand, as well as A-data. The advantage of the utility is that it can:

  • Remove recording protection;
  • Correct block reading errors;
  • Recognize file system RAW;
  • Format the media without deleting data.

It is best to download the application from the manufacturer's official website. After downloading the utility, you must run it as an administrator. After this, you can begin to resuscitate the host, remove the protection or select any suitable action.

Application from Apaser

The utility is designed to resuscitate flash drives produced by Apacer Technology Inc. The application allows you to:

  • Format the device;
  • Eliminate the protective function;
  • Fix block reading errors.

After downloading and launching the program, a form with a “Format” button will appear. After clicking it, the disk will be formatted. The data will of course be deleted, but the write protection will be eliminated.

The program can be downloaded from the official Internet resource. Even a beginner can handle managing the program.

Other ways to “treat” the carrier

If all of the above methods do not help, all that remains is to infect the host with viruses. First of all, you should check USB drives for viruses. This can be done by anyone antivirus programs. It is also recommended to check the media with Anti-Autorun utilities.

Even if antivirus software detects Trojans and other malware, it is recommended to format the flash drive. It can be done using Windows. If all else fails, your best bet is to boot into safe mode, and then repeat the procedure. To do this, you need to restart the computer, and when it turns on, press F8. After this, you need to select a download method. When the computer turns on, you just need to format it.

It is important to note that before performing any procedure, it is recommended to check how full the disk is. Maybe it's just full disk space, That's why new file cannot be recorded. This can be done by opening the media properties and first opening “My Computer”.

Conclusion

Faced with blocking the recording of information on removable media, many users despair. There is no need to be upset, because in 90% of cases, the methods described above allow you to restore the functionality of the flash drive. There's no need to rush. It is necessary to gradually test each of the existing methods.

In the event that nothing helps, then something happened physical damage carrier. Of course, in this case, you can restore everything, but you will have to contact the experts. It should be noted that this is not profitable. The cost of repairs may be more expensive than the cost of new removable media.

How to remove write protection from a flash drive

One of the most reliable means of storage personal information, is a flash drive. For many, such a device becomes the first assistant in their work; it can be used to easily carry necessary information just in your pocket. If we're talking about about storage safety various programs and files, it is not uncommon to use a special software(BY). It is designed to protect the media from copying, deleting or moving materials, as well as from reading, without entering a special code.

But even if you haven't used similar programs, and when you run the command to transfer its contents, an error appears: “The disk is write-protected,” don’t panic, establish the reason and use the suggested methods. Removing protection from a flash drive is not a difficult task at all, and most importantly, it can be solved and is more economical than buying a new one.

Causes

A flash drive can be blocked for many reasons. The most common ones are listed here:
  • Incorrect Windows settings, for example, a software ban installed in the operating system;
  • Malfunction of the media, often poorly produced “flash drives” - Chinese fakes world leaders;
  • The physical switch is in the wrong position;
  • The host is infected with a virus;
  • Malfunction USB port ov computer;
  • Lack of a driver responsible for correct device recognition;
  • Incorrect use. For example, you cannot remove the media until the process is completed: writing, downloading, renaming, moving or reading;
These are not all the reasons that cause the consequences of the write protection of the media being triggered. But if you still encounter a similar error, this does not mean that you need to change the flash drive.

Proven methods for removing protection from a drive

On the Internet, a lot of recommendations are described for getting rid of such a problem, both hardware and software, and most importantly, the authors of such posts write that his method is “the best.”

We present to your attention “TOP 7 effective ways» how to remove write protection from a flash drive, all of them have been tested and confirmed by a large number of users.

Hardware method using Windows command line
First you need to start the line, we do this by simultaneously pressing two keys on the keyboard: Windows + R. The “Run” window will open and enter the command “ cmd"and press the OK button;

The system response is to open the command line;

Required to enter " Diskpart»;

and press Enter. A new window will open - disk management program;

To continue, enter " list disk", confirm the action by pressing the Enter button;

In the window that opens, a list will appear on which you need to determine the number required media, focusing on the amount of memory, in our case it is Disk 5 - an 8Gb flash drive. Select a disk using the command: select disk )(, where -)(, this is the disk number, in our case 5;

After it has written to you: “Disk selected )(”, enter the following command, which will remove the block from all protected files that had a “read-only” error when opened. Command: attributes disk clear readonly(can be copied);

When “Disk attributes have been successfully cleared” is displayed, you can exit the program by entering the “Exit” command.

After closing the utility, check the media for functionality. Once you are confident in the operation of the method, you can continue to use the device without extra costs.

Virus scanning
One of the most relevant ways to solve this problem is also to scan the media for virus infection. To do this, you will need to go to “My Computer” and right-click on the name assigned to the device by the operating system, for example, “Disk Z”.

Then select “Check for viruses” in the menu. After a few minutes, the scanning result window will appear on the screen. This method can be applied to any antivirus software installed on your PC.

The flash drive can be write-protected by unauthorized installation of virus software. A clearly demonstrated method will help solve this problem and also protect your computer from automatic installation unnecessary gadgets.

Hardware button on the carrier. Mechanical protection
Some USB portable storage models have built-in security that can be turned on/off using installed button. Be sure to pay attention to this; to allow recording and moving, the button must point to the “open lock.”

Formatting
Often, to eliminate such an error, utilities created for formatting are used. Remember, using this method will completely delete all files from the media.

Application group policy Windows
It is possible to restrict local rights group policy, the elimination of such infringement of rights must be carried out following the algorithm:
Press Windows + R at the same time and enter the command gpedit.msc, click OK;

In the window that appears, go through the tabs sequentially:

  1. Computer configuration;
  2. Administrative Templates;
  3. System;
  4. Access to removable storage devices.

By clicking twice, an option window will open;

Check “Disable” → “Apply” → and confirm by clicking “Ok”.

By completing such a simple process, you can easily remove the interference in the infringement of the rights to use the media and continue working.

Programs to fix errors

If the above methods hardware elimination did not give the desired result, it is worth trying using software.

Soft disks are designed for expensive storage media; for less valuable storage devices there are also a lot of programs, for example:

JetFlash Recovery Tool - free program freely available, intended for media from A-Data and Transcend. Its main functionality includes the ability to eliminate writing and reading errors, as well as unlocking. After downloading the utility from its creator’s resource, run it using the file of the same name, .exe format. After waiting for installation, click the JFRecoveryTool.exe shortcut. When the working window opens, insert the USB flash drive into the USB input and click “Start”. After the process is completed, check the drive to see if the error has been resolved.

Apacer Repair- the utility is created individually for media produced by Apacer Technology Inc, and is also applicable for third-party drives. The functionality can eliminate recording problems. It is recommended to download the program from official resource, where it is hosted and available completely free to download. After completing the download process and connecting the USB drive, run the utility. First of all, she will do the formatting, for which there will be a warning. By clicking “Format”, the successfully completed process will allow you to forget about the recently disturbing problem.

Knowing the brand name of your carrier, it will not be difficult for you to select the required program; there are tons of them on the Internet. Precisely for the solution similar problems manufacturers create them and post them on Internet resources; it is worth noting that they are all freely available.

It is not always possible to determine the true cause of a malfunction and remove write protection. But having used the above methods, based on the result you will understand exactly what to do next: safely use a working device, or buying a new one will become an inevitable event.

We do not guarantee the safety of information!

Hello! Today we will look at the question of how to remove write protection from a flash drive? When this problem occurs, a window pops up with the following message: “Remove protection or use another disk” or “The disk is write-protected, remove protection or use another disk.” This feature allows you to protect data on a removable drive without changing it. The problem is that it is impossible to write other information to such a drive. Fortunately, there are many ways to disable protection using the advanced settings of your personal computer.

Some models of removable devices are equipped with special levers for write protection. To remove protection from a disk, you first need to check it for the presence of a physical switch. If there is one, then you need to make sure that the lock on the USB device is removed. If the lever is broken, you will have to purchase a new drive.

Why is the flash drive write protected? You need to check whether the disk is filled to capacity with information. A write error message may appear in cases where the free space on the flash drive is exhausted. To see the quantity free space just go to standard file manager"My computer". Even in cases where the disk is not completely full, an error may occur because the file is too large to copy.

How to remove write protection? It is advisable to check the file properties. Sometimes it happens that the copied information is protected from being written to a flash drive, and not the removable disk. To change file attributes in Windows environment, you need to right-click on it and select “Properties”. Uncheck the box next to “Read Only” and click “Apply”. On Mac systems hold down Control, click on the file, then select “Get Info”. Go to “Sharing & Permissions” and in the “Privilege” column set the value “Read & Write” for your username.

To scan drives, you can use a utility called UsbFix. This is an open source program source code, designed to find problems related to removable drives and USB drivers in a Windows environment. You can download this application for free. After starting the program, you need to click on the “Research” button. When the scanning process is completed, click on “Clean”. After this, the removable disk can work as expected.

Scanning with antivirus

Write protection on a flash drive may be associated with infection of the device. The surest sign is a strange file extension on removable device. It is necessary to check the drive for viruses and malware. You need to scan the flash drive every time it is connected to any other computer. Many antivirus scanners can be customized for automatic check removable drives immediately after connection. If there is no such function, then you can right-click on the flash drive and select “Scan with antivirus”.

The next step is to scan your computer for viruses and other malware. If every removable drive you insert into your computer automatically becomes write-protected, then this is a sure sign of infection. In this case, you need to launch as quickly as possible antivirus scanning the entire computer using a program specially designed for this. For example, you can use Malwarebytes Anti-Malware or Dr.Web Cureit! , protecting against most known viruses. These programs are available for free download. I use the latter (does not require installation and after checking the computer and removing viruses, it can be removed painlessly).

Disabling protection via the command line

If all of the above methods did not help solve the problem and the flash drive says “The disk is write protected,” then you need to move on to more advanced settings. Need to run command line on behalf of the administrator. If a protected flash drive operates in Read-Only mode, this can be fixed:

To do this, click on “Start”, “All Programs”, “Accessories”.

Right-click on “Command Prompt” and select “Run as administrator.”

Now enter “.diskpart” and press Enter.

Thanks to this in separate window The command line will launch the DiskPart utility. All windows must be left open.

Type “.list disk” and press Enter. This command will display a list of drives connected to the computer.

We find it in the list USB drive. All connected partitions are displayed here (including internal ones) hard disks). There are also several columns of information that you can use to identify your external drive.

The "Ltr" column displays the corresponding drive letter for each partition. Not all sections will have letters. If you previously assigned a name to the removable drive, it will be indicated in the “Label” column. In the “Type” column you need to look for “Removable”. The “Size” column helps distinguish 2 similar drives if they have different amounts of memory.

You need to enter the command “.select disk X”. In this case, we replace “X” with a number from 1 column, which corresponds to the removable disk. For example, if the flash drive corresponds to the value “Disk 5”, then enter “.select disk 5”. Now you need to type “.attributes disk clear readonly” and press Enter. This will change the properties of the removable disk, making it non-read-only.

Now all that remains is to enter “.exit”, press Enter and check the flash drive again. After DiskPart program will close, you can try to write something to a removable disk. You may have to remove and then reinsert the drive to get it to work.

If the command prompt window did not help solve the problem, then remove the write protection using the following method.

Disabling protection using the registry

Open the registry editor. If DiskPart commands didn't fix it external drive or it is read-only when connected, then you may need to change Windows registry. It controls the operating system, so changes must be made with extreme caution. To open the registry editor, you will need the Win + R key combination, after which you need to enter the “regedit” command. If you are not an administrator, you will need to enter a password.

How to remove protection from a flash drive? We use the navigation tree on the left to open the desired location. To do this, you need to expand and collapse the items on the left to get to the following location: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies. If you don't have a "StorageDevicePolicies" folder in the "Control" directory, then you need to right-click anywhere, select "New" and "Key". Let's call it "StorageDevicePolicies" and open it.

Double-click on the “.WriteProtect” entry. This will open an editing window. If you don't have a ".WriteProtect" entry because "StorageDevicePolicies" was created, you need to right-click inside the folder and select New, DWORD (32-bit). Let's call it “WriteProtect” and save it. Now you need to double-click on it to open the editing window. Change the “Value data” entry to “.0”. This will disable write protection on all removable drives. Close the registry editor and restart the computer. From this moment the flash drive should be unlocked.

Disabling protection using formatting

If all of the above methods did not help, and write protection of the flash drive is still a problem, then it’s time to move on to the most radical actions and format the removable drive. This will delete all data on the flash drive, but may make it work again. Reboot the computer in safe mode. It is impossible to format the drive correctly while in normal mode operating system. You need to have time to press the F8 key before the computer starts loading Windows. Select from the list of download options " Safe Mode with Networking".

After downloading, go to “My Computer”. This window displays all hard drives and USB flash drives connected to the computer. It can also be opened through the Start button menu or using the Win + E key combination. Right-click on the removable drive and select “Format”. As a result, the corresponding window will open.

In the “File System” menu, select FAT32. When formatted, this will make the drive compatible with most computers and other devices. If the disk capacity exceeds 32 GB, then you need to select exFAT. The NTFS file system is only suitable for Windows PCs and is not used on other devices.

Uncheck the box next to “ Quick formatting" and press the "Start" button. Windows will begin the process, which may take some time. Once complete, you can check the flash memory. If the problem is still not resolved, then we can conclude that the flash drive is physically damaged and cannot be restored.

Disabling protection on OS X

On a computer running OS X, the problem can be resolved in another way. To do this, open Disk Utility. The permissions for your drives may be corrupted, but this can be fixed. Disk Utility is located in the Utilities folder. On the left, select a write-protected device (the Disk Utility window should list hard drives, CD drives, and all connected drives). Click on the “First Aid” button. Once confirmed, OS X will begin scanning the drive and attempt to fix any problems it finds. It can take some time. If you use more early versions OS X, then you need to go to the “First Aid” tab and click the “Repair Permissions” button.

If the flash drive still does not work, you can try formatting it. The NTFS file system is not suitable for OS X. Formatting will erase all data on the drive, but may restore it to normal operation. Open the Disk Utility application in the “Utilities” folder and select the write-protected flash drive (it will be displayed in the left frame). Select the desired file system and click the “Erase” button to start formatting. Video on the topic of removing write protection from a flash drive.

It’s a shame and a shame when you have a flash drive, but you can’t transfer information from your computer to it. When you try to perform this action, the operating system calmly says: “No.” And of course, immediately “dark thoughts” immediately creep into your head: they say, the data is not loading, which means the USB drive is broken, as they say, it has given up its life. However, one should not rush to make such statements. The file or folder may not be transferred to the flash drive due to the fact that it is write-protected. That's all!

Protection is divided into hardware and software. Accordingly, for each type of blocking entries are applied various ways shutdowns. Let's learn how to use them. Don't lie idle removable storage, especially if it is brand new, just purchased.

Hardware protection

On new flash drives, to remove write protection, sometimes it is enough just to change the position of a special lock installed on the case. It is he who completely disables/enables write blocking. So inspect your device, if it has such a switch, slide it in the opposite direction and try again to move the necessary folders from the computer.

Software protection

WITH software locking the matter is a little more complicated. You will need to perform some manipulations with system options and directly with the protected flash drive. The focus of the effort will depend on the shutdown method used. Let's consider separately how to perform them correctly.

Note. If the guide you choose fails to remove the write blocking, try using another one. The effectiveness of the “recipe” depends on the specifics of the defense mechanisms.

Method #1: Unlock using formatting

If you don't have valuable information on your drive, do the following:

  • click on its icon in system window right click. And then in context menu click "Format...";
  • in options set file NTFS system, and the size of the distribution unit (cluster) is 4096 bytes;
  • click "Start";
  • Once the procedure is complete, move the files to the drive from the computer’s memory.

Advice! If you don’t know how to quickly clear a flash drive of all data, or files from the flash drive are not deleted (selectively), also use the formatting function.

Method #2: eliminating viruses

Some computer malware mischiefs in a special way. Having infected a flash drive, they make sure that nothing is deleted on it and nothing is written to it. That is, they completely block access. Therefore, before plunging into the wilds Windows settings and go into painful research like “why it is impossible to delete and write”, check the USB drive with an antivirus and, if necessary, destroy the blocking viruses found.

Method #3: Disabling the ban in Windows

Prohibition of recording on external storage can be enabled directly in Windows. Check the status of this add-on. If enabled, disable:

1. Press "Win+R".

2. In the “Run” panel, type - gpedit.msc, click “OK”.

3. In the Local Group Policy Editor, in the “Computer Configuration” section, open: Administrative Templates → System.

4. Click on the “Removable Storage Device Access” folder. In the adjacent block, double-click on the “Removable disks” option. Deny recording."

5. Click the Disable radio button, then Apply and OK.

Note. If this add-on has been disabled, it means that the recording is blocked for another reason. Follow method #4 or #5.

Method #4: Unlock via command line

1. Click the Start button. Type cmd in the “Search” line.

2. Right-click on the icon of the same name that appears at the top of the panel.

3. In the list of functions, click “Run as administrator”.

4. In the command line console, enter the directive - diskpart. Press "Enter".

5. In the utility line, type - list disk and press “Enter” again.

6. In the list of connected drives, find the flash drive (it’s easy to find by size; see the “Size” column). Remember it serial number(eg Disk 2).

7. Execute the following list of commands (enter them in the line, and then press “Enter”):

  • select disk
  • clean
  • create partition primary
  • format fs=ntfs

Wait for the operation to disable the protection to complete (the progress is displayed in the line ... percent completed).

Method #5: registering the key in the registry

1. In the Start window, type - regedit. Click on the editor icon.

2. Open the section:

HKEY_LOCAL_MACHINE → SYSTEM → CurrentControlSet → Control

3. If there is no “StorageDevicePolicies” section in the “Conrol” branch, create it:

  • right-click on the “Control” folder;
  • select: Create → Section;
  • give the section a name - StorageDevicePolicies.

4. In the StorageDevicePolicies branch, create an entry:

  • in the adjacent block (on the right side of the directories) right-click;
  • click: New → DWORD Value (32 bits);
  • Give the parameter a name - WriteProtect.

5. Set the value in the created key to 0 (click twice on the entry, enter the number in the “Value” column, click “OK”).

6. Reboot operating system. Connect the flash drive.

Method #6: unlocking with special utilities

If you are not computer savvy or prefer automated methods of changing settings, then it is better to use the services of special assistant programs. Here are some solutions that have proven themselves in practice:

The utility removes write protection on Transcend, JetFlash, A-Data flash drives (only on them!). After launch, it detects the media and corrects the problem. To download the Recovery Tool, go to the brand’s website - http://ru.transcend-info.com/. Type Recovery in the search bar. In the search results, click the JetFlash Online Recovery link.

Apacer Repair V2.9.1.1 - powerful tool. Helps users when standard means The lock cannot be removed. The utility supports removable media manufacturer Apacer.

Good luck unlocking your flash drive!

Sometimes there are cases when it is impossible to format a USB flash drive or SD card, transfer or write data and information to them. Windows system will give an error, the flash drive will give an error message: " The disc is write protected. Remove protection or use another drive" (The disk is write-protected). Many devices come with a locking lever on the flash drive itself. Make sure that the lever on the drive itself is set to the "unlocked" position. Unfortunately, in some cases, devices can be physically damaged, which will lead to the purchase of a new one If you are sure that everything is in order: the lever is unlocked, the device has not been subjected to physical shock, then we will consider ways to revive drives and try to remove write protection from flash drives and memory cards.

Remove write protection from a flash drive using Registry Editor

  • Press a combination of buttons Win+R and enter regedit to enter the Registry Editor.

Follow the path:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies

  • If you don't have a parameter StorageDevicePolicies, then create a partition named StorageDevicePolicies by right-clicking on the folder Contorl. If there is a value, then see below what parameters should be.


  • Go to the created StorageDevicePolicies folder, select it, and right-click on the empty field with the right mouse button and Create > DWORD value (32 bits). Give it a name WriteProtect and meaning 0 . To assign a value, simply click on the key WriteProtect twice and write 0 in the field. If this method did not help, then see below.


The flash drive is write-protected How to remove protection using CMD

Insert the flash drive into the computer's USB port and launch the command line. To do this, click “search” in the line write “CMD” and right-click on the results “Command Prompt” “Run as administrator”.

Enter following commands to the command line, you can look at the picture.

  • Dial diskpart, after each set, press enter.
  • list disk, shows which drives are connected to the computer. The flash drive in my case is located Disc 1 size 7640 MB.
  • select disk 1, where 1 is the disk number which is shown above. Disc 1 in my case this flash drive.
  • attributes disk clear readonly- clear the attributes of the flash drive.
  • clean- clear the flash drive.
  • create partition primary- create a section.
  • format fs=fat32-format to FAT32. (You can change fat32 on ntfs, if you use a flash drive only on Windows systems.)


Remove write protection using Group Policy

Click win+r and type in the line gpedit.msc.


Navigate to the following paths: Computer configuration > Administrative Templates > System > Access to removable storage devices. On the right, find the items "Removable drives" and turn off by pressing twice the required line- write, read, execute, if enabled.








2024 gtavrl.ru.