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\]
"Heuristics"=hex:05,00,00,00,00,01,01,00,0e,6f,00,00,f0,00,00,00,76,00,00,00
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:

\[GuiRunOnce\]
    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

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.
Publish