Disable hibernate in Win 7

Problem:

A customer with Windows 7 VMs in their VMview environment is seeing a lot of disk space consumed by hypernate files.  The VMview Manager, vSphere, and ESX can manage the power, memory, and disk images for each VM.  As a result, it is redundant and even counter-productive to allow the Windows OS perform power management for themselves when running as a Virtual Machine.

Solution:

  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.

Result:

Eliminated 3.1GB of disk usage from each Windows 7 VM in the customer’s VMview environment.  This setting achieved a savings of approximately 7TB of Enterprise SAN.


Advertisements

One thought on “Disable hibernate in Win 7

  1. to disable hibernate (aka safe sleep) in Mac OS X, use these terminal commands:
    * disable safe sleep mode: sudo pmset hibernatemode 0
    * remove the sleep image file: sudo rm -rf /var/vm/sleepimage

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s