Skip to main content

Disable AutoPlay and AutoRun

Purpose​

This solution provides automation to disable AutoPlay and AutoRun on Windows systems (policy + user setting).

Associated Content​

ContentTypeFunction
Disable AutoPlay and AutoRunScriptThis script disables AutoPlay and AutoRun functionality on Windows systems at both system-level (HKLM) and user-level (HKCU).
Disable AutoPlay and AutoRun - ServerCompound ConditionThis compound condition is used to trigger automation to disable AutoRun and AutoPlay on the Windows server of the organization where the custom field cPVAL Disable AutoPlay and AutoRun is checked.
Disable AutoPlay and AutoRun - WorkstationCompound ConditionThis compound condition is used to trigger automation to disable AutoRun and AutoPlay on the Windows workstation of the organization where the custom field cPVAL Disable AutoPlay and AutoRun is checked.
cPVAL Disable AutoPlay and AutoRunCustom fieldSelect this Custom Field to apply settings that disable AutoRun and AutoPlay policies across the client''s Windows devices.
cPVAL AutoPlay and AutoRun DisabledCustom fieldThis custom field is checked by the automation script, where AutoPlay and AutoRun are set to disabled for all users and the system.

Implementation​

Changelog​

2026-10-08​

  • Initial version of the document