Disable autoplay via regedit

Open regedit, then go to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\

Create the Explorer directory if it’s not present.

Within this subkey, locate the setting labeled “NoDriveTypeAutoRun”. If it doesn’t exist, create a new 32-bit DWORD with this name and assign it the hexadecimal value 000000FF (Decimal 255).

Restart the computer.

The DWORD defined above will disable AutoRun for all drives and all user account, and will have the same effect that you would’ve gotten through Local Group Policy Editor.

Source:
redmondpie.com
Advertisements