Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 954
  • Last Modified:

Hibernation file on Citrix server

I have a Windows 2008R2 server and after reboot there is a 33GB hibernation file in the C:\ drive so I am running out of disk space.  I can run a command to turn it off that makes the hibernation file go away:
C:>  powercfg -hibernate off
I don't understand why it turns up in the first place.
How do I make sure it never turns on?
0
Xenon6
Asked:
Xenon6
1 Solution
 
Ayman BakrSenior ConsultantCommented:
It must be that by default the hibernation, turn off harddisk and/or system standby are all on.

On a server like Citrix these should be turned off.

With the command you have issued I believe you should have already disabled hibernation. But also make sure that you make your turn off harddisk and system standby is set to never.

Also ensure the following value in the registry:

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power "Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00
0
 
rindiCommented:
I think this is a setting that has been pushed to Windows (not just servers, but also Windows 7 etc.) by the last Windows updates. I've noticed the hibernation file on serveral Windows OS machines recently that previously didn't have it. This isn't really an answer to your Question though, you have answered it yourself by turning hebernation off again manually...
0
 
Matt VCommented:
1.Click Start, and then type cmd in the Start Search box.
2.In the search results list, right-click Command Prompt, and then click Run as Administrator.
3.When you are prompted by User Account Control, click Continue.
4.At the command prompt, type powercfg.exe /hibernate off, and then press ENTER.
5.Type exit and then press ENTER to close the Command Prompt window.

http://support.microsoft.com/kb/920730
0
Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
rindiCommented:
I don't agree with you accepting that as the answer to your Question, as it is exactly the same command you had already found and posted yourself. It doesn't give any new insight at all.

You should rather either accept your own Question as the answer (as that probably ins't possible, make a Quote of it in a new Comment, and then accept that comment), or have the Question deleted.
0
 
Xenon6Author Commented:
All I did was use the command powercfg -hibernate off in a short .cmd file that I ran after logon using a schedualed task.
There has been no suggestion why it keeps comming back on each time the server reboots.  I am really just using a work around.
0
 
Xenon6Author Commented:
IT is a work around.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now