How to determine the date and time of most recent successful Windows Update run on Windows Server 2016?Cannot access WSUS AutoUpdate Results registry key of CERTAIN x64 OSDetermine what has changed a specific key on Windows registrychange in Registry settings does not reflect for the corresponding settings in GUI in windows 2003 serverReflect HKLM registry changes to HKCUNumber of updates pending on Windows 2012Prevent Windows Update/Upgrade to reset registry value(s)CBS Pending reboot after rebootingWindows Server 2016 Windows Update - specify the time of installUpdate Windows 10 Update Status Times In Security Settings2018-08 Cumulative Update for Windows Server 2016 (KB4343887) Failing
How come I was asked by a CBP officer why I was in the US?
Unusual mail headers, evidence of an attempted attack. Have I been pwned?
Why do some games show lights shine through walls?
Safe to store SMTP password in wp-config.php?
Is adding a new player (or players) a DM decision, or a group decision?
What reason would an alien civilization have for building a Dyson Sphere (or Swarm) if cheap Nuclear fusion is available?
Should I tell my insurance company I'm making payments on my new car?
Using “sparkling” as a diminutive of “spark” in a poem
How to reply to small talk/random facts in a non-offensive way?
Story-based adventure with functions and relationships
Is there any set of 2-6 notes that doesn't have a chord name?
How can I get more energy without spending coins?
Can’t attend PhD conferences
Impossible darts scores
Changing the opacity of lines on a plot based on their value
Could Sauron have read Tom Bombadil's mind if Tom had held the Palantir?
Apply brace expansion in "reverse order"
Why aren't (poly-)cotton tents more popular?
What do you call a weak person's act of taking on bigger opponents?
Do hotel cleaning personnel have any benefit from leaving empty bottles in the room as opposed to returning them to the store?
Why does the numerical solution of an ODE move away from an unstable equilibrium?
How well known and how commonly used was Huffman coding in 1979?
Distance Matrix (plugin) - QGIS
How to get cool night-vision without lame drawbacks?
How to determine the date and time of most recent successful Windows Update run on Windows Server 2016?
Cannot access WSUS AutoUpdate Results registry key of CERTAIN x64 OSDetermine what has changed a specific key on Windows registrychange in Registry settings does not reflect for the corresponding settings in GUI in windows 2003 serverReflect HKLM registry changes to HKCUNumber of updates pending on Windows 2012Prevent Windows Update/Upgrade to reset registry value(s)CBS Pending reboot after rebootingWindows Server 2016 Windows Update - specify the time of installUpdate Windows 10 Update Status Times In Security Settings2018-08 Cumulative Update for Windows Server 2016 (KB4343887) Failing
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
It appears that Microsoft removed this registry key in Server 2016.
HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto UpdateResultsInstall
Does anyone know of an equivalent registry key that has the last Windows Update install success date/time? Or perhaps a different method of querying this value?
I've spent hours googling, but have found nothing. Closest registry key I can find is:
HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU
However, it has no key for last successful install date/time.
windows-update windows-registry windows-server-2016
add a comment |
It appears that Microsoft removed this registry key in Server 2016.
HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto UpdateResultsInstall
Does anyone know of an equivalent registry key that has the last Windows Update install success date/time? Or perhaps a different method of querying this value?
I've spent hours googling, but have found nothing. Closest registry key I can find is:
HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU
However, it has no key for last successful install date/time.
windows-update windows-registry windows-server-2016
add a comment |
It appears that Microsoft removed this registry key in Server 2016.
HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto UpdateResultsInstall
Does anyone know of an equivalent registry key that has the last Windows Update install success date/time? Or perhaps a different method of querying this value?
I've spent hours googling, but have found nothing. Closest registry key I can find is:
HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU
However, it has no key for last successful install date/time.
windows-update windows-registry windows-server-2016
It appears that Microsoft removed this registry key in Server 2016.
HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdateAuto UpdateResultsInstall
Does anyone know of an equivalent registry key that has the last Windows Update install success date/time? Or perhaps a different method of querying this value?
I've spent hours googling, but have found nothing. Closest registry key I can find is:
HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU
However, it has no key for last successful install date/time.
windows-update windows-registry windows-server-2016
windows-update windows-registry windows-server-2016
edited Mar 11 '17 at 11:33
iwaseatenbyagrue
3,0857 silver badges18 bronze badges
3,0857 silver badges18 bronze badges
asked Feb 28 '17 at 19:34
Peter BollwerkPeter Bollwerk
261 silver badge2 bronze badges
261 silver badge2 bronze badges
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
Tested and this guy's find did work:
Get-WmiObject -Class win32_reliabilityRecords -filter "sourcename = 'Microsoft-
Windows-WindowsUpdateClient'" -ErrorAction SilentlyContinue |
select @LABEL = "date";EXPRESSION = $_.ConvertToDateTime($_.timegenerated),
@LABEL = 'Update';EXPRESSION = $_.message |
FT -AutoSize -Wrap
Gives you a nice summary:
date Update
---- ------
8/18/2017 8:39:51 AM Installation Successful: Windows successfully installed
the following update: 2017-08 Cumulative Update for Windows Server 2016 for
x64-based Systems (KB4034658)
...
Of course you could just take out the description & titles if you just want the date itself.
https://www.experts-exchange.com/questions/28713293/How-to-get-last-success-date-time-of-Windows-Update-on-Windows-10.html
https://blogs.technet.microsoft.com/heyscriptingguy/2011/08/22/use-powershell-to-easily-find-information-about-hotfixes/
add a comment |
You could use the Setup Event log. Something like this?
Get-WinEvent -LogName Setup | where$_.message -match "success" | select -First 1
I normally check recently installed events like this:
Get-WinEvent -LogName Setup -MaxEvents 5 | Format-Table Machinename,Timecreated,Message -A -Wr
I did test and it does work on 2016 as well.
add a comment |
I use:
Invoke-Command -ComputerName $ComputerName -ScriptBlock (New-Object -com "Microsoft.Update.AutoUpdate").Results.LastInstallationSuccessDate -ErrorAction SilentlyContinue
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f835490%2fhow-to-determine-the-date-and-time-of-most-recent-successful-windows-update-run%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
Tested and this guy's find did work:
Get-WmiObject -Class win32_reliabilityRecords -filter "sourcename = 'Microsoft-
Windows-WindowsUpdateClient'" -ErrorAction SilentlyContinue |
select @LABEL = "date";EXPRESSION = $_.ConvertToDateTime($_.timegenerated),
@LABEL = 'Update';EXPRESSION = $_.message |
FT -AutoSize -Wrap
Gives you a nice summary:
date Update
---- ------
8/18/2017 8:39:51 AM Installation Successful: Windows successfully installed
the following update: 2017-08 Cumulative Update for Windows Server 2016 for
x64-based Systems (KB4034658)
...
Of course you could just take out the description & titles if you just want the date itself.
https://www.experts-exchange.com/questions/28713293/How-to-get-last-success-date-time-of-Windows-Update-on-Windows-10.html
https://blogs.technet.microsoft.com/heyscriptingguy/2011/08/22/use-powershell-to-easily-find-information-about-hotfixes/
add a comment |
Tested and this guy's find did work:
Get-WmiObject -Class win32_reliabilityRecords -filter "sourcename = 'Microsoft-
Windows-WindowsUpdateClient'" -ErrorAction SilentlyContinue |
select @LABEL = "date";EXPRESSION = $_.ConvertToDateTime($_.timegenerated),
@LABEL = 'Update';EXPRESSION = $_.message |
FT -AutoSize -Wrap
Gives you a nice summary:
date Update
---- ------
8/18/2017 8:39:51 AM Installation Successful: Windows successfully installed
the following update: 2017-08 Cumulative Update for Windows Server 2016 for
x64-based Systems (KB4034658)
...
Of course you could just take out the description & titles if you just want the date itself.
https://www.experts-exchange.com/questions/28713293/How-to-get-last-success-date-time-of-Windows-Update-on-Windows-10.html
https://blogs.technet.microsoft.com/heyscriptingguy/2011/08/22/use-powershell-to-easily-find-information-about-hotfixes/
add a comment |
Tested and this guy's find did work:
Get-WmiObject -Class win32_reliabilityRecords -filter "sourcename = 'Microsoft-
Windows-WindowsUpdateClient'" -ErrorAction SilentlyContinue |
select @LABEL = "date";EXPRESSION = $_.ConvertToDateTime($_.timegenerated),
@LABEL = 'Update';EXPRESSION = $_.message |
FT -AutoSize -Wrap
Gives you a nice summary:
date Update
---- ------
8/18/2017 8:39:51 AM Installation Successful: Windows successfully installed
the following update: 2017-08 Cumulative Update for Windows Server 2016 for
x64-based Systems (KB4034658)
...
Of course you could just take out the description & titles if you just want the date itself.
https://www.experts-exchange.com/questions/28713293/How-to-get-last-success-date-time-of-Windows-Update-on-Windows-10.html
https://blogs.technet.microsoft.com/heyscriptingguy/2011/08/22/use-powershell-to-easily-find-information-about-hotfixes/
Tested and this guy's find did work:
Get-WmiObject -Class win32_reliabilityRecords -filter "sourcename = 'Microsoft-
Windows-WindowsUpdateClient'" -ErrorAction SilentlyContinue |
select @LABEL = "date";EXPRESSION = $_.ConvertToDateTime($_.timegenerated),
@LABEL = 'Update';EXPRESSION = $_.message |
FT -AutoSize -Wrap
Gives you a nice summary:
date Update
---- ------
8/18/2017 8:39:51 AM Installation Successful: Windows successfully installed
the following update: 2017-08 Cumulative Update for Windows Server 2016 for
x64-based Systems (KB4034658)
...
Of course you could just take out the description & titles if you just want the date itself.
https://www.experts-exchange.com/questions/28713293/How-to-get-last-success-date-time-of-Windows-Update-on-Windows-10.html
https://blogs.technet.microsoft.com/heyscriptingguy/2011/08/22/use-powershell-to-easily-find-information-about-hotfixes/
answered Aug 23 '17 at 20:24
Harrison GibbsHarrison Gibbs
3141 silver badge7 bronze badges
3141 silver badge7 bronze badges
add a comment |
add a comment |
You could use the Setup Event log. Something like this?
Get-WinEvent -LogName Setup | where$_.message -match "success" | select -First 1
I normally check recently installed events like this:
Get-WinEvent -LogName Setup -MaxEvents 5 | Format-Table Machinename,Timecreated,Message -A -Wr
I did test and it does work on 2016 as well.
add a comment |
You could use the Setup Event log. Something like this?
Get-WinEvent -LogName Setup | where$_.message -match "success" | select -First 1
I normally check recently installed events like this:
Get-WinEvent -LogName Setup -MaxEvents 5 | Format-Table Machinename,Timecreated,Message -A -Wr
I did test and it does work on 2016 as well.
add a comment |
You could use the Setup Event log. Something like this?
Get-WinEvent -LogName Setup | where$_.message -match "success" | select -First 1
I normally check recently installed events like this:
Get-WinEvent -LogName Setup -MaxEvents 5 | Format-Table Machinename,Timecreated,Message -A -Wr
I did test and it does work on 2016 as well.
You could use the Setup Event log. Something like this?
Get-WinEvent -LogName Setup | where$_.message -match "success" | select -First 1
I normally check recently installed events like this:
Get-WinEvent -LogName Setup -MaxEvents 5 | Format-Table Machinename,Timecreated,Message -A -Wr
I did test and it does work on 2016 as well.
answered Jun 13 '18 at 6:24
Brandon SpellBrandon Spell
111 bronze badge
111 bronze badge
add a comment |
add a comment |
I use:
Invoke-Command -ComputerName $ComputerName -ScriptBlock (New-Object -com "Microsoft.Update.AutoUpdate").Results.LastInstallationSuccessDate -ErrorAction SilentlyContinue
add a comment |
I use:
Invoke-Command -ComputerName $ComputerName -ScriptBlock (New-Object -com "Microsoft.Update.AutoUpdate").Results.LastInstallationSuccessDate -ErrorAction SilentlyContinue
add a comment |
I use:
Invoke-Command -ComputerName $ComputerName -ScriptBlock (New-Object -com "Microsoft.Update.AutoUpdate").Results.LastInstallationSuccessDate -ErrorAction SilentlyContinue
I use:
Invoke-Command -ComputerName $ComputerName -ScriptBlock (New-Object -com "Microsoft.Update.AutoUpdate").Results.LastInstallationSuccessDate -ErrorAction SilentlyContinue
answered Jun 7 at 16:34
Michael GeorgeMichael George
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f835490%2fhow-to-determine-the-date-and-time-of-most-recent-successful-windows-update-run%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown