I am running the following script task via Altiris.to install a windows KB.
@echo off
sc config wuauserv start= auto
sc start wuauserv
timeout 5
start "" /w wusa.exe \\servername\sharename\KB1.msu /quiet /norestart
timeout 50
sc stop wuauserv
sc config wuauserv start= disabled
Task runs, enable/start the service but skip the 2nd line for installing the KB and move to the last part for stop/disabling the service.
Would anyone able to help why altiris skipping the installation task.
It does work if i run the script manually on the server.