Skip to content
Quickly Turn Off AutoPlay Using Intune

Quickly Turn Off AutoPlay Using Intune

Written By Jitesh Kumar
Last Updated November 1, 2021
Posted In Intune
SHARE

In this post, I will show you how to turn off autoplay using Intune, aka Endpoint Manager. AutoPlay is a feature that automatically runs a program or opens a file on a removable drive and, based on content such as pictures, music, or video files, launches an appropriate application to play or display the content.

Autoplay begins reading from a drive as soon as you insert media in the drive. As a result, the setup file of programs and the music on audio media start immediately. That helps users to make life easier. The automatic execution of media can be dangerous if you want to protect your PC, or those on your network, from attacks. It would be best if you disabled AutoPlay to make a safe environment.

I had recently noticed the issue raised on Twitter, HTMDForum community member reported that trying to disable AutoPlay in Windows 10 with multiple methods through Administrative Templates, Custom CSP, Registry. All of the methods did not work for them. Setting up the policies will not show it is disabled in the UI when you check inside Windows Settings.

As mentioned by MVP Mattias Melkersen, You can also check the option for proactive remediation that will set the keys in HKCU which will disable the button in the settings applet. You can also refer to more details enable or disable AutoPlay using windows settings or the registry method. Let’s how to Deploy Proactive Remediation Script using Intune. You can refer to the prerequisites of the proactive remediation script before the start the activity.

Patch My PC

Step to Turn Off AutoPlay Using Intune

Let’s follow the below steps to turn off Autoplay using Intune –

  • Sign in to the https://endpoint.microsoft.com/
  • To create a new Configuration profile, Select Devices > Windows > Configuration profiles > Create profile
Intune Configuration Profiles – Create Profile
Intune Configuration Profiles – Create Profile

In Create a profile, Select Platform, Windows 10, and later and Profile, Select Profile Type as Settings catalog. Click on Create button.

Intune Configuration Profiles – Select Platform, Profile type
Intune Configuration Profiles – Select Platform, Profile type

On the Basics tab, enter a descriptive name, such as Turn Off Autoplay. Optionally, enter a Description for the policy, then select Next.

Create profile –  Turn Off Autoplay
Create configuration profile

In Configuration settings, under Settings catalog, click Add settings.

Settings catalog – Click + Add settings
Settings catalog – Click + Add settings

On the Settings Picker windows, Select Administrative Templates\Windows Components\AutoPlay Policies to see all the settings in this category. Select Turn off Autoplay below. After adding your settings, click the cross mark at the right-hand corner to close the settings picker. 

Note – In policy, use the search box to find specific settings. You can search by category or a keyword, such as Autoplay. It will display the related settings available.

Select Administrative Templates\Windows Components\AutoPlay Policies

The setting is shown and configured with a default value Disabled. Set Turn off Autoplay to Enabled.

Turn off Autoplay on – Specifies whether you want to disable either All drivers or Removable Media Drives. If you enable this policy setting, Autoplay is disabled on CD-ROM and removable media drives, or disabled on all drives. Click Next.

Turn off Autoplay - Enabled
Turn off Autoplay – Enabled

Under Assignments, In Included groups, click Add groups and then choose Select groups to include one or more groups. Click Next to continue.

Assignments – Select groups to include
Assignments – Select groups to include

In Scope tags, you can assign a tag to filter the profile to specific IT groups. Add scope tags (if required) and click Next.
In Review + create, review your settings. When you select Create, your changes are saved, and the profile is assigned.

Review + Create – Device Configuration Profile
Review + Create – Device Configuration Profile

A notification will appear automatically in the top right-hand corner with a message. Here you can see, Policy “Turn Off Autoplay” created successfully. The policy is also shown in the Configuration profiles list.

Policy "Turn Off Autoplay" created successfully
Policy “Turn Off Autoplay” created successfully

Your groups will receive your profile settings when the devices check-in with the Intune service. Once the policy applies to the devices, When you insert media in the device. As a result, the setup file of programs and the music on audio media will not start automatically.

Author

About Author -> Jitesh has over 5 years of working experience in the IT Industry. He writes and shares his experiences related to Microsoft device management technologies and IT Infrastructure management. His primary focus area is Windows 10 Deployment solution with Configuration Manager, Microsoft Deployment Toolkit (MDT), and Microsoft Intune.

Written by

Jitesh has over 5 years of working experience in the IT Industry. He writes and shares his experiences related to Microsoft device management technologies and IT Infrastructure management. His primary focus area is Windows 10 Deployment solution with Configuration Manager, Microsoft Deployment Toolkit (MDT), and Microsoft Intune.

Discussion · 4 comments

  1. This method is not working on my test computers. The status in Conflict, but I’m not really sure what it’s conflicting with as I don’t have this set anywhere else in Intune.

  2. This one is not compliant in Windows 11.
    The policy now gives an error
    SETTING Turn off Autoplay STATE Noncompliant

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Simplify Windows Devices to Run Only the Required Applications using Intune

Key Takeaways Hey, let’s learn about Simplify Windows Devices to Run Only the Required Applications using Intune. This policy lets administrators replace the default windows shell with a custom or lightweight shell. it improves performance by using system resources and is useful for devices that run a dedicated application. If the policy is disabled or […]

AC Anoop C Nair 8 min read
Intune

Enhance macOS Compliance with Custom Security and Compliance Checks to Improve Device Security using Microsoft Intune

Key Takeaways In this post we are discussing about Enhance macOS Compliance with Custom Security and Compliance Checks to Improve Device Security using Microsoft Intune. Microsoft has announced the general availability of Custom Compliance Settings for macOS in Microsoft Intune. The feature helps organizations strengthen security controls while supporting many types of macOS management scenarios. […]

AC Anoop C Nair 4 min read
Intune

Manage Samsung Galaxy Firmware Versions to Improve Security and Compliance using Microsoft Intune

Key Takeaways In this post we are discussing Manage Samsung Galaxy Firmware Versions to Improve Security and Compliance using Microsoft Intune. Microsoft Intune has received a new update that expands firmware management capabilities for Samsung Galaxy devices through Firmware Versionsintegration. This enhancement gives IT administrators more control over firmware and operating system updates, helping them […]

AC Anoop C Nair 4 min read
Intune

MS Intune Adds Windows Registry Data Collection to Device Inventory for Single Values All Key Values and Subkeys

Key Takeaways Microsoft Intune 2607 introduces Windows Registry Data collection in Device Inventory, allowing IT admins to verify actual device configurations without relying on custom discovery or remediation scripts. Using the Properties Catalog, admins can collect registry information through Single Value, All Values Under a Key (Non-Recursive), or Same Value Across Subkeys. MS Intune Adds […]

AC Anoop C Nair 5 min read