Monthly Archives: February 2016

Windows machine gets suspended when inactive in VMware

Windows 8, Windows 8.1, Windows 10 get suspended or go to standby mode when are inactive for more than 5 mins. The issue is related to mobile devices which OSes were designed for and battery savings which disable some of the services such as RDP and users cannot login to machines.

In order to address the issue in VMware, a machine needs to be powered down and .vmx file needs to be modified. There are two ways of doing it:

  1. Directly via ssh and using text editor to append the following to <vm_name>.vmx file: suspend.disabled=”TRUE” save changes and exit file.
  2. Using vSphere Client by right clicking the machine and edit settings. Navigating to Options -> Advanced -> General and clicking ‘Configuration Parameters’ button. \
    1. Select ‘Add Row’ button.
    2. Name: suspend.disabled, Value: True
  3. Save settings and power the mahcine back on.



Silent VMware Tools upgrade

To updated VMware tools on Windows without reboot:

  1. Right click on a virtual machine
  2. Select ‘Guest’ -> Install/Upgrade VMware Tools
  3. In the pop-up dialog select ‘Automatic Tools Upgrade’ in ‘Advanced Options’ enter the following:  /S /v"/qn REBOOT=R"
  4. Installation can take up to 10 mins depending on your data storage performance