I would like to be able to revert to a snapshot taken from a running Windows Server 2008 VM, and boot it up without seeing the Windows Error Recovery screen (Windows did not shut down successfully, choose between Safe Mode and Start Windows Normally).
In Windows Server 2003 it is possible to prevent the Windows Error Recovery screen by deleting the value
Although this key does still exist in Windows Server 2008, deleting it does not have the same effect.
The accepted answer for this forum post indicates that the presence of the following items on a boot indicate that the previous shutdown was abnormal:
LastAliveStampregistry value from above
- The files
My approach so far has been to remove all of the above before taking the snapshot so that on the next boot it looks like Windows was shut down correctly.
I have tried deleting the files and the registry key before taking the snapshot, but when I revert to the snapshot and power on the VM I still see the Error Recovery screen.
I have been trying this with both Windows Server 2008 and Windows Server 2008 R2, if they each require a different solution for this I am interested in knowing them both.
Does anyone have any suggestions on how I might accomplish this, or other things I can try?