SharePoint Experts, Information Architects, Expert Witness

We provide consulting in a broad array of business and technology from architecture to design to deployment of global systems with a focus on surfacing data in the enterprise. Specialists in Microsoft, we are a premier provider of SharePoint Expertise (including 2016 and Office 365). We also provide Expert Witness/Legal Expert in eDiscovery, source discovery, patent infringement, piracy and more! We also have established SICG DLDS s.a. - our counterpart in Costa Rica that specializes in water systems (http://www.crwatersolutions.com) - Contact me direct: david_sterling@sterling-consulting.com 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.


2 comments:

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