Windows Server 2019 default AutoRun behavior must be configured to prevent AutoRun commands.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
highV-205805SRG-OS-000368-GPOS-00154WN19-CC-000220SV-205805r958804_rule2025-02-253
Description
Allowing AutoRun commands to execute may introduce malicious code to a system. Configuring this setting prevents AutoRun commands from executing.
ℹ️ Check
If the following registry value does not exist or is not configured as specified, this is a finding: Registry Hive: HKEY_LOCAL_MACHINE Registry Path: \SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\ Value Name: NoAutorun Type: REG_DWORD Value: 0x00000001 (1)
✔️ Fix
Configure the policy value for Computer Configuration >> Administrative Templates >> Windows Components >> AutoPlay Policies >> "Set the default behavior for AutoRun" to "Enabled" with "Do not execute any autorun commands" selected.