Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Virtualization / VMWare / Disable Auto Suspend of VM on VMWare Workstation/Player

August 26, 2021 VirtualizationVMWare

Disable Auto Suspend of VM on VMWare Workstation/Player

I have noticed an annoying feature in the VMWare Workstation hypervisor. If you don’t use a virtual machine for some time, it is automatically suspended by the built-in Auto-Suspend feature. To continue using the VM, you have to click the Resume this virtual machine button.

Disable the Virtual Machine AutoSuspend on VMware Workstation

Automatically suspend feature is enabled by default in VMWare Workstation Player/Fusion. It allows to save host resources by automatically freezing the VM state without shutting it down. To turn on the suspended VM, you need some seconds, but I find the feature annoying.

Firstly, it is not convenient if you test something on the VM and wait for the results of your process or script. Secondly, regular VM suspending and saving the memory state to disk will consume your SSD resource. Thirdly, I don’t want to wait for some seconds each time when VMWare Workstation resumes the VM.

VMWare Workstation can suspend the VM automatically or when it detects that a guest OS is in sleep/hibernate mode. For example, Windows 10 puts the device into sleep mode after 30 minutes of inactivity (Control Panel\Hardware and Sound\Power Options\Edit Plan Settings -> Put the computer to sleep).

windows 10 - put the computer to sleep

Unfortunately, you cannot completely disable Auto Suspend in VMWare Workstation settings. However, you can prevent a hypervisor from suspending the specific VM in VMX config file settings.

  1. Shut down the VM;
  2. Look at the path to its VMX configuration file in the VM properties;
    get configuration file VMX path of VMWare VM
  3. Open the VMX file in any text editor and add the line suspend.disabled = "TRUE" to the end of the file. Then save it;set suspend.disabled = "TRUE" in vmx VM file
    Tip. You can add the line to the VMX text file using the PowerShell command:
    Add-Content C:\VHD\win10x64\win10x64.vmx 'suspend.disabled = "TRUE"'
    Make sure that the line was successfully added to the VM VMX file:
    get-content C:\VHD\win10x64\win10x64.vmx | Select-String "suspend"powershell disable autosuspend for vware workstation VM
  4. Start the VM and make sure that your VMWare Workstation hypervisor no longer suspends the VM.

0 comment
4
Facebook Twitter Google + Pinterest
previous post
Windows Server Core: Installing Active Directory Domain Controller
next post
High Non-Paged Pool Memory Usage (Leak) in Windows

Related Reading

How to Install Free VMware Hypervisor (ESXi)?

January 24, 2023

Using VMware Converter for P2V Migration (Physical to...

October 19, 2022

Using iPerf to Test Network Speed and Bandwidth

September 29, 2022

Adding Drivers into VMWare ESXi Installation Image

September 26, 2022

VMWare: Virtual Machine Disks Consolidation is Needed

September 16, 2022

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • How to Run Program without Admin Privileges and Bypass UAC Prompt?

    March 24, 2023
  • Configure Network Settings on Windows with PowerShell: IP Address, DNS, Default Gateway, Static Routes

    March 24, 2023
  • Exchange Offline Address Book Not Updating in Outlook

    March 21, 2023
  • Attaching Host USB Devices to WSL or Hyper-V VM

    March 20, 2023
  • Sending an E-mail to a Microsoft Teams Channel

    March 17, 2023
  • How to Restore Deleted Users in Azure AD (Microsoft 365)?

    March 16, 2023
  • Fix: Remote Desktop Services Is Currently Busy

    March 15, 2023
  • Send-MailMessage: Sending E-mails with PowerShell

    March 14, 2023
  • Clear Cache and Temp Files in User Profiles on Windows (RDS) with PowerShell and GPO

    March 13, 2023
  • Prevent Users from Creating New Groups in Microsoft 365 (Teams/Outlook)

    March 6, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Adding Drivers into VMWare ESXi Installation Image
  • Shrinking VMDK Virtual Disk Size on VMWare ESXi
  • How to Access VMFS Datastore from Linux, Windows, or ESXi?
  • Hyper-V Virtual Machine Stuck in Stopping/Starting State
  • Match Windows Disks to VMWare VMDK Files
  • How to Install and Configure Free Hyper-V Server 2019/2016?
  • Recovering a Deleted VMFS Datastore on VMware ESXi/vSphere
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top