Monday, April 7, 2008

Disable USB drive

copy the below three lines and paste this file to usb.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
"Start"=dword:00000004

then run this file or create a batch file


regedit /s \\sbslchedc01\systemrestore$\usb.reg

No comments: