Show ‘Hibernate’ in XP ‘Turn Off Computer’ Dialog – SP3

I have been looking for this for a while – the ability to add ‘Hibernate’ to the Turn off Computer dialog box. Yes I know, you’re probably yelling at the monitor telling me that I should just press ‘H’ or hold shift and click but frankly, who can be bothered?

Hibernate button added into the Turn Off Computer menu

The fix noted below will allow you to add the option to your Turn off Computer menu making hibernation easy. There are two different sets of instructions, each corresponding to the different logon style.

You must have XP SP3 installed for this to work.

It is a prerequisite that you require a version of c:\windows\system32\msgina.dll that is later than or equal to version 5.1.2600.2603. You can check this by navigating to the file, right click, properties, version tab.
If you dont fufill this prereq, just download this hotfix
here and try install that (if you don’t trust it, take a look at the digital Microsoft signatures) 

The registry entry for default XP logon can be downloaded here, for classical or domain logon style download this one instead. You can alternatively follow the instructions below. The first half of the instructions are relevant to both different logon styles, the differing instructions for classical logon are detailed further down.

To enable the Hibernate option in the Turn off Computer menu

1. Click Start, click Run, type regedit, and then click OK.
2. Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
3. Right-click Windows, point to New, and then click Key.
4. In the New Key #1 box, type System, and then press ENTER.
5. Right-click System, point to New, and then click Key.
6. In the New Key #1 box, type Shutdown, and then press ENTER.
7. On the Edit menu, point to New, and then click DWORD Value.

The following instructions apply to the default XP logon style:

8. In the New Value # 1 box, type ShowHibernateButton, and then press ENTER.
9. Right-click ShowHibernateButton, and then click Modify.
10. In the Value data box, type 1, leave the default Hexadecimal option selected,
and then click OK.
11. Quit Registry Editor.

The alternate instructions apply to classical or domain logon style:

8. In the New Value # 1 box, type HibernateAsDefault, and then press ENTER.
9. Right-click HibernateAsDefault, and then click Modify.
10. In the Value data box, type 1, leave the default Hexadecimal option selected, and then click OK.Note After you set the HibernateAsDefault DWORD value to a non-zero value on a computer that is joined to a domain, Hibernate appears in the Shut Down Windows dialog box if the following conditions are true:

Hibernation is enabled on the computer.
No automatic updates are pending that require the computer to be restarted.
11. Quit Registry Editor.

Reference http://support.microsoft.com/kb/893056

Comments

2 Responses

  1. Hello Shadow Productions, I’d just like to say that your tutorial was fantastic. I really like the way that you laid out the step-by-step process to showing the Hibernate button; simple, clear and to the point. I followed your tutorial to the letter, but the Hibernation button did not appear. =(
    However, after a quick flash back, while re-editing the “ShowHibernationButton”, I was reminded that some times Microsoft uses the number “2” instead of “1” to enable some features in the registry, and wouldn’t you know it, there it was. =]

    Oh, also, I noticed you don’t have any 2011 posts. How’s about doing one on DirectX 10 for windows XP?

  2. Hi TheLaughingMan,

    Microsoft state that we should use the value of ‘1’ as opposed to 2… Maybe changing it to 2 cleared some form of a cache, and thus made the button appear the second time? The ultimate test would be changing it back to 1, and that should keep the hibernate button visible.

    No 2011 posts — as I’m working full time, I haven’t really had time to think of anything else to post. I haven’t used Windows XP in a few months and now that it’s nearing it’s end of life-cycle, I don’t think I’ll be revisiting many XP posts.

Leave a Reply

Your email address will not be published.