

This command _must_ be set as 1 and the existing unattended cloudbase-init node set to 2 so that the re-enable command runs prior to the unattended instance of cloudbase-init, which requires a reboot. Step 3: Edit the unattend.xml file and add another RunSynchronousC ommand node to re-enable the automatic start of the cloudbase-init Windows service. Step 2: After the Cloudbse-init installation is complete, run the following command from the command prompt (Run as administrator) to disable the automatic startup of the Windows service version of cloudbase-init.
#Windows dst viewer install
Step 1: Install Cloudbase-init using the MSI as normal, except DO NOT have it perform an automatic sysprep during the autoinstallation. The same I have tried to explain in detail below: Thanks to Curt Moore for his quick solution.
#Windows dst viewer how to
How to stop Windows10 VM on OpenStack from automatically restarting! A known issue in Windows10 is that a change to the computer name requires a restart. This causes a SetComputerName function to run during the specialize step, which changes the computer name to DESKTOP. Below is my understanding of why the automatic restart was happening:įrom our cloudbase-init unattend.xml file ( C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf\unattend.xml) you can notice that cloudbase-init tries to set the hostname in the specialize settings. This provided a hint to research further and found a bug reported in launchpad related to cloudbase-init. Type 41, 1074, 6006, 6008 into the textbox under includes/Excludes Event IDs and then click OK to filter the event logs.įrom the filtered logs, found a suspicious log stating Cloudbase-Init has initiated the restart of the computer as below: Click on Filter Current Log on the right pane. Navigate to Windows Logs -> System on the left pane. View Shutdown and Restart log from Event Viewer This article helped me to view the system logs in Windows10 that triggered the automatic restart. With the built-in Windows Event Viewer, you can monitor the activities that occur on your computer before, during, and after it shuts down or restarts. Wondered why Windows restarts automatically? Thankfully, Windows tracks the events and records in the system log. Followed the below step-by-step procedure to find the root cause and stop Windows10 VM on OpenStack from automatically restarting! Struggling with this for a while and hours spent in search of this topic on google went in vain.

I’m experiencing a Windows10 VM on OpenStack that automatically restarts on successful autologon.
