<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Windows updates]]></title><description><![CDATA[<p dir="auto">what this details means:</p>
<p dir="auto">System update: last detect time = 1461028113<br />
System update: last download time = 1460658737<br />
System update: last install time = 1460630098</p>
<p dir="auto">Windows server 2012</p>
]]></description><link>https://forum.netxms.org/topic/4421/windows-updates</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:09:16 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4421.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Apr 2016 08:28:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Windows updates on Fri, 26 May 2017 12:41:41 GMT]]></title><description><![CDATA[<p dir="auto">I am guessing that the System.Update.LastInstallTime is based on reading the Windows Update registry value, which Microsoft removed with Windows 10 and Server 2016, i.e. it won't work anymore.</p>
<p dir="auto">The following PowerShell gives you the date of the last successful Windows Update installation (works for me, but knowing when my system last installed updates, the time appears to be in UTC):</p>
<pre><code>$updateSearch = (New-Object -ComObject Microsoft.Update.Session ).CreateUpdateSearcher()
($updateSearch.QueryHistory(0,$updateSearch.GetTotalHistoryCount())| ?{$_.ResultCode -eq 2}|Sort-Object -Property Date -Descending).Date|Select -First 1
</code></pre>
<p dir="auto">For some more background into, quoting "<a href="https://stackoverflow.com/questions/33732541/powershell-how-to-get-date-of-last-windows-update-install-or-at-least-checked-f" rel="nofollow ugc">https://stackoverflow.com/questions/33732541/powershell-how-to-get-date-of-last-windows-update-install-or-at-least-checked-f</a>":</p>
<pre><code>$Session = New-Object -ComObject Microsoft.Update.Session
$Searcher = $Session.CreateUpdateSearcher()
$HistoryCount = $Searcher.GetTotalHistoryCount()
# http://msdn.microsoft.com/en-us/library/windows/desktop/aa386532%28v=vs.85%29.aspx
$Searcher.QueryHistory(0,$HistoryCount) | ForEach-Object {$_}
</code></pre>
<p dir="auto">This will list all updates which the system tried to install, including a timestamp (which on my system appears to be UTC) and a result code.<br />
Those translate to:</p>
<pre><code>0 = Not Started
1 = In Progress
2 = Succeeded
3 = Succeeded With Errrors
4 = Failed
5 = Aborted
</code></pre>
<p dir="auto">If a patch failed to install several times, it is supposedly listed several times as well. I cannot confirm that, as I have no failed patches in my list.<br />
It also appears that the large cumulative updates like the Creators Update resets the contents of the list. Mine only goes back to said Creators Update.<br />
Either way, with a bit of scripting you can return a few more things, like the number of unique patches which have failed to install.</p>
<p dir="auto">I am not sure if the status 0 could be used to determine how many patches the system knows about that are not installed yet.</p>
]]></description><link>https://forum.netxms.org/post/22423</link><guid isPermaLink="true">https://forum.netxms.org/post/22423</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Fri, 26 May 2017 12:41:41 GMT</pubDate></item><item><title><![CDATA[Reply to Windows updates on Fri, 26 May 2017 11:32:52 GMT]]></title><description><![CDATA[<p dir="auto">With new Version nxagent-2.1-RC1-x64 I will have the same error:<br />
Cannot get current parameter value: Operation cannot be completed due to agent error</p>
]]></description><link>https://forum.netxms.org/post/22422</link><guid isPermaLink="true">https://forum.netxms.org/post/22422</guid><dc:creator><![CDATA[rainerh]]></dc:creator><pubDate>Fri, 26 May 2017 11:32:52 GMT</pubDate></item><item><title><![CDATA[Reply to Windows updates on Sun, 14 May 2017 05:25:45 GMT]]></title><description><![CDATA[<p dir="auto">2.0.8 still not working on 2016</p>
]]></description><link>https://forum.netxms.org/post/22303</link><guid isPermaLink="true">https://forum.netxms.org/post/22303</guid><dc:creator><![CDATA[Akira]]></dc:creator><pubDate>Sun, 14 May 2017 05:25:45 GMT</pubDate></item><item><title><![CDATA[Reply to Windows updates on Sun, 19 Mar 2017 09:09:57 GMT]]></title><description><![CDATA[<p dir="auto">I have a Windows Server 2016 but this DCI will not work: System.Update.LastInstallTime<br />
Error: Cannot get current parameter value: Communication failure</p>
]]></description><link>https://forum.netxms.org/post/21978</link><guid isPermaLink="true">https://forum.netxms.org/post/21978</guid><dc:creator><![CDATA[rainerh]]></dc:creator><pubDate>Sun, 19 Mar 2017 09:09:57 GMT</pubDate></item><item><title><![CDATA[Reply to Windows updates on Fri, 22 Apr 2016 21:15:18 GMT]]></title><description><![CDATA[<p dir="auto">Make a shellexec to cmd.<br />
Use grep for windows and look in C:\windows\windowsupdate.log</p>
<p dir="auto">If are you using windows 10:</p>
<p dir="auto">Windows Update logs are now generated using ETW (Event Tracing for Windows).<br />
Please run the Get-WindowsUpdateLog PowerShell command to convert ETW traces into a readable WindowsUpdate.log.<br />
For more information, please visit <a href="http://go.microsoft.com/fwlink/?LinkId=518345" rel="nofollow ugc">http://go.microsoft.com/fwlink/?LinkId=518345</a></p>
]]></description><link>https://forum.netxms.org/post/19739</link><guid isPermaLink="true">https://forum.netxms.org/post/19739</guid><dc:creator><![CDATA[jhonnyvey]]></dc:creator><pubDate>Fri, 22 Apr 2016 21:15:18 GMT</pubDate></item><item><title><![CDATA[Reply to Windows updates on Thu, 21 Apr 2016 01:05:21 GMT]]></title><description><![CDATA[<p dir="auto">any tips how grab the numbers of update to download?</p>
]]></description><link>https://forum.netxms.org/post/19710</link><guid isPermaLink="true">https://forum.netxms.org/post/19710</guid><dc:creator><![CDATA[dersonik]]></dc:creator><pubDate>Thu, 21 Apr 2016 01:05:21 GMT</pubDate></item><item><title><![CDATA[Reply to Windows updates on Wed, 20 Apr 2016 09:03:21 GMT]]></title><description><![CDATA[<p dir="auto">no Problem</p>
<p dir="auto">I had to figure out the hard way <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/19704</link><guid isPermaLink="true">https://forum.netxms.org/post/19704</guid><dc:creator><![CDATA[JRH]]></dc:creator><pubDate>Wed, 20 Apr 2016 09:03:21 GMT</pubDate></item><item><title><![CDATA[Reply to Windows updates on Wed, 20 Apr 2016 08:15:59 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much</p>
]]></description><link>https://forum.netxms.org/post/19700</link><guid isPermaLink="true">https://forum.netxms.org/post/19700</guid><dc:creator><![CDATA[dersonik]]></dc:creator><pubDate>Wed, 20 Apr 2016 08:15:59 GMT</pubDate></item><item><title><![CDATA[Reply to Windows updates on Tue, 19 Apr 2016 23:17:27 GMT]]></title><description><![CDATA[<p dir="auto">Hi dersonik</p>
<p dir="auto">Run this in your transformation properties and it will return you the date and time from the unix time provided by the poll.</p>
<p dir="auto">strftime("%Y-%m-%d %H:%M", $1)</p>
<p dir="auto">Cheers</p>
]]></description><link>https://forum.netxms.org/post/19690</link><guid isPermaLink="true">https://forum.netxms.org/post/19690</guid><dc:creator><![CDATA[JRH]]></dc:creator><pubDate>Tue, 19 Apr 2016 23:17:27 GMT</pubDate></item><item><title><![CDATA[Reply to Windows updates on Tue, 19 Apr 2016 13:34:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">it's time of last system update detection, download, and installation as UNIX time (seconds since epoch).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/19683</link><guid isPermaLink="true">https://forum.netxms.org/post/19683</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 19 Apr 2016 13:34:43 GMT</pubDate></item></channel></rss>