SharePoint Experts, Information Architects, Expert Witness

SICG provides a broad array of business and technology consulting from architecture to design to deployment of global systems with a focus on surfacing data in the enterprise. We focus on the "How", not just the possible. Contact me direct: or call 704-873-8846 x704.

Search This Blog

Thursday, August 2, 2012

VMWare Virtual Machine takes a long time to shutdown

Not sure if I posted this already but while setting up my VMWare Virtuals today (to test out SharePoint 2013!) I noticed the VM was taking a very long time to shut down.

Having dealt with this before, I scrambled around to find the solution and having found it, post it here for you:

VM Takes Long Time to Shutdown Fix
0) Shut down the VM before you do anything; if something like a Production server, you should either backup the entire directory that holds the VM files or take a snapshot (depends on your product).

1) In the VM's folder, locate the <vmname>.VMX file

2) Make a copy (backup) of the file (this is important!)

3) Edit the file using notepad (don't use anything like Word) - locate the following entries in file - if you DO NOT find them, add them to the bottom of the file:

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

4) Save the file and exit notepad

5) Start the VM - let it completely start, log in, then choose normal shutdown - should now shutdown in a matter of seconds.

I've had no adverse effects with these settings but use at your own risk.


Skill Quotient said...

Nice blog and thanks for sharing your information.
VMware Virtualization Online Training | Sharepoint Training

Skill Quotient said...

Thanks for sharing fabulous information.It's my pleasure to read it
VMware Virtualization Online Training | Sharepoint Training