Because malware can exploit AutoRun, many users disable it.

There’s no interface setting to turn off AutoRun completely.

Instead, you edit theWindows Registry.

Windows registry editor

Disable AutoPlay in Windows

AutoPlay is a Windows feature that’s part of AutoRun.

AutoPlay prompts you to play music and videos or display pictures.

you could disable AutoPlay in a few steps, but the process depends onyour Windows version.

Windows registry

Windows 10

Select theStarticon in the lower-left corner, then select theSettingsicon in the left pane.

SelectAutoPlayfrom the left pane, then select theAutoPlaytoggle to turn itOff.

Windows 8

In Windows 8 and 8.1:

On theStartscreen, selectApps>Windows System.

Windows 10 - selecting Start > Settings

kick off the Control Paneland selectAutoPlay.

For example, you’ve got the option to choose different options for pictures or videos.

To completely disable AutoPlay, deselect theUse AutoPlay for all media and devicesbox.

Windows 10, selecting Settings > Devices

Windows 10 - Turning AutoPlay off