A registry setting that controls whether software starts automatically when Windows opens or when a user logs on. It works through startup entries in locations such as Run keys, services or shell settings, and is often used by installers and persistence malware to launch code without manual execution.
What the Autorun Registry Value Does
The autorun registry value is a Windows startup control, not a security feature by itself. It tells the operating system to launch a program automatically at boot or when a user logs on, usually through Run keys, services, or shell-related settings. That makes it useful for legitimate software installation and also attractive to malware that wants immediate, repeated execution.
Why It Matters for Windows Startup Behavior
Autorun values sit at the boundary between convenience and control. A single registry entry can determine whether software starts quietly in the background, appears after login, or persists across reboots. Because these settings operate early in the session lifecycle, they are often part of the first places defenders inspect when startup behavior looks unusual.
The same mechanism can be used in many ways, from a standard installer creating a logon launch point to an attacker planting persistence that survives user logout or system restart. In practice, the risk comes less from the registry setting itself and more from registry run key and startup persistence techniques that abuse it.
Common Autorun Locations and How They Differ
Windows exposes several startup paths that behave like autoruns. User-specific Run keys typically affect one account, while services can start before or without a user session. Shell-related settings can alter what launches as part of the desktop experience. These paths differ in timing, scope, and privilege, so defenders should not treat them as one uniform control point.
That distinction matters because a benign startup entry in a user profile is not the same as a service-based launch point with system-level execution. The latter can have broader persistence and a larger blast radius if abused. For incident response, that is why tools such as Sysinternals for Incident Responders Guide are useful for enumerating and validating what really starts on the host.
Detection, Review, and Defensive Context
Autorun inspection is a core part of Windows triage because persistence often hides in places that look routine. Review startup paths alongside process creation, signed-binary verification, service configuration, and any recent changes to registry hives or logon behavior. If a machine starts an unexpected executable, the question is not only what launched, but why that launch point exists at all.
Defenders also benefit from understanding the wider Windows execution model, because autoruns interact with tokens, services, and integrity boundaries. That is one reason Windows Internals for Defenders Guide is a useful companion when investigating startup persistence and privilege-bearing launch paths.
Risk and Threat Considerations
Autorun registry values are a common persistence mechanism because they let code execute automatically without fresh user action. If an attacker can change a startup entry, they can survive reboot, re-establish access, and blend into ordinary Windows behavior.
Failure mechanism: The registry entry is modified, added, or redirected to launch malicious code from a trusted or overlooked startup path, often with enough legitimacy to avoid casual review.
Impact: The host can remain persistently compromised, with repeated execution, harder incident containment, and a greater chance that credentials, sessions, or adjacent systems are exposed during continued attacker access.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while CIS Controls v8 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1547.001 — Registry Run Keys / Startup Folder | Autorun registry values are a classic startup persistence mechanism. |
| T1543.003 — Windows Service | Services are one of the startup paths used by autorun registry behavior. | |
| Recommendation — Monitor and hunt for unexpected registry startup entries to detect persistence. Review service creation and modification for malicious auto-start persistence. | ||
| CIS Controls v8 | CIS-4 — Secure Configuration of Enterprise Assets and Software | Startup autoruns are configuration points that should be controlled and baselined. |
| Recommendation — Baseline and audit startup configuration to block unauthorized autorun persistence. | ||
| NIST SP 800-53 Rev 5 | CM-6 — Configuration Settings | Registry autoruns are configuration settings that require authorized management. |
| SI-4 — System Monitoring | Autorun abuse is detected through monitoring for unexpected execution and persistence. | |
| Recommendation — Define and enforce approved startup configuration settings across Windows endpoints. Monitor startup locations and flag unauthorized changes to persistence-related registry paths. | ||
Practitioner Guidance
Why practitioners should care: Autorun values are one of the highest-value places to check when a Windows system behaves as if software is starting on its own. They are simple to create, easy to miss, and frequently abused by both legitimate installers and persistence malware.
What to watch for: Treat unexpected new startup entries, changes to service launch paths, and logon-time execution from unusual locations as a governance and investigation trigger. The key judgment is whether the entry is expected, approved, and consistent with the host's software baseline.
Practitioner takeaway: Build autorun review into routine triage and baseline validation, especially after suspected intrusion, software installation, or privilege-related changes.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org