Shutdown CMD Fails to Restart Windows 7?
As part of my Post-Installation tasks, I have some additonal commands entered into HKLM\Software\Microsoft\Windows\CurrentVersion\Run to be run after first reboot. My very post-installation task reboots the computer, and then the very last Run entry is yet another reboot.
The issue I am experiencing is that the first reboot works fine, but for some minority percentage of Scripted Installs, the second reboot doesn't actually seem to happen. This seems to be a new issue.
Is there anything that would prevent the Shutdown command from being able to reboot the computer? One obvious issue could be open applications, but I have the timer parameter specified, and so it would force close any such applications. Are there any other explanations?