VMware Workstation Start & Stop VMs from Command Line
In the folder
C:\Program Files\VMware\VMware Workstation
or:
C:\Program Files (x86)\VMware Workstation
You’ll find vmrun.
Command format: vmrun [AUTHENTICATION-FLAGS] COMMAND [PARAMETERS]
1. To start a virtual machine:
"C:\Program Files\VMware\VMware Workstation\vmrun" -T ws start "C:\VMs\Linux.vmx"
2. To Shut down a VM:
"C:\Program Files\VMware\VMware Workstation\vmrun" -T ws stop "C:\VMs\Linux.vmx"
3. To reboot:
"C:\Program Files\VMware\VMware Workstation\vmrun" -T ws reset "C:\VMs\Linux.vmx"
You can use these commands in the Option tab of BackupChain to start and stop VMs before and after backups, if you don’t want a live backup but a cold backup instead.
Do You Have an Effective, Reliable, and Automated VMware Backup Solution?
Have a look at How to Backup VMware Workstation, VMs, VMDK Files and check out our automatic VMware backup software today. It’s much more reliable than scripts and batch files and offers a ton of features that speed up the process and save storage space.
Backup Software Overview
BackupChain Server Backup SoftwareDownload BackupChain
Cloud Backup
Backup VMware Workstation
Backup FTP
Backup VirtualBox
Backup File Server
Hyper-V Backup
Backup Hyper-VPopular
- Hyper-V Links, Guides, Tutorials & Comparisons
- Veeam Alternative
- How to Back up Cluster Shared Volumes
- DriveMaker: Map FTP, SFTP, S3 Site to a Drive Letter (Freeware)
Resources
- Free Hyper-V Server
- Remote Desktop Services Blog
- SCDPM Blog
- SCOM Blog
- V4 Articles
- Knowledge Base
- FAQ
- Sitemap
- Backup Education
- Backup Sichern
- Hyper-V Scripts in PowerShell
- FastNeuron
- BackupChain (Greek)
- BackupChain (Deutsch)
- BackupChain (Spanish)
- BackupChain (French)
- BackupChain (Dutch)
- BackupChain (Italian)
Backup Software List
BackupChain
Veeam
Unitrends
Symantec Backup Exec
BackupAssist
Acronis
Zetta
Altaro
Windows Server Backup
Microsoft DPM
Ahsay
CommVault
IBM
Other Backup How-To Guides
- How to Backup a Virtual Server While Running
- How to Fix VSS Errors (Volume Shadow Copy Service Errors)
- Hyper-V on RAID is Slow…Why?
- Disaster Recovery Strategies and Recovery Objectives
- Hyper-V Stop 0x0000000A BSOD Error Causes and Fixes KB2776366
- How to Fix Error ID 10178 in Hyper-V VMMS
- How to Install Hyper-V Server 2012 R2 in VMware Workstation (works for Windows Server 2008 too)
- Veeam Alternative for Hyper-V Backup
- Windows Server 2012: Hotfixes for Cluster Servers
- How to Fix VolSnap Error ..a critical control file could not be opened
- How to Fix VSS Timeout Error VSS_E_FLUSH_WRITES_TIMEOUT
- How to fix 19050: The virtual machine is not in a valid state to perform the operation
- How to Backup a Hyper-V VM Remotely Online
- How to Fix: MSMQ Writer (MSMQ) failed
- Get All VHDX for All VMs with this PowerShell Script
- How to Mount a VHDX to Windows using a PowerShell Script
- Free Disk2VHD Hyper-V VHDX Physical to Virtual Conversion P2V
- 4 Things You Need To Know About Hyper-V Integration Services
- VMware Workstation Start & Stop VMs from Command Line
- How to Fix VolSnap 28 Error “The shadow copy could not be created…