STIGUI
V-254354CAT I — High severitySV-254354r958804_rule

Windows Server 2022 AutoPlay must be disabled for all drives.

Rule version WN22-CC-000230 · STIG v2 · 2026-08-19

Discussion

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.

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: NoDriveTypeAutoRun

Type: REG_DWORD Value: 0x000000ff (255)

Fix

Configure the policy value for Computer Configuration >> Administrative Templates >> Windows Components >> AutoPlay Policies >> Turn off AutoPlay to "Enabled" with "All Drives" selected.

Identifiers

Group ID
V-254354
Group title
SRG-OS-000368-GPOS-00154
Rule ID
SV-254354r958804_rule
Check ID
C-57839r848876_chk
Fix ID
F-57790r848877_fix