Monday, 6 August 2012

How to protect your data to be taken through usb in Windows 7 or Win XP

I came to notice few days back that some one is using my system and I found data loss as windows system are prone to data theft easily. so, followed a technique to stop it with out using any software.

There are three ways are there,

1. Make you Registry to protect in such a way that it should not write data into the USB drives

2. Use a .bat file that protect your files and folder with a password.

3. Use a folder locker/ PC Locker for this purpose.

Write Protect to the USB Drives:

Go to the Start menu --> Run---> type Regedit,
You will get the Windows Registry Editor.

Now search for the Following key:
    HKEY_LOCAL_MACHINE\System\ControlSet001\Control\StorageDevicePolicies

if the "StorageDevicePolicies" key is not found you can create a new one in HKEY_LOCAL_MACHINE\System\ControlSet001\Control


Now set the Key value to 1 in order to protect it from writing data to the USB Devices.

If you you want to copy data from you computer to usb devices it will not allow.

In order to write the data again to the USB devices you can chane this value to 0 again.



for Windows Xp Machines follow the above same procedure but you the registry key is:
HKEY_LOCAL_MACHINE\System\ControlSet001\Control\StorageDevicePolicies


Note: Just back up the registry before changing any thing so that if u do any thing wrong or the system goes unstable it can be restored.

Happy coding...

No comments:

Post a Comment