Thursday, December 23, 2010

Restrict Access to USB Flash Drive

There are 2 things that cause a USB flash disk storage media (and / or external hard disk) can not be accessed, the first due to accidentally access the disabled and the second, protected access. For the second reason will usually appear the message "The disk is write-protected". By editing the Windows registry, you can manage both.


Enable-Write Protected Disk

In these conditions, USB still readable, but can not be written or to store data. If you want to save the data will show a message like this:
disk write-protected

To open access to the flash disk to copy data:
1. Open the registry editor windows: start menu -> Run -> type: regedit -> OK
2. Find the following key: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ StorageDevicePolicies
3. If at any WriteProtect the right panel, double click and fill in the section data value 0 or delete WriteProtect or can also delete the key StorageDevices. Then refresh (click F5).
4. Try out the USB Flash Disk, then plug it in again and repeat the copy data.

Restrict Access to USB Flash Drive

As for the computer to restrict user can not write, copy or move data in flash disk, perform the following steps:

1. Open the registry editor windows: start menu -> Run -> type: regedit -> OK
2. Find the following key: HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control
3. Create a new key by right click and choose New-> Key. Give the name StorageDevicePolicies.
4. Then open the key StorageDevicePolicies. Right-click select New -> DWORD Value named WriteProtect.
5. Double click WriteProtect, in the value of data and fill with a value of 1.
6. Such changes above should be done also in:
- HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Control \ StorageDevicePolicies
- HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet002 \ Control \ StorageDevicePolicies

Well after all is set as the above steps, all users (users) who use computers will not be able to write, to copy or move data in flash disk without having to restart the computer first. So that would appear Write-Protected Disk message as above

Tips:
If the effect of the changes are not directly visible, restart the computer first.

No comments:

Post a Comment