Disable AutoPlay and AutoRun
Purpose
This solution provides automation to disable AutoPlay and AutoRun on Windows systems (policy + user setting).
Associated Content
| Content | Type | Function |
|---|---|---|
| Disable AutoPlay and AutoRun | Script | This script disables AutoPlay and AutoRun functionality on Windows systems at both system-level (HKLM) and user-level (HKCU). |
| Disable AutoPlay and AutoRun - Server | Compound Condition | This 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 - Workstation | Compound Condition | This 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 AutoRun | Custom field | Select this Custom Field to apply settings that disable AutoRun and AutoPlay policies across the client''s Windows devices. |
| cPVAL AutoPlay and AutoRun Disabled | Custom field | This custom field is checked by the automation script, where AutoPlay and AutoRun are set to disabled for all users and the system. |
Implementation
- Create the below custom fields:
- Create the script Disable AutoPlay and AutoRun
- Create the below compound conditions and enable them
Changelog
2026-10-08
- Initial version of the document