Disabling Suspend for VMWare Workstation VMS

When I do my testing it’s always done inside of a VM that I spin up inside of VMWare Workstation. The one feature that annoys me is that when I start a VM and leave it unattended for any length of time VMWare decides to put the machine in a “SUSPENDED” state which requires me to open up and resume the machine. Well today I got tired of that process and disabled it for my vm and I’ll show you how.

 

image

 

I found this link to a VMWare KB on the subject and the instructions are really simple but I thought it would be nice to illustrate the process for you.

 

Before we start there isn’t a method to do this to multiple machines at once so you will need to perform this process for each virtual machine you have.

 

First up.. Shut down the VM either by iniating it from inside the VM or from the power menu on the VM.

 

image

 

image

 

With the machine shutdown open up the folder for your VM via Windows Explorer. In my case I use the default location of Documents > Virtual Machines > MachineNameHere as noted in the screen capture below.

 

image

 

Once your folder is open locate the machinename.vmx file and right click on this file and open in the editor of your choice. In my instance I use Visual Studio Code as my default editor for all the things.

 

image

 

When you get the file open you want to scroll to the last line of the file and add the following text on a new line suspend.disabled = “True” when you add this line click on save and exit the editor.

 

image

 

Now when you power on the VM the option for suspending the machine is not present as we see in the image below. If you need to enable the ability to suspend the machine you will need to edit the file above and remove the line you added and then restart the vm.

image

Leave a Reply

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