Fixing issue with autostart vm, windows template failed to start