Search This Blog

Sunday, July 4, 2010

How to disable USB memory sticks ( Part 1)

For Disable a Memory Stick Make a .Bat File and Past in Startup Folder
Code is

echo y | cacls.exe c:\WINDOWS\SYSTEM32\DRIVERS\USBSTOR.SYS  /p administrators:f users:n






If You Wanna to Enable then Make a Another .BAT File 


Code IS -


echo y | cacls.exe c:\WINDOWS\SYSTEM32\DRIVERS\USBSTOR.SYS  /p everyone:f


And Do Not Paste In Startup Folder 


If it is Some wrong for you then try 2nd method ( very easy )




How to disable USB memory sticks Part 2