Page 1 of 1

Log File of Updates

PostPosted: 19.01.2015, 17:50
by Dennis
Does WSUS Log what it installs anywhere on the local workstation it runs on? Or is there away to enable logging?

Re: Log File of Updates

PostPosted: 19.01.2015, 18:30
by aker
%SystemRoot%\wsusofflineupdate.log
e.g. C:\Windows\wsusofflineupdate.log

Re: Log File of Updates

PostPosted: 20.01.2015, 15:22
by Dennis
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?

Re: Log File of Updates

PostPosted: 20.01.2015, 17:02
by aker
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>