cancel
Showing results for 
Search instead for 
Did you mean: 
Kalyan1999
New member
4 2 0 0
Message 1 of 4
206
Flag Post

pendrive was right protected

HP Recommended
HP x765w
Other

Hi everyone 

   i want one help from your side . My hp x765w 128 gb pendrive is write protected . im also tried several methods (command promt and many etc.,)  to prevent that issue but no use u have any idea for that issue please share your answer . Thank you

3 REPLIES 3
KrazyToad
HP Support Agent
HP Support Agent
22,734 22,721 1,363 1,380
Message 2 of 4
Flag Post
HP Recommended

@Kalyan1999

 

Welcome to HP Community

 

I have gone through your Post and would like to help

 

Please try these steps and let me know how it goes

 

Step 1. Type: Regedit in the search box, click "Regedit.exe" to open the Registry editor.

Step 2. Navigate to: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorageDevicePolicies

Step 3. Double-click on the "WriteProtect" value in the right-hand pane of Regedit.exe.

Step 4. Change the "Value" data from "1" to "0" and click "OK" to save the change.

Remove USB write protection by changing its key from Registry.

Step 5. Close Regedit and restart your computer.

 

Thank you

 

If the information I've provided was helpful, give us some reinforcement by clicking the "Solution Accepted" on this Post and it will also help other community members with similar issue.
 

KrazyToad
I Am An HP Employee

0 Kudos
Kalyan1999
Author
New member
4 2 0 0
Message 3 of 4
Flag Post
HP Recommended

All are good but last option StorageDevicePolicies  is not there in my computer . please help me.

0 Kudos
The_Fossette
HP Support Agent
HP Support Agent
29,155 29,140 1,953 2,593
Message 4 of 4
Flag Post
HP Recommended

@Kalyan1999,

 

Follow the below steps and check if it helps.

 

  • Step 1. Connect your flash drive to the computer, and launch a command prompt by searching for cmd.exe or "Command Prompt" in the Start menu.
  • Step 2. Type the following and press Enter after each command: diskpartlist diskselect disk #(# means the name of your write-protected disk), attributes disk clear readonlycleancreate partition primaryformat fs=ntfs.

fix write-protected flash drive - Diskpart Command

  • Step 3. Exit the Command Prompt.

If you wish to show appreciation for my efforts, mark my post as Accept as Solution. Your feedback counts!

 

Cheers!

Stay Home – Stay Safe

The_Fossette
I am an HP Employee

0 Kudos
Warning Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation