Turn off autoplay/autorun for removable media

  1. Press the Windows key or click the Windows icon in the lower-left corner of your desktop.
  2. Type in autoplay and click on the AutoPlay Settings option.
  3. From this screen, toggle AutoPlay For All Media And Devices to Off. Also switch AutoPlay defaults for removable drives and memory cards to Take No Action.

Via group policy

  1. Under Computer Configuration, navigate to Administrative Templates > Windows Components > AutoPlay Policies.
  2. Under AutoPlay Policies, click Turn Off AutoPlay.
  3. Toggle the policy to Enabled and set Options to All Drives. Click Apply.
  4. Click on Set The Default Behavior For AutoRun.
  5. Toggle the policy to Enabled and set the default behavior to Do Not Execute Any AutoRun Commands. Click Apply.

Leave a Reply