PDF download Download Article
Automatically run programs and launch media from discs and USB drives
PDF download Download Article

In Windows 10 and 11, AutoPlay can detect media or devices connected to your computer (like a USB stick or DVD) and either open the default media player (if the device has playable media like a song or video), open File Explorer, or launch another app. AutoRun is an older service that automatically launches an application if found on connected media. You can easily enable AutoPlay in Settings and AutoRun in the registry.

Quick Steps

  1. Open Windows Settings .
  2. Click Devices .
  3. Click AutoPlay .
  4. Click the switch to toggle AutoPlay on or off.
Method 1
Method 1 of 3:

Enabling AutoPlay

PDF download Download Article
  1. You can click the gear icon in the Start menu or press Win + i (the Windows key and i).
    • Use this method if you want Windows to automatically open media (music, videos, or photos) when a USB drive, CD, or DVD is inserted.
    • If you want a program on a CD, DVD, or USB drive to run automatically when inserted, use this method instead.
  2. It's usually the second listing in the menu next to a speaker and keyboard icon.
    Advertisement
  3. You'll see this in the vertical menu on the left side of the window.
  4. You can then choose the actions Windows 10 takes when you insert either a removable drive (like opening the folder in File Explorer) or memory card (like launching Windows Media Player). [1]
  5. Advertisement
Method 2
Method 2 of 3:

Enabling AutoRun

PDF download Download Article
  1. To do this, type control panel into the Windows search bar, then click Control Panel in the search results.
    • Use this method if you want Windows to automatically run software from a connected drive or disc when connected. The drive or disc must have an Autorun.inf file for AutoRun to work.
  2. It's at the top-right corner of Control Panel.
  3. Even though this section is called AutoPlay, this is still where you can enable AutoRun for applications on connected drives or media.
  4. This menu controls what happens if Windows detects an Autorun.inf file on a drive or disc. Once you make your selection, Autorun will be enabled.
    • If you want the program to run automatically, select Install or run program from your media .
    • A more secure option is to select Ask me every time , as this option will not automatically run or install software without your approval.
  5. Advertisement
Method 3
Method 3 of 3:

Troubleshooting

PDF download Download Article
  1. If AutoPlay or AutoRun isn't working, make sure you have the latest update to Windows 10.
    • If your administrator has disabled AutoPlay, you won't be able to enable it.
  2. AutoPlay and AutoRun both require the Shell Hardware Detection service, so make sure it's enabled:
    • Type services.msc into the search bar and press Enter .
    • Right-click the Shell Hardware Detection service and select Properties .
    • Select Automatic from the Startup Type menu.
    • If Start or Resume is available, click it to enable the service now.
  3. If you've enabled AutoPlay but it's not working, follow these steps to reset your settings, then enable AutoPlay again:
    • Type control panel into the Search bar and click Control Panel .
    • Click AutoPlay .
    • Check the box next to "'Use AutoPlay for all media and devices .
    • Click Reset all defaults . [2]
  4. If AutoPlay notifications are disabled, you won't see a notification when you connect the media for which you enabled AutoPlay.
    • Open Settings and go to System > Notifications & actions .
    • If "Get notifications from apps and other senders" isn't enabled, turn it on now.
    • Toggle the switch next to "AutoPlay" to the On position.
  5. If you've enabled AutoRun but the program won't open, just right-click the drive or disc icon and select AutoPlay . [3]
  6. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Article Summary X

      1. Open Settings.
      2. Click Devices .
      3. Click AutoPlay .
      4. Click the switch to toggle AutoPlay on.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 53,378 times.

      Is this article up to date?

      Advertisement