How does one skip "Windows did not shut down successfully" in Win7-64?

Posted by XenonofArcticus on Super User See other posts from Super User or by XenonofArcticus
Published on 2010-05-26T17:15:35Z Indexed on 2010/05/26 18:03 UTC
Read the original article Hit count: 299

Filed under:
|

Migrating an app from an expensive and unreliable dedicated embedded x86 box running WinXP-embedded to COTS hardware (Dell E6410 laptop) running normal Win7-64. At this time, it's not feasible to deploy using Windows 7 embedded.

The problem is, that the system is still sort of "embedded". The power could shut off at virtually any time without prior warning. We've stripped the OS down and removed the battery capability so that it will power down as desired.

The app never writes to the disk, so it's not like we're going to corrupt anything terribly. The system is essentially idle after our app is up and running (with the exception of some computation, graphics, and TCP/IP and serial communications) so the OS enters a pretty stable state rather quickly.

After a power-loss however, it rightly complains that Windows did not shut down successfully and presents the user with the Windows Error Recovery text screen. If left alone, it does eventually move on booting just fine, but we'd like to skip that step if possible.

WinXP-embedded is designed to do this automatically, so I know it's possible. I've looked at the Kernel Switches but I didn't see anything documented for "Skip Windows Error Recovery".

I've also read extensively on the startup process: http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/windows-nt-6-boot-process.html

I know I can disable the auto chkdsk in the registry, but that's not the same thing either.

So, how do I streamline the boot process to not hassle the user about a situation that will be the regular normal situation?

© Super User or respective owner

Related posts about windows-7

Related posts about startup