NoDriveAutoRun
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Data Type: REG_DWORD
Range: 0x0–0x3FFFFFF ( bitmap )
Default Value: 0x0
Description
Determines whether Autoplay is enabled on each drive connected to the
system. When Autoplay is enabled, media starts automatically when it
is inserted in the drive.
The value of this entry consists of 32 bits. The lower 26 bits each
represent a drive, with the lowest (right-most) bit representing drive
A, and the 26th bit from the right representing drive Z. If a bit is
set to 0, the Autoplay feature is enabled on that drive. If a bit is
set to 1, the Autoplay feature is disabled on that drive.
For example, if the value of this entry is 0x8 (1000 binary), Autoplay
is disabled on drive D.
NOTE
Autoplay is triggered by a Media Change Notification (MCN) message
from the CD-ROM driver. If the Windows 2000 interface does not receive
this message, Autoplay does not operate, regardless of the value of
this entry. Entries that suppress the MCN message, such as Autorun and
AutoRunAlwaysDisable also disable Autoplay.
Autoplay is also disabled on any drive if it is disabled by the value
of NoDriveAutoRun (in HKLM or HKCU) or NoDriveTypeAutoRun (in
HKLM or HKCU). However, if NoDriveAutoRun or
NoDriveTypeAutoRun appear in HKEY_LOCAL_MACHINE, the corresponding entries in HKEY_CURRENT_USER are ignored.
Although this entry is located in the Policies\Explorer subkey, it is
not associated with a Group Policy setting in Windows 2000.
Windows 2000 does not add this entry to the registry. You can add it
by editing the registry or by using a program that edits the registry.
source
Related (and not duplicate): How to disable autorun for Windows XP Home
– galacticninja – 2016-07-28T08:36:36.117