Windows Server 2008 Hibernation?

One of my developers came to me this week complaining that the development server was running out of space on the C:\ drive. This sounded very strange as I knew the server had a 30GB C:\ drive. I started digging and found out that Hibernation is turned on by default in Server 2008. It creates a file called hyberfil.sys on the hard drive of the computer. The file size is relative to the amount of memory on the computer.

Howto Turn off Hibernation

Turning off Hibernation is done with one simple command. From an elevated command prompt run powercfg.exe /hibernate off

Warning

This is the warning directly from the Microsoft Support Site:

Warning You may lose data if you make hibernation unavailable when the hybrid sleep setting on the computer is turned on, and a power loss occurs. When you make hibernation unavailable, hybrid sleep does not work.

Link to support article.

Technology Links of the Week

Virtualization How to Kill Stuck VM in ESX 3.5 - Windows Administrators or those not familiar with Linux command line will find this very useful. Windows Server Troubleshooting High LSASS CPU Utilization on a Domain Controller - Microsoft's Operations Manager gives Windows Admins insight into aspects of their environment that they normally might not have. This helped in troubleshooting an alert on a domain controller. Windows 7 SecureAble Tells You if Your Processor Will Support Windows 7's XP Mode - Helpful for early adopters looking at Windows 7. Windows 7 RC1: 10 Things You Need to Know - Useful link for Windows 7 SQL An Example of Test-Driven Development - Good for large scale SQL development projects. This can be an effective development aid. Understanding SQL Server's DBCC SHOWCONTIG - Great resource to understand this command that comes in handy when troubleshooting page fragmentation and page utilization. *Caution* This command can take a long time to run on large databases. Using The Data Profiler Task and FTP Task in SQL Server 2008 Integration Services - SSIS is a very powerful tool that I like more and more with every new feature I learn.