Advices for Life


August 24, 2016 23:11

How to remove write protection from a flash drive .This article tells you how to remove the write protection by using standard Windows tools

diskettes time long gone - they have come to replace disks, and after them flash drives.But despite the improvements in technology, flash drives have not been deprived of a particularly well-known since the days of using floppy disks.When you try to write a message you can give the following lines: "Disk is locked and can not be used for writing files."Fortunately, this problem can be solved quickly, but first, it should be noted, for what purpose set write protection on a flash drive: This functionality is designed to protect the drive against viruses that may infect your own removable media without any user intervention.

Options unprotect flash

In total, there are two basic ways to remove the protection from a flash drive: software and hardware.The latter method involves switching lock, which is present in some flash drives to SD-card.This switch is usually located on the side of the device.

Inspect your drive, get it open / closed padlock icon or an inscription «Lock».To remove the protect

ion, enough to move the lever in the opposite direction, and write protection is removed.Now just set the flash drive into the slot, and then retry the operation record file.

software unlock method involves the interaction of the controller flash drive and operating system.Removed write protection using the command line, registry or by using the Local Group Policy Editor (the latter option will not be considered, the first two is enough).

2 Remove the write protection from the stick using regedit

  • Open the "Start" menu, in the search field enter «regedit».When the search will find the program, right-click on the program and click "Run as administrator".
  • Now go to the path: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ StorageDevicePolicies
  • If this section does not exist on your computer, you need to create it.To do this, click on the «Control» folder, click the right mouse button and create a section called «StorageDevicePolicies».
  • Now create a parameter «DWORD» created in the registry branch.For convenience, we call this element, for example, «WriteProtect».
  • now is to make sure that the value «WriteProtect» is "0".Check this with RMB click on «WriteProtect».
  • Close the editor, remove the flash drive and restart your computer.Now a removable drive will operate in normal mode, allowing you to record files.

3 Remove the protection from the stick using Diskpart

If the first method does not cure you, then unlock the stick you can using Diskpart shell.We will not delve too much into the details of this tool, and immediately get down to business: open "Start" menu and enter "the cmd", click on a search result and run this program as administrator.

now need to enter the command «diskpart» and «list disk» (do not forget to press Enter).Next is to find out which has the serial number storage.This can be done focusing on the amount of storage.Select the desired USB flash drive using the «select» team, clear the attributes «attributes disk clear readonly».If the drive is formatted, then enter the «clean», creating a «create partition primary» section, we introduce another «format fs = ntfs» (or in the FAT «format fs = fat»).

all, you can now reset the stick you need the files, and any errors will not issue.