Do Your VMware Workstation Guests Take Forever to Shutdown?

If you use VMware Workstation, you know that the guest can take forever to shutdown. The solution at http://flakrat.blogspot.com/2011/12/vm-guests-take-forever-to-shutdown-in.html works perfectly. The solution is to edit your VMX file and ADD the following lines:

prefvmx.minVmMemPct = "100"
mainMem.useNamedFile = "FALSE"
mainMem.partialLazySave = "FALSE"
mainMem.partialLazyRestore = "FALSE"

You may be asking, what do these settings do? Here ya go:

  • prefvmx.minVmMemPct = “100″ – try to fit memory into RAM
  • mainMem.useNamedFile = “FALSE” – doesn’t use named-file, which is only used for VMs on slow disks
  • mainMem.partialLazySave = “FALSE”  – do not take snapshots in background
  • mainMem.partialLazyRestore = “FALSE”  – do not restore snapshots in background

Kudos to FlakRat!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>