PDA

View Full Version : Disable Autoruns


T
January 28th 15, 07:37 PM
Hi All,

This is a thank you for all the help you guys have given me lately.

For security purposes, there are times where you DO NOT want
the auto run feature to install a virus on a sensitive
computer.

I couldn't do a lot of testing of this, as my Windows machines
are all virtual machines.

But, anyway, it has a lot of documentation and references
that you all might find helpful.

You may have to fix the scrolling. All comment line must start
with a semicolon (";").

-T


REGEDIT4

; Disable.Autorun.All.reg

; Reference:
http://www.samlogic.net/articles/autorun-enable-disable-nodrivetypeautorun.htm
; https://msdn.microsoft.com/en-us/library/aa969329.aspx
;
; Bit No. Pattern Drive type
; 2 00000100 Disk that can be removed from the drive (such as a
floppy
; disk or USB flash drive)
; 3 00001000 Disk that cannot be removed from drive (usually a
hard disk)
; 4 00010000 Network drive
; 5 00100000 CD/DVD drive
; 6 01000000 RAM disk
;
; Value Description
; 91 AutoRun is enabled for CD/DVD drives and USB flash drives
; 95 AutoRun is disabled for USB flash drives
; B1 AutoRun is disabled for CD/DVD drives
; B5 AutoRun is disabled for CD/DVD drives and USB flash drives


[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000B5

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:000000B5

Google