tips for banning the copying of U disk:
1, on the Start menu, open "Run" enter "regedit" to open Registry Editor. Expand [Hkey_local_machinesystemcurrentcontrolsetcontrol] to create a new subkey named "Storagedevicepolicies" under the branch, with the new name " Writeprotect, and set this value to 0.
2, right-click the "Storagedevicepolicies" subkey, select Export, and export the key value to "Y.reg". Then the "Writeprotect" DWORD value, and set this value to "1", also exported as "U disk Read Only" (Prohibit the use of U disk), on the desktop.
3, start "Notepad", the production of a batch file "Yes.bat", placed under C:windowssystem32, the code is as follows:
Echo off
Reg Import C:y.reg
OK, now double-click the "U disk read only. reg", and then insert a U disk when copying files from this computer, the system will be an error.
Note: If you want to copy files to U disk, as long as the "start"-"run" in the input "YES", and then insert U disk can be copied files, as long as you double-click the "U disk read only. reg", you can ban U disk replication.