Information
Windows Server 2022 AutoPlay must be disabled for all drives.
GROUP ID: V-254354
RULE ID: SV-254354r958804
Allowing AutoPlay to execute may introduce malicious code to a system. AutoPlay begins reading from a drive as soon media is inserted into the drive. As a result, the setup file of programs or music on audio media may start. By default, AutoPlay is disabled on removable drives, such as the floppy disk drive (but not the CD-ROM drive) and on network drives. Enabling this policy disables AutoPlay on all drives.
Solution
Configure the policy value for
Computer Configuration >> Administrative Templates >> Windows Components >> AutoPlay Policies >> Turn off AutoPlay to 'Enabled' with 'All Drives' selected