Help and Support

Article ID: 951218 - Last Review: May 23, 2008 - Revision: 4.1

Error message when a computer that is running Windows Vista SP1 resumes from hibernation: "System was shutdown unexpectedly"

Expand all | Collapse all

SYMPTOMS

When you wake a computer that is running Windows Vista Service Pack 1 (SP1) from hibernation, you may receive the following error message:
System was shutdown unexpectedly

CAUSE

This issue occurs when the Boot Configuration Data (BCD) store contains incorrect information for the "Resume from Hibernate" entry.

RESOLUTION

To resolve this issue, follow these steps:
  1. Open an elevated command prompt. To do this, click Start
    Collapse this imageExpand this image
    the Start button
    , click All Programs, click Accessories, right-click Command Prompt, and then click Run as Administrator.
  2. At the command prompt, type bcdedit -enum all, and then press ENTER.
  3. Examine the output from this command. Look for the following entries:
    Resume from Hibernate
    ---------------------
    identifier {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
    
    Note In this step, x may represent a letter or a number.
  4. At the command prompt, right-click each entry that you find, and then click Mark.
  5. Use the pointer to select the following text, and then press ENTER:
    {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
  6. Type bcdedit /deletevalue, right-click at the location of the cursor, and then click Paste. When you do this, the following text will appear:
    {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}
  7. At the end of this text, type inherit. When you do this, the command line at the command prompt resembles the following:
    bcdedit /deletevalue {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} inherit
  8. Press ENTER, type exit, and then press ENTER.
If you have several computers that are experiencing this issue, you can generate the following logon script:
bcdedit.exe /create {resumeloadersettings} /d "Resume Loader Settings"
This logon script runs the "Resume from Hibernate" entry to script the resolution.

APPLIES TO
  • Windows Vista Service Pack 1
  • Windows Vista Ultimate
  • Windows Vista Enterprise
  • Windows Vista Business
  • Windows Vista Home Premium
  • Windows Vista Home Basic
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Business 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
Keywords: 
kbexpertisebeginner kbtshoot kbprb KB951218

Article Translations