Microsoft Windows Server 2019

Windows Server 2019 Autoplay must be turned off for non-volume devices

STIG ID: WN19-CC-000210 | SRG: SRG-OS-000368-GPOS-00154 | Severity: High | CCI: CCI-001764 | Vulnerability ID: V-205804

Description

Allowing AutoPlay to execute may introduce malicious code to a system. AutoPlay begins reading from a drive as soon as media is inserted into the drive. As a result, the setup file of programs or music on audio media may start. This setting will disable AutoPlay for non-volume devices, such as Media Transfer Protocol (MTP) devices.

Check

C-6069r355774_chk

If the following registry value does not exist or is not configured as specified, this is a finding:Registry Hive: HKEY_LOCAL_MACHINERegistry Path: \SOFTWARE\Policies\Microsoft\Windows\Explorer\Value Name: NoAutoplayfornonVolumeType: REG_DWORDValue: 0x00000001 (1)

Fix

F-6069r355775_fix

Configure the policy value for Computer Configuration >> Administrative Templates >> Windows Components >> AutoPlay Policies >> "Disallow Autoplay for non-volume devices" to "Enabled".