Windows Update service is disabled in OnApp Windows templates by default.


To enable it:

  1. Open the services.msc console.
  2. Double-click Windows Update service.
  3. In the Startup type field, select Automatic (Delayed Start).
  4. 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: