Last Post : How to Disable Autorun, here’s the updated one.
Create a NoAutorun.reg by adding the following keys using Notepad and execute it to import into your registry:
To disable to AutoRun for all Drives
REGEDIT 4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun”=decimal:255"
To disable & block the execution of Autorun.inf
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@="@SYS:DoesNotExist"
To remove the cache of all mounted drives
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2]