Log File of Updates

Log File of Updates

Postby Dennis » 19.01.2015, 17:50

Does WSUS Log what it installs anywhere on the local workstation it runs on? Or is there away to enable logging?
- Dennis
Dennis
 
Posts: 14
Joined: 01.12.2014, 23:17

Re: Log File of Updates

Postby aker » 19.01.2015, 18:30

%SystemRoot%\wsusofflineupdate.log
e.g. C:\Windows\wsusofflineupdate.log
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: Log File of Updates

Postby Dennis » 20.01.2015, 15:22

Aker,

Thank you my friend. Addtional question, is there away to have the software write that log file to another location, such as a network path

For example
\\wsus\logs\%computername%\UpdateLog%date%.log

I assume I can affix a copy line to the end of the batch I create for scheduled tasks that would achieve the same result

xcopy C:\Windows\wsusofflineupdate.log \\wsus\logs\%computername%\UpdateLog%date%.log or something to the effect...

I sort of just answered my own question I suppose, but is there away to just have the system do it?
- Dennis
Dennis
 
Posts: 14
Joined: 01.12.2014, 23:17

Re: Log File of Updates

Postby aker » 20.01.2015, 17:02

The command prompt has some problems with UNC paths, but I'm not sure, if this affects logging to a file. If you mount you network path as network drive, you can create a custom initialization hook, which runs
Code: Select all
set UPDATE_LOGFILE=<your path>
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


Return to Installation / Updating

Who is online

Users browsing this forum: No registered users and 10 guests