The solution is simple give read access but deny write access.
Follow the steps given below.........
Open registry editor by typing the REGEDIT command in da Run dialogue box and press enter .
Now navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
Create a new key called StorageDevicePolicies .Right click on StorageDevicePolicies and select New and then create a Dword. Call the new dword WriteProtect.
Right click on WriteProtect and select Properties. Set the value to 1 and hit OK.
Its done u have to reboot for the changes to take effect.Note that u can use this trick to restrict users who are not administrators on the computer, because they could easily revert back by changing the value from 1 to 0.
0 comments:
Post a Comment