If you want your VM that runs Home Assistant to start when Windows boots (even before you login) you can do so via the Task Scheduler. You can even run it “headless” so the VM is essentially running in the background and is not readily apparent to the user when viewing the Windows Desktop. Here is a detailed explanation of how to set this up.