Here’s some extra credit setup info.
Setting Up USB Autoconnect
- Shut down your HA VM.
- Navigate to your the folder where your VM lives.
- Open the vmware.log file in the text editor of your choosing.
- Search for the USB device you wish to automatically connect to the VM. You should see a line similar to this.
- Go back to the folder and edit the VMX file for your VM.
- At the bottom add this line for the device(s) to auto connect. The name should be the name from the log file. If you need more than one device, just increment the number after ‘device’.
usb.autoConnect.device0 = "name:###name from log file####"

- Start your VM back up. The devices should auto connect and show up under Settings → System → Hardware → All Hardware
Setting the VM to Start With Windows
- Create a batch file
- Navigate to your VM folder (really any folder will work).
- Create a new text file. Name it whatever you’d like, just change the file extension to ‘.bat’
- Paste the following line.
"C:\Program Files (x86)\VMware\VMware Player\vmrun.exe" -T player start "###full path to VMX file###" nogui
It should look something like this
(NOTE: I have the VMware folder in my path variable, so I don’t have to list the full directory location; if you haven’t done this or don’t know what it is, just use the text from above)
- Schedule the Batch File to Run at System Start
- Open Task Scheduler:
- From the Action menu, select “Create Basic Task”
- Name it whatever you’d like and click Next.
- Select “When the computer starts” as the trigger.
- Leave the action set to “Start a program”
- In the “Program/script” field, navigate and select the batch file created in the previous section:
- Tick the box to open properties and then click finish.
- Under security options on the “General” tab, change to “Run whether user is logged on or not”
- Go to the Triggers tab. Right click the trigger and select edit. Tick the delay task option and set to 1 minute.
- Go to the “Conditions” tab. Untick “Start the task only if the computer in on AC power”
- Go to the “Settings” tab. Tick “Run as soon as possible” and untick “Stop the task if it runs longer than:”
- Hit OK, then provide your Windows password when prompted.
Reboot and verify that HA starts with Windows.










