Information
This policy setting controls Autoplay. Autoplay starts to read from a drive as soon as the media is inserted in the drive, which causes the setup file for programs or audio media to start immediately.
The recommended state for this setting is: Enabled: All drives.
Note: This policy setting cannot be used to enable Autoplay on computer drives in which it is disabled by default, such as floppy disk and network drives.
A threat actor could use this feature to launch a program to damage a client computer or data on the computer.
Solution
To establish the recommended configuration via GP, set the following UI path to Enabled: All drives :
Computer Configuration\Policies\Administrative Templates\Windows Components\AutoPlay Policies\Turn off Autoplay
Note: This Group Policy path is provided by the Group Policy template AutoPlay.admx/adml that is included with all versions of the Microsoft Windows Administrative Templates.
Impact:
Autoplay will be disabled - users will have to manually launch setup or installation programs that are provided on removable media.