This policy setting disallows AutoPlay for MTP devices like cameras or phones. The recommended state for this setting is: Enabled. Rationale: An attacker could use this feature to launch a program to damage a client computer or data on the computer. Impact: AutoPlay will not be allowed for MTP devices like cameras or phones.
Solution
To establish the recommended configuration, set the following Device Configuration Policy to Enabled: To access the Device Configuration Policy from the Intune Home page: Click Devices Click Configuration profiles Click Create profile Select the platform (Windows 10 and later) Select the profile (Administrative Templates) Click Create Enter a Name Click Next Configure the following Setting Path: Computer Configuration/Windows Components/AutoPlay Policies Setting Name: Disallow Autoplay for non-volume devices Configuration: Enabled Select OK Continue through the Wizard to complete the creation of the profile (profile assignments, applicability etc.) Note: More than one configuration setting from each of the Configuration profiles (ex: Administrative Templates, Custom etc.) can be added to each Device Configuration Policy. Default Value: Disabled. (AutoPlay is enabled for non-volume devices.)