


For example, if you want to disable AutoRun on CD-ROM and removable drives, set the value of DWORD to 28. If you want to disable AutoRun on a certain combination of drives, you’ll have to combine their values.1 – To disable AutoRun on unknown drives.10 – To disable AutoRun on network drives.4 – To disable AutoRun on removable drives.20 – To disable AutoRun on CD-ROM drives.Set the value based on the following requirements:.In the right pane of the window create a new DWORD value "NoDriveTypeAutorun".Navigate to the following location: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer.Type regedit in the search box and press Enter.If you want to disable autorun/autoplay from registry, follow the steps provided below:

There is no need to worry about virus threats which usually attack from autorun/autoplay. As you are asking whether the security of disabling Autorun/Autoplay option from system settings is the same as disabling from the registry and will take affect in the same way.
