Registry Flag for Reboot Required

Registry Flag for Reboot Required

Postby sar423 » 14.03.2013, 16:32

Is there a way for wsus offline update to put a flag in the system registry similiar the way the included windows update does showing that a reboot is required?

I am trying to run the wsus offline via script schedule and then rely on another process to restart the system--short of parsing the log file I would like a way to have a registry key created that would show that updates were installed successfully and that a reboot is required. And then need this key to auto delete once the system is restarted.

Thanks.

And sorry if this issue has been brought up in another forum post.
sar423
 

Re: Registry Flag for Reboot Required

Postby aker » 14.03.2013, 19:21

You may use the %errorlevel% wsusou gives on exit.
3011 means that you need to rerun wsusou
3010 means that your computer needs to be rebooted.
Maybe this information helps.
Wer Rechtschreibfehler findet, darf sie behalten oder an den Meistbietenden versteigern. / Everybody finding a misspelling is allowed to keep or sell it.
aker

WSUS Offline Update „Community Edition“
https://gitlab.com/wsusoffline/wsusoffline/-/releases
aker
 
Posts: 3999
Joined: 02.03.2011, 15:32

Re: Registry Flag for Reboot Required

Postby sar423 » 14.03.2013, 20:36

Where does wsusoffline post these error messages?
sar423
 

Re: Registry Flag for Reboot Required

Postby WSUSUpdateAdmin » 16.03.2013, 08:58

It's the script's return value which you can query using %errorlevel%.
WSUSUpdateAdmin
Administrator
 
Posts: 2245
Joined: 07.07.2009, 14:38


Return to Anregungen / Suggestions

Who is online

Users browsing this forum: No registered users and 171 guests