i want to install all the downloaded updates at one time reboot
That may not be possible, depending on what you're installing.
Also, you stated that only 71 of 150 updates have been downloaded. Those may or may not be the "right" 71 updates to be installing (before the other 79 that aren't downloaded).
Of the 71 that were downloaded, it really depends on what's in that mix. Could well be that the other 41 can't be installed until one of those first 30 was.
Plus your messing with an already in-progress event (does this client have a *scheduled* installation event), by invoking the installation via a script, added into your shutdown script. For all we know your shutdown script interfered with the installation
of the other updates.
Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
SolarWinds Head Geek
Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
http://www.solarwinds.com/gotmicrosoft
The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.