Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Windows 8 hangs on black screen after resume from hybrid sleep


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a Windows 8 system.
  • The system has been configured to use hybrid sleep.
  • Power to the Windows 8 system is lost while the system is asleep.
After you resume the Windows 8 system from hybrid sleep, the system hangs with a black screen at boot.

↑ Back to the top


Cause

Some writes in progress at the time the system enters hybrid sleep are not properly flushed to disk before the system hibernates, and as a result data corruption in the file system and/or pagefile occurs if power to the system is lost while the system is in hybrid sleep. Depending on what writes were in progress at the time sleep was entered, random data corruption may occur across the disk.

This behavior is a regression in Windows 8 and does not occur in hybrid sleep scenarios on Windows 7.

The hang at boot on the black screen symptom occurs if the $Secure file becomes corrupt. The $Secure file is an NTFS internal metadata file containing security permissions for the entire volume. The $Secure file is likely to become corrupt if one of the lost writes described above was related to writing permissions. When the operating system attempts to recover the corrupted $Secure file, the result is that default permissions are set across all files on the system. The default permissions are not sufficient to allow the RPC endpoint mapper service to start, which prevents the RPC service from starting. The RPC service is critical to the operation of Windows, and RPC service start failure results in the apparent system hang.

↑ Back to the top


Resolution

Three separate updates for Windows 8 have been released in two separate Windows Update packages to prevent this issue on Windows 8. They where made available on Windows Update as part of the June and July cumulative update releases.

The mitigation fixes�released as part of the June 2013 cumulative update addresses two issues:�

1) An issue where the Task Scheduler repeatedly sets permissions on files in a way that causes the $Secure file to grow excessively.�

2) CHKDSK has been updated to�more gracefully recover the $Secure file in the event that�$Secure becomes corrupt on disk.

The third fix was released as part of the July 2013 cumulative update. It resolves the root cause of this issue:

3) An issue where some writes may be lost if power is lost during hybrid sleep. This fix will prevent the lost writes, which will prevent the data corruption leading to this scenario.

↑ Back to the top


More information

The June 2013 Windows 8 cumulative update can be found here: http://support.microsoft.com/kb/2845533
The July 2013 Windows 8 cumulative update can be found here:�http://support.microsoft.com/kb/2855336

↑ Back to the top


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


Keywords: KB2849217

↑ Back to the top

Article Info
Article ID : 2849217
Revision : 4
Created on : 7/17/2013
Published on : 7/17/2013
Exists online : False
Views : 296