Ensure that correct NoDriveTypeAutoRun and/or NoDriveAutoRun policy value is set
NoDriveTypeAutoRun registry key is used by Group Policy to configure whether to disable the Autoplay feature on all drives of the type specified. To check this setting, run Registry Editor (regedit), and navigate to the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Curr entVersion\Policies\Explorer
or (note that above registry value, if exists, will always supersede the below user-specific key),
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer
Locate the NoDriveTypeAutoRun registry entry on the right pane. The registry key is in DWORD hexadecimal value, which each bit determines which type of drive to disable or enable AutoPlay feature. There are many possible value for NoDriveTypeAutoRun, some possible wrong value that disable AutoPlay are:
0x000000B5 (181) disable AutoRun on CD-ROM drives, plus default unknown drive, removable drive (meant for floppy or ZIP), network drive and reserved drive type.
0x000000FF (255) disable AutoRun/AutoPlay on all drive types.
The best bet is to set NoDriveTypeAutoRun to default value as set by Windows Vista, which is 0x00000091 (hexadecimal) or 145 (decimal). Previous Windows version such as XP uses 0x00000095 (hexadecimal) or 149 (decimal). To enable AutoPlay on all drive types, set NoDriveTypeAutoRun to 0 (zero) or 0x00000080 (12

which only disable AutoPlay on unknown reserved file type.
Other possible NoDriveTypeAutoRun registry value data includes:
0×00000000 (0) enable all AutoPlay and AutoRun.
0×00000080 (12

disable AutoPlay on unknown reserved file type.
0×00000091 (145) default in Windows Vista and Windows 7.
0×00000095 (149) default in Windows XP.
0×000000B5 (181) disable AutoRun on CD-ROM drives, plus default unknown drive, removable drive (meant for floppy or ZIP), network drive and reserved drive type.
0×000000FF (255) disable AutoRun/AutoPlay on all drive types.
NoDriveAutoRun registry key, which stored at the same registry location, meanwhile determine whether a particular connected drive should run AutoPlay function or not. When AutoRun is enabled on the drive, media is automatically started when it is inserted in the drive.
By default, Windows Vista does not add any NoDriveAutoRun registry subkey. And you probably don’t want to block any drive from AutoPlay too. So remove and delete all NoDriveAutoRun key in the registry.