Table of Contents
Disable Auto Suspend of VM on VMWare
You 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.
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.
![Bg1700](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/09/bg1700.png)
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.
1. Start your Windows VM then open Control Panel | Navigate to the Power Options.
![Bg1701](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/09/bg1701.png)
2. Select Change when the computer sleeps option in the left side.
![Bg1702](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/09/bg1702.png)
3. Change the Turn off the display and Put the computer to sleep to Never to stop auto suspend.
![Bg1703](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/09/bg1703.png)
Disable Auto Suspend using configuration file
Alternatively, you can prevent a hypervisor from suspending the specific VM in VMX config file settings.
1. Shutdown the virtual machine.
2. Find the path to its VMX configuration file in the VM properties.
![Bg1719](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/09/bg1719.png)
Or you can right click on the VM then select Open VM directory.
![Bg1720](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/09/bg1720.png)
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.
![Bg1721](https://bonguides-1e199.kxcdn.com/wp-content/uploads/2022/09/bg1721.png)
4. Start the VM and make sure that your VMWare Workstation hypervisor no longer suspends the VM.
Add-Content "H:\Windows 10 Pro\Windows 10 Pro.vmx" 'suspend.disabled = "TRUE"'
Make sure that the line was successfully added to the VM VMX file:
Get-Content "H:\Windows 10 Pro\Windows 10 Pro.vmx" | Select-String "suspend"
PS C:\Users\admin> Get-Content "H:\Windows 10 Pro\Windows 10 Pro.vmx" | Select-String "suspend"
powerType.suspend = "soft"
suspend.disabled = "TRUE"