Software & Apps Windows 59 59 people found this article helpful Disable AutoRun/AutoPlay AutoRun leaves your computer vulnerable to malware by Mary Landesman Writer Mary Landesman is a former freelance contributor to Lifewire and a security expert. She was named as one of the women to watch in IT security. our editorial process LinkedIn Mary Landesman Updated on August 27, 2019 The Windows 10 (Anniversary Update) desktop. Microsoft Windows The Ultimate Laptop Buying Guide Tweet Share Email The Windows AutoRun feature is turned on by default on most Windows versions, allowing programs to run from an external device as soon as it is attached to a computer. Because malware can exploit the AutoRun feature — spreading its unfortunate payload from your external device to your PC — many users choose to disable it. AutoPlay is a Windows feature that is part of AutoRun. It prompts the user to play music and videos or display pictures. AutoRun, on the other hand, is a broader setting that controls the actions to take when a USB drive or CD/DVD is inserted into a drive on your computer. Disabling AutoRun in Windows There is no interface setting to turn off AutoRun completely. Instead, you have to edit the Windows Registry. Press Win+R and type regedit to launch the Registry Editor. You'll have to confirm elevated privileges to modify registry settings. Go to the key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer If the entry NoDriveTypeAutoRun does not appear, create a new DWORD value by right-clicking in the right pane to access the context menu and selecting New DWORD (32-bit) Value. Name the DWORD NoDriveTypeAutoRun, and set its value to one of the following: FF – to disable AutoRun on all drives20 – to disable AutoRun on CD-ROM drives4 – to disable AutoRun on removable drives8 – to disable AutoRun on fixed drives10 – to disable AutoRun on network drives40 – to disable AutoRun on RAM disks1 – to disable AutoRun on unknown drives To turn AutoRun back on in the future, just delete the NoDriveTypeAutoRun value. Disabling AutoPlay in Windows Disabling AutoPlay is easy, but the process depends on your operating system. Windows 10 Open the Settings app and click Devices, then select AutoPlay from the left sidebar. Move the button Use AutoPlay for all media and devices button to the Off position. Windows 8 In Windows 8 and 8.1: Open the Control Panel by searching for it from the Start screen. Select AutoPlay from the Control Panel entries. Select the option you want from the Choose what happens when you insert each type of media or device section. For example, you can choose different options for pictures or videos. To completely disable AutoPlay, deselect the check box Use AutoPlay for all media and devices.