Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 30534

Re: Check if Windows Update Installed

$
0
0

I check the version of the "%WINDIR%\System32\wuauclt.exe" file.

To do this I had to unhide the file and copy it to a temporary folder as files in the "system32" folder tends to be hard to access via normal Kaseya Agent Procedures.


ATTRIB -H %WINDIR%\System32\wuauclt.exe

XCOPY "%WINDIR%\System32\wuauclt.exe" "#vAgentConfiguration.AgentTempDir#" /H /Y

I then checked if the file exists in the temporary folder and get the file version which I write into Custom Field so I can use an aggregated table report.

I have also added Windows XP Root Certificate auditing to the same audit procedure as it is another common reason why updates will fail to install. To do this I get the value for the following registry key;


HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{EF289A85-8E57-408d-BE47-73B55609861A}\Version

The same key has been used for a few years now.

You can find out what the latest version of the Root Certificate is by googling "KB931125" and finding the download page download the "rootsupd.exe" update file extract it with WinRAR or Z-Zip and read through the "rootsupd.inf" file (its around the middle of the file and will start with VERSION).

The last Root Certificate released for Windows XP (ATTOW) was May 2013 (38,0,2195,0)


Viewing all articles
Browse latest Browse all 30534

Trending Articles