9/11/2023 0 Comments Vmware player 16![]() ![]() The last step is to move the batch file to your Startup folder. Name the file something like Autostart Home Assistant.bat. File > Save As > and then change the “ Save as Type” to All Files. The nogui at the end tells VMware to run the Home Assistant virtual machine without opening the VMware Workstation Player window, which means it will run in the background. "C:\Program Files (x86)\VMware\VMware Player\vmrun.exe" start "C:\HomeAssistant\homeassistant.vmx" nogui You will need to change the path to your own. Right-click > Create new text document.ĭouble-click to open, and then paste this command. If using a USB zwave/zigbee dongle (I’m using the Nortek GoControl), then make sure to follow this guide to automatically connect USB drives to VMware Workstation. To do this, we will be creating a simple batch file and placing it into the Startup folder. This option will automatically launch your Home Assistant VM after logging into your PC. Option 1: Run Home Assistant VM After Login ![]() In this example, I am going to automatically start Home Assistant after rebooting my Windows 10 host PC. ![]() Once confirmed that is correct, you can move onto the next step.īrowse to the path where your virtual machine configuration file (.vmx) is stored. Other useful guides:īy default, VMware should be running at C:\Program Files (x86)\VMware\VMware Workstation. I’m not sure why they removed this feature in Workstation 16, but this is a simple way to achieve the same effect. On previous versions of VMware, you could simply click the X on the player window, and an option pops up asking if you want to run it in the background. This will also force it to run it to run in the background, so you aren’t left with an open program taking up space on your taskbar. This means that after your host computer or server restarts, your VM will automatically startup without you needing to launch the VMware Workstation Player. In this guide, I will show you how to run your Vmware Workstation VM in the background and automatically after reboot, using either a batch file in the Startup folder or Windows Task Scheduler. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |