It's a tricky method to block the transfer of data from USB device and vice- versa Many of schools,offices and other public places use this method to block the USB devices so that they ensure it would not affect with virus easily.If you are one concerned about the theft to your machine. Then you can take care with this simple registry edit.
With this edit you can permit users to read the data in USB devices but prevents copying data to your machine with a tag of write-protect enabled to USB stack.
Before doing,Backup your registry to safe place to regain to its original state. Let's start here Open run through a shortcut key(Windows+R) or from start-menu with admin privileges and type "regedit" hit enter. Make a backup by selecting the export button in file menu and save it your desired location in your hard disk(don't save it in external drive or in USB devices)
Storage policies |
Navigate to HKEY Local Machine-->SYSTEM-->CurrentControlset-->control-->Create Newkey( StorageDevicepolicies). In the right box Create a new
DWORD(32 bit)Value by right click-->new-->DWORD(32bit) Value with name "Writeprotect". Next click on it and give a value 1 to enable the write protection. To disable it follow same procedure and give it a value 0. Save and close it
Write-protect with value 0 or 1 |
(OR)
To do using CommandPrompt Open cmd with admin rights and type 'diskpart' and enter. Next type 'listdisk' Drives are listed on command prompt with their names . Then 'select diskname'-----> 'attribute disk set readonly' and press enter. Shows Disk attributes set successfully. Check you will not see delete option in rightclick menu on disk files
DISKPART> select diskname
disk name is selected
DISKPART>attribute disk set readonly
Disk attribute set successfully
To undo follow same steps and change is 'attribite disk clear readonly' Exit check again to confirm.
0 comments:
Post a Comment