Windows Server 2022 Autoplay must be turned off for nonvolume devices.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-254352 | WN22-CC-000210 | SV-254352r958804_rule | High |
| 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 nonvolume devices, such as Media Transfer Protocol (MTP) devices. |
| STIG | Date |
| Microsoft Windows Server 2022 Security Technical Implementation Guide | 2025-05-15 |
Details
| Check Text (C-57837r848870_chk) |
| 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\Policies\Microsoft\Windows\Explorer\ Value Name: NoAutoplayfornonVolume Type: REG_DWORD Value: 0x00000001 (1) |
| Fix Text (F-57788r848871_fix) |
| Configure the policy value for Computer Configuration >> Administrative Templates >> Windows Components >> AutoPlay Policies >> Disallow Autoplay for nonvolume devices to "Enabled". |