![]()
IMPORTANT!! Read this page by US-CERT: Systems must have KB953252 (Vista/2008) or KB967715
If you do not have the KB on all systems, update them and/or use the following method recommended by US-CERT, create a .reg file with:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf] @="@SYS:DoesNotExist" HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 If they have the KB then you can use the official Microsoft method for disabling autorun At the bottom of this page you can find an easy to use ADM template file for use with the GPO without the Microsoft hotfix If this is a new system with no USB storage device ever connected:
Set deny permissions for the user/s and/or group/s to:
Either run this on the machine or do what it does, change: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsbStor Key: Start To: 4 (Hex) 1) Use the USB Autorun Protect tool (from the File-Cabinet) - it will protect the drive (FAT/FAT32/NTFS), created by Erez Kalman. This tool takes several steps to make it very difficult to enter/edit/remove the protection (except when using the tool) among them playing around with the file system, ACL (if NTFS) and more...
2) Create a directory called autorun.inf then add the attributes +r +s +h (Read only, System, Hidden) - this isn't full proof but is simple and works on all drives, make sure to add an autorun.inf file inside the directory and provide it with the same three attributes. 3) Use the Panda Security USB and Autorun Vaccine tool, the tool can be memory resident and provides two options: First one: Computer Vaccination - Performs the change shown at the top of this page: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf] @="@SYS:DoesNotExist" Second one: USB Drive Vaccination - Creates an unreadable/uneditable/undeletable (well, if you study how it works it can be deleted) file that unless you know how.... can only be deleted by formatting the disk - works only on FAT32 drives (no NTFS!!) Command line usage:
[drive unit]: Vaccinate drive unit Examples: To vaccinate the computer, use To vaccinate computer and prompt for vaccinating every new drive without showing a tray icon, use
USBDeview - Cached version available in file cabinet
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\StorageDevicePolicies add: DWORD: WriteProtect=1 To disable remove the DWORD value or set it to 0 (zero). Below you can find an ADM template I created named usbro.adm |


