How to Disable or Enable AutoPlay in Windows 10

AutoPlay is a special feature of the shell which allows the user to quickly pick a desired action for various media types you have connected or attached to your computer. You can configure it to open your favorite image viewer app when you insert a disk with photos, or launch a media player app automatically for your drive containing media files. It saves your time, since the required app starts automatically every time you connect your device or insert your disk.