VMware interface starts, consumes a lot of resources, I believe the background start is the way you like, simple introduction of the following several commonly used commands are as follows:
Open the DOS window and execute the following command:
Go to the Virtual machine installation directory: CD C:\Program Files (x86) \VMware\VMware Workstation
Start: vmrun-t ws start "C:\UBUNTU/UBUNTU.VMX" Nogui
[Description: C:\UBUNTU/UBUNTU.VMX is the Ubuntu system you created in the virtual machine, the following same]
To see if it started successfully: Tasklist|findstr VMware
[Description: This is the UNIX system in the Ps-ef|grep "VMware"]
Normal shutdown: Vmrun stop "C:\UBUNTU/UBUNTU.VMX" soft
Force shutdown: Vmrun Stop "C:\UBUNTU/UBUNTU.VMX" hard
Suspend hibernation: Vmrun suspend "c:\ubuntu/ubuntu.vmx" hard | Soft
List running virtual machines: Vmrun List
The above is to make our common use of the operation, but each time the input is certainly more troublesome, write a bat script, convenient many, paste out as follows:
:: Start vmware @echo s:start vmware p:stop vmware@set/p select= input: @if "%select%" = = "s" goto start@if "%select%" = = "P" G OTO stop:stop CD C:\Program Files (x86) \vmware\vmware Workstation vmrun Stop "c:\ubuntu/ubuntu.vmx" hard @ echo Stop succeed! Pause exit:start cd C:\Program Files (x86) \vmware\vmware Workstation vmrun list vmrun-t ws start "c \ Ubuntu/ubuntu.vmx "Nogui tasklist|findstr vmware @echo start succeed! Pause Exit
Not familiar with bat script, writing is ugly, but available.
OK, good luck to everyone!
VMware's background boot