Windows Update service is disabled in OnApp Windows templates by default.
To enable it:
- Open the services.msc console.
- Double-click Windows Update service.
- In the Startup type field, select Automatic (Delayed Start).
- Click the Start button and then click the OK button to apply the changes.
Additionally, you can enable and start the service with the following commands:
sc config wuauserv start= delayed-auto net start wuauserv
If you want to do it automatically after the VS is built, create a recipe using the commands provided below: