U盘工具屡屡被杀毒软件报毒误删?U盘屡屡被病毒入侵?给U盘一个保障,完全屏蔽杀毒软件的骚扰!

USB Drive Tools Repeatedly Flagged by Antivirus? USB Drives Frequently Infected? Protect Your USB Drive and Completely Eliminate Antivirus Annoyances!

Recently, a classmate mentioned that files on their USB drive keep getting deleted by antivirus software, and they’re also worried about their USB drive getting infected. They wanted a universal solution to address both issues simultaneously.

Analyzing the above requirements, it’s not hard to see that as long as we prevent write operations to the USB drive, we can simultaneously stop antivirus software from mistakenly deleting files and prevent virus infections.

The operation that meets these requirements is called: USB Write Protection.


What is USB Write Protection?

Under normal circumstances, files on a USB drive can be arbitrarily deleted or written, and the drive can be formatted or have its partitions deleted at will.

However, once USB write protection is enabled, the drive cannot be written to, files cannot be deleted, and it cannot be formatted. We can only view and read the files on it.

In simple terms, we cannot delete files, format partitions, or add new files to a write-protected USB drive.

If we can’t do these things, then naturally, viruses and antivirus software are also powerless against this USB drive.


How to Enable USB Write Protection?

To enable write protection on your USB drive, follow these steps:

  • First, insert the USB drive and open the “Disk Management” tool.
  • In Disk Management, identify the disk number of your USB drive. (For a computer with only one disk, the internal disk is “Disk 0”, and the newly inserted USB drive is “Disk 1”.)
  • Press the Windows logo key + s, type cmd in the search box, and open Command Prompt.
  • Type diskpart and press Enter to open the DiskPart disk management tool.
  • Type list disk and press Enter to list all disks on your computer.
  • Type select disk X. Replace “X” with the number of your USB drive, which is the “X” in “Disk X” you saw in Disk Management.

In fact, after typing list disk and pressing Enter, the items displayed by DiskPart correspond exactly to the disk numbers and detailed information shown in Disk Management.

You can determine which disk is your USB drive by its capacity.

Generally, if your computer has only one disk, after inserting the USB drive, its number should be Disk 1.

In other words, at this step, type select disk 1.

  • Type attributes disk set readonly and press Enter to enable write protection on the USB drive.
  • Close the Command Prompt window.

Now, USB write protection is enabled. You cannot write or delete files on the drive—only read them (read-only mode).


How to Disable USB Write Protection?

When you need to write files to the USB drive, you’ll need to disable its write protection. The method is largely the same as above.

  • Confirm which disk number your USB drive is (using list disk).
  • In DiskPart, type attributes disk clear readonly and press Enter to clear the disk’s write protection.

Now, USB write protection is removed, and you can read and write to the USB drive normally.


U盘工具屡屡被杀毒软件报毒误删?U盘屡屡被病毒入侵?给U盘一个保障,完全屏蔽杀毒软件的骚扰!
https://en.lvlele.top/028-u-disk-virus-protection/
Author
Lvlele 吕了了
Posted on
June 4, 2026
Licensed under