Yes, you can disable write protection on an HP bootable USB, but the method depends on whether the protection is physical, software-based, or built into the drive itself

Write protection on a bootable USB drive prevents you from adding, deleting, or modifying files on it. HP bootable USBs often come with this protection to keep the boot files intact and prevent accidental changes. The good news is that in most cases you can turn it off — but you'll need to identify which type of protection is active first, because each type has a different solution.

Some HP USBs have a physical write-protection switch on the drive itself. Others use software settings in Windows or macOS. A few use drive-level protection that requires special tools. This guide walks you through each scenario so you can get back to using your drive the way you need to.

Key Takeaways

  • Check for a physical write-protection switch on the side or end of your HP USB drive — if one exists and is in the locked position, flip it to unlock.
  • In Windows, right-click the drive in File Explorer, select Properties, and look for a Read-only checkbox under the General tab that you can uncheck.
  • If Windows shows the drive as read-only but you see no checkbox, the protection may be enforced at the partition level and requires the Diskpart command-line tool.
  • macOS users can open Disk Utility, select the drive, click the Info button, and uncheck "Locked" if that option appears.
  • Some HP recovery or installation USBs use intentional write protection that cannot be removed without erasing the drive and reformatting it.

Check for a physical write-protection switch first

Before you try software solutions, look at the physical USB drive itself. Some HP USB drives have a small sliding switch on the side or end of the connector. This switch is usually labeled with a lock icon or the words "Lock" and "Unlock." If you see one and it's currently in the locked position, slide it to the unlocked position.

This is the fastest fix and solves the problem immediately. Once you flip the switch, Windows and macOS will recognize the drive as writable again. If your drive doesn't have a physical switch, move on to the software methods below.

Remove read-only status in Windows File Explorer

In Windows, the simplest way to check for write protection is through the drive's properties. Plug in your HP USB drive, open File Explorer, and locate the drive in the left sidebar. Right-click on it and select Properties from the menu.

In the Properties window, look at the bottom of the General tab. If you see a checkbox labeled "Read-only" and it is checked, click the checkbox to uncheck it. Then click Apply and OK. Windows will remove the read-only flag, and you should be able to write to the drive again.

If you don't see a Read-only checkbox in Properties, or if unchecking it doesn't work, the protection is set at a deeper level. Move to the Diskpart method below.

Use Diskpart to remove partition-level write protection in Windows

If the Properties method didn't work, the write protection is likely set on the partition itself rather than the file system. This requires the Diskpart command-line tool, which is built into Windows. Open the Start menu, type "Command Prompt," right-click it, and select "Run as administrator." If you see a User Account Control prompt, click Yes to continue.

In the command prompt window, type the following commands one at a time, pressing Enter after each:

  1. Type diskpart and press Enter. This launches the Diskpart tool.
  2. Type list disk and press Enter. This shows all connected drives. Find your HP USB drive in the list — it will be labeled as a disk number (usually Disk 1 or higher, not Disk 0, which is your main hard drive).
  3. Type select disk X (replace X with your USB drive's disk number) and press Enter.
  4. Type attributes disk clear readonly and press Enter. This removes the read-only flag from the entire disk.

After the command completes, close the command prompt and unplug your USB drive, then plug it back in. Windows should now recognize it as writable. If you still cannot write to the drive, the protection may be intentional and built into the drive's firmware, which typically cannot be removed without erasing and reformatting the entire drive.

Unlock a write-protected drive on macOS

On a Mac, open Disk Utility, which you can find by pressing Command+Space, typing "Disk Utility," and pressing Enter. Plug in your HP USB drive and wait for it to appear in the Disk Utility window on the left side.

Click on your USB drive to select it, then click the Info button (the circle with an "i" in it) at the top of the window. If the drive has software-based write protection, you will see a checkbox labeled "Locked." Click the checkbox to uncheck it and unlock the drive.

If you don't see a Locked checkbox, or if unchecking it doesn't work, the protection is set at the partition level. You can try selecting the partition (not the disk) in Disk Utility and checking for a Locked option there as well. If neither works, the drive may have firmware-level protection that requires reformatting.

Reformat the drive if protection cannot be removed

If none of the above methods work, the write protection may be built into the drive's firmware as a permanent security feature. This is common on HP recovery USBs and official installation media. The only way to regain full write access is to erase and reformat the entire drive, which will delete all files on it.

In Windows, right-click the drive in File Explorer and select Format. Choose a file system (NTFS for Windows, exFAT for cross-platform use), give it a name, and click Start. On macOS, open Disk Utility, select the drive, click Erase, choose a format, and confirm.

After reformatting, the drive will be completely blank and fully writable. Keep in mind that if this was an official HP bootable or recovery drive, you will no longer have those files on it. You can recreate a bootable drive using HP's Media Creation Tool or similar software if you need it again later.

Frequently Asked Questions

Why does my HP USB drive have write protection in the first place?

HP bootable and recovery USBs come with write protection to prevent accidental changes to critical system files. This protects the drive's ability to boot or recover a computer. If you created the drive yourself, the protection may have been added by the software you used to make it bootable.

Will removing write protection damage my HP USB drive?

No. Removing write protection simply allows you to modify files on the drive. It does not harm the drive itself. If the drive was originally a bootable or recovery disk, removing protection means you can now edit or delete those files, so be careful if you want to keep them.

What if Diskpart says "access denied" when I try to clear the read-only attribute?

This usually means you did not run Command Prompt as administrator. Close the command prompt, right-click it again, and select "Run as administrator." Make sure you click Yes on the User Account Control prompt. Then try the Diskpart commands again.

Can I remove write protection from an HP drive on a Mac and then use it on Windows?

Yes. Once you remove the write protection, the drive works the same way on any computer. The file system format may matter — if the drive is formatted as APFS (Mac format), Windows may not recognize it. Reformatting to exFAT or NTFS makes it readable on both systems.

Is there a way to remove write protection without using the command line?

For most cases, yes — check the physical switch first, then try the Properties method in File Explorer or Disk Utility. The Diskpart command line is only necessary if those simpler methods don't work. Some third-party tools like EaseUS Partition Master can also manage write protection through a graphical interface, though the built-in Windows and macOS tools are usually sufficient.