Forcing a frozen virtual machine to power off in VMware Workstation for Windows
searchcancel
Forcing a frozen virtual machine to power off in VMware Workstation for Windows
book
Article ID: 315654
calendar_today
Updated On: 10-28-2024
Products
VMware Desktop Hypervisor
Issue/Introduction
This article provides steps to force a virtual machine to shut down.
Symptoms:
Virtual machine fails to respond during the shut down process
You are unable to power off a virtual machine
The virtual machine stops responding
Virtual machine takes a lot of time to shutdown.
Virtual machine is stuck on a black screen while shutting down.
Environment
VMware Workstation 8.x (Windows) VMware Workstation Pro 15.x (Windows) VMware Workstation 11.x (for Windows) VMware Workstation 7.x (Windows) VMware Workstation Pro 12.x (Linux) VMware Workstation Pro 12.x (Windows) VMware Workstation Pro 14.x (for Windows) VMware Workstation Pro 16.x (Windows) VMware Workstation 10.x (Windows) VMware Workstation Pro 14.x (for Linux) VMware Workstation 6.x (Windows) VMware Workstation 9.x (Windows)
Resolution
Warning: Performing a hard power off has the same effect as switching off the power switch on a physical computer. Use this method only when it is absolutely necessary because it may cause data loss or file system corruption.
To force a virtual machine to power off:
From the Workstation menu bar, select the virtual machine to be powered off.
Click VM > Power > Power Off.
If the VMware Workstation user interface is not responding due to the frozen virtual machine, you may have to force the virtual machine to shut down from Windows Task Manager.
Click Start > Run, type taskmgr, and click OK. The Task Manager window opens.
Click the Processes tab.
Locate the vmware-vmx.exe process.
Click the vmware-vmx.exe process and click End Process. This stops the virtual machine process and forces it to power off.
Start the VMware Workstation GUI and confirm.
If the virtual machine takes a lot of time to shut down or if it gets stuck on a black screen when powering off, add the following changes to the VMware Workstation config.ini file.
Exit VMware Workstation.
Browse to the following location:
C:\ProgramData\VMware\VMware Workstation
Open the config.ini file in a text editor, e.g. Notepad