• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Are you having HotKey issues? Click here for tips and tricks.
HP Recommended
HP Pen Drive 3.1

My hp pen drive 3.1 is not working properly & I'm unable to format because the pen drive is write protected error.

Please resolve asap. 

1 REPLY 1
HP Recommended

Hi @NR852,

 

Welcome to The HP Support Community.  

 

Thank you for posting your query, I will be glad to help you.

 

I understand you are facing an issue with your HP Product. Not to worry I will help you to get a resolution to resolve the issue.

To resolve the write protection issue on your HP pen drive, follow these steps:

Method 1: Check for Physical Write Protection Switch

  1. Inspect the Pen Drive: Some USB drives have a physical switch that enables write protection. Check the drive for any switches and make sure it is set to the "unlock" position.

Method 2: Use Diskpart Command

Open Command Prompt:

  • Press Win + X and select Command Prompt (Admin) or Windows PowerShell (Admin).

Run Diskpart:

  • Type diskpart and press Enter. This will open the Diskpart utility.

List Disk:

  • Type list disk and press Enter. This will show you all the connected drives.

Select Your USB Drive:

  • Identify your USB drive from the list (note its disk number) and type select disk X (replace X with your USB drive’s disk number) and press Enter.

Remove Write Protection:

  • Type attributes disk clear readonly and press Enter. You should see a confirmation message.

Format the USB Drive (if needed):

  • After clearing the write protection, type format fs=ntfs quick (or format fs=fat32 quick for a different file system) and press Enter.

Exit Diskpart:

  • Type exit and press Enter to close Diskpart, then close the Command Prompt.

Method 3: Check for Malware

Sometimes, write protection can be triggered by malware. Run a full system scan using Windows Defender or any trusted antivirus software to ensure your system is clean.
 

Method 5: Try on a Different Computer

If none of the above methods work, try connecting the USB drive to a different computer to see if it functions properly there.

 

I hope this helps. 

 

Take care and have a good day.

 

Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. 


A_Gayathri
HP Support Community Administrator.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.