Looking for a way to quickly look up the update frequency on a Windows PC.

I'm trying to put a command in a batch file that will list the windows patching frequency. I've looked at the systeminfo command but all it does it list all the KB updates installed, it does not show you the date(s) of install. This is part of a security audit to determine how often updates are installed. Looking at the windows patches and dates installed in the control panel is too time consuming. Anyone know of a way to list this in a text file format?

Thanks Experts!
crdixonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

awawadaCommented:
I use this command for security auditing:

wmic qfe list brief /format:texttablewsys > "C:\hotfix.txt"

If needed we use it also with Windows PowerShell Enter-PSSession (remote) .
Dave BaldwinFixer of ProblemsCommented:
See this article from Microsoft: http://windows.microsoft.com/en-us/windows/understanding-windows-automatic-updating#1TC=windows-7  What I believe is Not mentioned is that Windows 10 may install 'important' updates at any time.  https://gcn.com/articles/2015/05/21/windows-10-updates.aspx
McKnifeCommented:
I don't think listing the frequency will improve your security. Rather look at deadlines for installations which enforces installing updates at certain times or at the first possible date after when the machine has not been turned on for long. https://technet.microsoft.com/de-de/library/cc708585(v=ws.10).aspx gives you more insight.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

jcimarronCommented:
crdixon--
I cannot give you a batch file but you can see all the updates you have installed (and the dates you installed them) from Control Panel|Programs and Features|View Installed Updates (upper left).  It take a while to populate the "Microsoft Windows" updates which will eventually appear at the bottom.
JohnBusiness Consultant (Owner)Commented:
The Powershell command Get-Hotfix -Description Update will get recent updates by installation date.

PC Name Update           KB2693643     NT AUTHORITY\SYSTEM  9/14/2015 12:00:00 AM
PC Name Update           KB3074678     NT AUTHORITY\SYSTEM  8/6/2015 12:00:00 AM
PC Name Update           KB3074686     NT AUTHORITY\SYSTEM  8/6/2015 12:00:00 AM
PC Name Update           KB3081424     NT AUTHORITY\SYSTEM  8/6/2015 12:00:00 AM
PC Name Update           KB3081438     NT AUTHORITY\SYSTEM  8/15/2015 12:00:00 AM
PC Name Update           KB3081441     NT AUTHORITY\SYSTEM  8/18/2015 12:00:00 AM
PC Name Update           KB3081448     NT AUTHORITY\SYSTEM  8/28/2015 12:00:00 AM
PC Name Update           KB3081449     NT AUTHORITY\SYSTEM  8/28/2015 12:00:00 AM
PC Name Update           KB3081452     NT AUTHORITY\SYSTEM  8/28/2015 12:00:00 AM
PC Name Update           KB3087040     User install ... 9/22/2015 12:00:00 AM
PC Name Update           KB3093266     NT AUTHORITY\SYSTEM  10/1/2015 12:00:00 AM

This system was "built" August 6 (Windows 10 installed) so that is back to the "beginning"

This might help you.
LeeTutorretiredCommented:
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
jcimarronCommented:
Asker just walks away.
JohnBusiness Consultant (Owner)Commented:
My answer http:#a41033899  provides all recent hotfixes.

Added information by jcimarron and McKnife.

I suggest a split:    http:#a41033899  , http:#a41033858  , http:#a41033507  , and http:#a41033388
McKnifeCommented:
The first correct answer was http://www.experts-exchange.com/questions/28738839/Looking-for-a-way-to-quickly-look-up-the-update-frequency-on-a-Windows-PC.html#a41033388
If my advice is valuable to the asker, only he can decide, so I won't beg for points ;-). Repeating the steps that he has listed himself and tries to avoid "Looking at the windows patches and dates installed in the control panel is too time consuming" is surely no answer. Finding another command (powershell) after one was already provided surely is an alternate answer, so should get some points as well, although it is not able to list security updates due to wrong filtering - the correct command for security updates alone would be
get-hotfix -description Security*
and for all updates simply
get-hotfix
McKnifeCommented:
SouthMod, did you read my last comment? It would suggest quite a different closing action for reasons given. Most points should have gone to the first comment #a41033388 and some to John's #a41176614
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.