Add the following script to the Windows scheduled task
"D:\Program Files (x86) \vmware\vmware Workstation\vmplayer.exe" "D:\Personal\Documents\Virtual machines\kbuntu\ KBUNTU.VMX "
Explain:
"D:\Program Files (x86) \VMware\VMware Workstation\vmplayer.exe" is the command
"D:\Personal\Documents\Virtual machines\kbuntu\kbuntu.vmx" is an argument, which is to open the Kbuntu.vmx file with the Vmplayer.exe program
Note that there is a space between the command and the parameter.
Specific steps:
1 Open Task Scheduler
2 Click Create Basic Task (this is the Creation wizard, next step, very convenient)
3 fill in the task name, for example we are here to start the virtual machine and then next
4 Select computer to start , and then next
5 Select the launcher and then next
6 Copy the topmost light Blue line script to the first program or script input box, and then next
7 A dialog box with the following prompts will pop up, select Yes , then complete the next step
Explanation: Through this step of the dialog we know that automatically separates our commands and parameters, so the 6th step above, you can also manually split the command and parameters to copy: "D:\Program Files (x86) \VMware\VMware workstation\ Vmplayer.exe "command is copied to the first input box in step 6th, the" D:\Personal\Documents\Virtual machines\kbuntu\kbuntu.vmx "parameter is copied to step 6th of the input box for the second add parameter. Note that double quotes should also be copied together
Windows10 How to boot a virtual machine