Skip navigation

JSI Tip 3631. How do I enable the Hibernate feature during an unattended install?

The are no parameters that allow you to enable the Hibernate feature during the install.

Here is a workaround:

1. On another Windows 2000 computer, enable the Hibernate feature using Control Panel / Power Options / Hibernate tab / Enable Hibernate Support. Use Regedit to Export the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Power key to a Hiber.reg file. Edit the Hiber.reg file, leaving only the Heuristics value name:

Windows Registry Editor Version 5.00

\[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power\]
2. Boot the Recovery Console and copy the c:\hiberfil.sys file to hiberfil.cop. Restart the computer.

3. Copy the Hiber.reg and Hiberfil.cop files to a location that is accessible during the unattended installation, CD-ROM, network share, or another partition on your target computer.

4. Add the following section to your Unattend Answer file:

    Command0="regedit /s <path>\hiber.reg"
    Command1="cmd /c copy <path>\hiberfil.cop c:\hiberfil.sys"
    Command2="cmd /c attrib +S +H +A C:\hiberfil.sys"
NOTE: You can NOT do this with a Terminal Services computer.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.