Answered Disabling Windows Error Recovery on startup

  • Wednesday, October 07, 2009 11:34 AM
     
     
    How can I disable the Windows Error Recovery screen which appears during boot if Windows was not shut down properly?

    I use a custom shell to launch the only program that runs on Embedded 7 and it does not matter if user plugs the power cord out without shutting down the machine properly.  Also it makes no sense to go into Safe Mode ever in this kind of embedded scenario.

    If I write-protect Windows files or partition (with write filters) does that prevent for the error recovery screen to appear?

    Regards,
    Kim

Answers

  • Wednesday, October 07, 2009 3:20 PM
     
     Answered Has Code
    For CTP , please run the following command to disable recovery screen due to shutdown failures (which includes intentionally yanking the power cord)

    bcdedit /set {current} bootstatuspolicy ignoreallfailures
    In the next public version of WES 2011, this will done automatically if EWF or FBWF are included in the image. There'll also be an SMI setting to fine tune this behavior.

    Thanks
    Srikanth
    Srikanth Kamath [MSFT]

All Replies

  • Wednesday, October 07, 2009 3:20 PM
     
     Answered Has Code
    For CTP , please run the following command to disable recovery screen due to shutdown failures (which includes intentionally yanking the power cord)

    bcdedit /set {current} bootstatuspolicy ignoreallfailures
    In the next public version of WES 2011, this will done automatically if EWF or FBWF are included in the image. There'll also be an SMI setting to fine tune this behavior.

    Thanks
    Srikanth
    Srikanth Kamath [MSFT]
  • Thursday, October 08, 2009 6:51 AM
     
     
    Thanks, that's what I was looking for!

    Regards,
    Kim
  • Monday, June 14, 2010 7:58 PM
     
     

    Srikanth:

    Has this SMI setting been implemented in Windows Embedded Standard 7? If so, what is the SMI setting please. I am NOT using EWF nor FBWF.

    Thank  you,

    Jay Steeby

  • Tuesday, June 15, 2010 3:16 AM
     
     
    Yes. Both EWF and FBWF have a SMI setting named BootStatusPolicy (with default set to IgnoreAllFailures). Since you are not using either of them you will have to run the command manually. (perhaps in the RunOnce section)
    Srikanth Kamath [MSFT] - This posting is provided "As Is" with no warranties, and confers no rights.
  • Friday, June 25, 2010 2:51 PM
     
     

    I need to disable the Windows 7 Error recovery screen (or greatly shorten its display time).

    Using an elevated command prompt, I have tried: bcdedit /set {current} bootstatuspolicy ignoreallfailures

    But get the error "The integer data is not valid as specified."

    What am I doing wrong?

  • Friday, June 25, 2010 10:35 PM
     
      Has Code
    bcdedit /set {current} bootstatuspolicy ignoreallfailures

    Are you sure you are using the above command line verbatim ? I used it verbatim and it works without problems. I can repro your error if I make a type such as 

    bcdedit /set {current} bootstatuspolicy ignore allfailures

    Could you please type it out (not copy/paste) verbatim to verify?

     


    Srikanth Kamath [MSFT] - This posting is provided "As Is" with no warranties, and confers no rights.
  • Tuesday, July 06, 2010 2:20 PM
     
     
    My bad...typed the command correctly this time and it worked flawlessly - thank you. Now, is there a command to that will undo this setting?
  • Tuesday, July 06, 2010 4:07 PM
     
     

    :) yes of course

    bcdedit /set {current} bootstatuspolicy ignore displayallfailures


    Srikanth Kamath [MSFT] - This posting is provided "As Is" with no warranties, and confers no rights.
  • Friday, August 13, 2010 8:18 PM
     
     

    Hi,

     

    I used this string: bcdedit /set {default} bootstatuspolicy ignoreallfailures (or displayallfailures) and it worked.

    But can I ask you, if all failures are ignored and Windows 7 Home Premium 64 bit will not start at all for some reason or other, what can I expect to see?

    Will there be at least an opportunity to enter the displayallfailures in a DOS prompt ro something?

     

    Thanks,

    Selvan

  • Sunday, February 20, 2011 11:24 AM
     
      Has Code

    Hi

    i used this command

    bcdedit /set {current} bootstatuspolicy ignoreallfailures

    and when i check the status using bcdedit /enum it shows that all failures would be ignored but when i power off/on pc by plugging out the power cable a menu appeared with safe mode and normal startup (being the default) - with 30 second time out

    i selected normail startup and when the windows was booting again unplugged to cut the power and when i plugged back this time i get the boot menu with startup recovery being the default.

    I did this a few times and i always get the same despite the fact that BCD is ignoring all kinds of failures.

    Please help as power shortage in our area is a serious issue with a lot of fluctuation, powering on/off the pc multiple times within a short span of time. As my pc is unattended i want to completely disable windows recovery feature.

    Thanks

  • Monday, February 21, 2011 7:44 PM
     
     

    @purple_vivid:

    Change {current} to {default} and that worked for me with WES7.  Restart Windows normally, once.  Thereafter, my settings worked fine and WES7 started fine (w/o Error Recover) after power was pulled.

  • Sunday, July 17, 2011 5:35 PM
     
     
    When I type the command into command prompt and I press enter it says that it was completed succesfuly . What do I do after that ? Because I cant even login to get to my desktop . PLEASE HELP !