DSCAutomationHostEnabled registry key
Applies to: Windows PowerShell 5.0
DSC uses the DSCAutomationHostEnabled registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System to enable configuration of the machine at initial boot-up. DSCAutomationHostEnabled supports three modes:
DSCAutomationHostEnabled Value | Description |
---|---|
0 | Disable configuring the machine at boot-up. |
1 | Enable configuring the machine at boot-up. |
2 | Enable configuring the machine only if DSC is in pending or current state. This is the default value. |
See Also
For an example of how to use this feature to run configurations at initial boot-up, see Configure a virtual machines at initial boot-up by using DSC.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for