Skip to main content

How to Prevent Copying Files to USB Drive From Computer Without Disable USB Port

Today early morning one of my friends called me for an urgent help. He is working as a System Administrator for a small company and wants to disable copying files from working computer to USB drives (pen drives). I told him to disable the USB port and fix the issue. Then he said according to the company policy he cannot disable it. He wants the computer should read files from the USB drive but no file transfer to it from computer hard disk. So in a nutshell he wants to read files from the portable storage drive on his company computers but does not want to copy files from his company computer to the USB drive. He is in a confusion that if it is possible to block writing files to the portable memory storage without prevent the PC from reading it.

I too at first confused with this strange company policy. Then I realize, it is very simple to do. We can enable write protection on USB by GP edit or Registry Edit. If Write Protect is enabled on Universal Serial Bus, computer can read files on portable storage but not able to copy content to them from hard disk. It is very simple to enable write protection on USB Ports from registry.

Prevent copying files to USB drive From Hard Disk

This step tells how to enable write protect on USB port from Windows Registry and prevent computer from copying content to portable memory storage from hard disk. This step doesn't hurt your reading ability and your PC can read files in portable storage without any issues. Steps to disable file transfer from hard disk to portable drive are:
  1. Click on start and go to Run (Press Windows and R button together to open run window).

  2. Type regedit on run window and click OK.

    Now the registry editor will be opened.

  3. Before making any changes to Registry, I recommend you to take a backup of current Registry on your computer.
    How to Backup Current Registry On your Computer

  4. Go to the location.

  5. Create a DWORD value called ‘WriteProtect‘ and set it to 1.

    Now onwards your PC will be able to just read the files from eternal memory drive connected to but the drive can no longer copy content from hard disk.

  6. To disable write protect on USB drives change the DWORD to 0.

This article tells how to enable write protect on USB Port and disable copying files from computer hard disk to USB drive. In case if you want to disable entire Universal Serial Bus ports on your computer from Registry click on the link below.
How to Disable Universal Serial Bus Ports On Your Computer From Registry

There is a registry tweak to fix an error code usually see after updating Windows using live update. To read more about it click on the link below.
Getting Error Code 0x80070424 After Running Windows Live Update

No: Recent Posts
This Device is Not Configured Correctly. (Code 1)
Getting Device Manager Error Code 10
Getting 169.254.X.X (APIPA) Windows Automatic Private IP Address
How to Setup MTNL Broadband ADSL Modem
Setup Idea 4G on Android Phone
Bypass Windows Admin Account Password Of Vista, XP, Windows 8
Error 1747 : The Authentication Service is Unknown
Reasons for Unexpected Automatic Reboot of Your Computer
Use Flash Memory (USB) as Virtual RAM in Windows
Setup Log Files for IP Messenger
Adobe Flash Player has Stopped a Potentially Unsafe Operation
FTP Error 503 Login Authentication Failed
Best LAN Messengers
How to Reset BSNL WiFi Modem
How to Check Your Tata Photon Plus Internet Usage
Destination Net Unreachable


pulkit said…
does it work if the drive is plugged to others computers
Siju George said…
Yes, your drive will work in others computers.
Anonymous said…
HI, on my computer in control there is not a folder with a name StorageDevicePolices. What did I do wrong?

please help.