Windows Secrets

Subscribers: Sign in

Enter your e-mail address to get a free subscription.
We guarantee your privacy
Skip to content
  • Home
  • Newsletter Archives
    • Current
    • LangaList Plus
    • Patch Watch
    • Wacky Web Week
    • Security Baseline
  • E-Books
  • Lounge
  • About us
    • Refunds
    • Privacy Policy
    • Advertise
  • Contact
  • Your Account
    • Upgrade
    • Preferences
    • Bonus Download
    • Unsubscribe
Home>Learn to read the obscure WindowsUpdate.log file

Windows Secrets Newsletter • Issue 207 • 2009-07-23 • Circulation: over 400,000


Table of contents 
  • Top Story: Learn to read the obscure WindowsUpdate.log file
  • Wacky Web Week: The transforming of the greatest ‘blanket’ ever
  • Bonus: Free ways to save money and energy with your PC
  • LangaList Plus: How to correct Device Manager hardware errors
  • Woody's Windows: Important Windows 7 questions remain unanswered
  • Patch Watch: No need to undo pre-patch ActiveX killbit

 
Top Story

Learn to read the obscure WindowsUpdate.log file

Susan bradley By Susan Bradley

Every moment your computer is on, a nearly undocumented Microsoft file — WindowsUpdate.log — maintains a record of your system’s patching activity.

Making sense of the information in this update log can be a challenge, but I’ll show you how you can use it to learn the inside story of your PC’s update history.

In his June 25 and July 2 Top Stories, WS contributing editor Scott Spanbauer reported that Automatic Updates sometimes installs patches on PCs configured to require prior user approval.

The WindowsUpdate.log file can help us determine why Windows sometimes runs “forced patches” at shutdown time — displaying none of the expected notifications that patches are available.

Microsoft’s text file can appear indecipherable at first glance, but at least it’s easy to locate. On any Windows computer, browse to the C:Windows folder to find WindowsUpdate.log. Note: To access this file, you may need to click Show the files in the right pane.

(In XP, you may see a second file named Windows Update.log. One file has a space in its name and the other doesn’t. The one with the space is for an earlier version (V4) of the Windows Update engine. The log file without the space is the newer format and is the one you want to open.)

Open the file in Notepad or your default text editor. Make sure you start at the very top of the file. Depending on how recently and frequently a computer has been used, the log file may record activity going back several months or only a month or two. (See Figure 1.)

WindowsUpdate.log
Figure 1. The WindowsUpdate.log file in the C:Windows folder records your system’s update activity.

First, look for the start of the log. This records the computer’s settings when it boots up and describes some of the computer’s components. The following is a snippet from the top of one such file (each line of the file begins with a date and time stamp):
  • 2009-02-24 23:07:27:325 1052 46c AU ########### AU: Initializing Automatic Updates ###########
    2009-02-24 23:07:27:341 1052 46c AU AU setting next detection timeout to 2009-02-25 07:07:27
    2009-02-24 23:07:27:356 1052 46c AU # Approval type: Scheduled (User preference)
    2009-02-24 23:07:27:356 1052 46c AU # Scheduled install day/time: Every day at 3:00
    2009-02-24 23:07:27:356 1052 46c AU # Auto-install minor updates: Yes (User preference)
In line 3, the cryptic phrase “Approval type: Scheduled (User preference)” means that back on Feb. 24 — the farthest back this particular log file goes — the computer was configured to update automatically. As you’ll see, this factoid can be useful to us.

Whenever you or some third-party application changes the PC’s update settings, the information is recorded in the WindowsUpdate.log file, as shown below:
  • 2009-07-03 19:01:30:531 1120 2cc AU ########### AU: Setting new AU options ###########
    2009-07-03 19:01:30:547 1120 2cc AU Setting AU Approval Type to 2
    2009-07-03 19:01:30:547 1120 2cc AU # Policy changed, AU refresh required = No
    2009-07-03 19:01:30:547 1120 2cc AU # Approval type: Pre-download notify (User preference)
    2009-07-03 19:01:30:547 1120 2cc AU AU settings changed through User Preference.
Line 2 indicates that on July 3, I changed the machine’s setting for Automatic Updates (AU) to Notify me but don’t automatically download or install them. Interestingly, the log file describes this as “Setting AU Approval Type to 2.” Most Windows users, by contrast, consider this to be Option 3 in the AU dialog box. (See Figure 2.)

Windows xp automatic update settings
Figure 2. The WindowsUpdate.log file calls it “2,” but it corresponds to Option 3 in the Automatic Updates dialog box.

As Microsoft explains in Knowledge Base article 328010, the AU options are inexplicably numbered by the log file (and such tools as the Group Policy Editor) in descending order:

4 means Automatic;
3 means Download but let me choose when to install;
2 means Notify me but don’t download or install;
1 means Turn off Automatic Updates.

Most important is the fact that the log file clearly records when a change was made to this setting. If patches started automatically installing, but you thought you’d made your PC require your permission, you can scan the log file to see whether your setting was changed — and possibly by whom or what.

Tracking the source of an AU settings change

When you install third-party antivirus software, the program’s setup routine may change the AU setting to “fully automatic” without letting you know. Windows Secrets articles on Oct. 25, 2007, and May 25, 2006, reported that this rude behavior was exhibited by Microsoft Live OneCare and Norton Internet Security, respectively.

When this happens, the log file indicates that the change was made by the user, even though you may not have understood — nor even had a clue — that the change had been made.

Still, locating these change entries in the log file can help you relate a software installation to the alteration of the machine’s AU setting. At the very least, this lets you eliminate other causes for the switch.

How can you find out whether patches will be installed the next time you shut down your PC? An example of such a situation is shown in the following snippet.

Near the bottom of the WindowsUpdate.log file for my test system — which is set to “notify me” — four patches are identified as ones that will be installed automatically at shutdown time. This doesn’t mean that the four patches have been downloaded yet — merely that they’re ready to be approved by the user. The entries that provide this information are as follows (notice “4 updates for install at shutdown” in line 1):
  • 2009-07-09 21:38:48:625 1112 4e0 AU AU found 4 updates for install at shutdown
    2009-07-09 21:38:48:656 1708 6d8 Misc =========== Logging initialized (build: 7.2.6001.788, tz: -0700) ===========
    2009-07-09 21:38:48:656 1708 6d8 Misc = Process: C:WINDOWSExplorer.EXE
    2009-07-09 21:38:48:656 1708 6d8 Misc = Module: C:WINDOWSsystem32wuaueng.dll
    2009-07-09 21:38:48:656 1708 6d8 Shutdwn Install at shutdown: found updates to install

The tricky part is confirming that your log file corresponds to the update alerts you expect to see. On my test XP PC, the yellow Windows-patch icon does show up in the notification area. (In Vista, the update-alert icon is bluish-green). If I click the icon to view the available patches, I see five updates listed. Funny — these aren’t the same as the four that the log file indicates will be installed if I approve them. (See Figure 3.)

Choose updates to install
Figure 3. The WindowsUpdate.log file indicates that four updates are ready to be installed, but the selection window shows five different updates pending.

Why does the update dialog box show that Internet Explorer 8 will be installed in addition to the patches described in KB articles 961501, 963093, 969898, and 890830?

The discrepancy relates to the difference between patches being offered via Windows Update and those Microsoft is pushing.

At this writing, IE 8 is being offered as an update rather than being pushed. It may look to you as though IE 8 is going to be installed automatically. But as of today, it will install only if you select it. It will also install if you view available updates — as on my test XP PC — and fail to uncheck the IE 8 option.

Unless you read Microsoft blogs every day for fun, it’s difficult to track the critical security patches — the ones being pushed — and the less-critical updates that are merely being offered.

When you choose the “notify me” option in AU, the update process is supposed to show an alert icon in Windows’ notification area. You can click this icon to open a window in which you approve specific updates prior to installing any of them.

What if you shut down a PC without clicking the icon to select available updates? In that case, you should see a link that lets you shut down without installing patches this time around. (See Figure 4.)

Updates-available shutdown alert
Figure 4. The XP shutdown screen indicates that important patches will be installed when you turn off the system.

In the WindowsUpdate.log file, the following line represents the presence of the “install-at-shutdown” warning:
  • 2009-07-09 21:38:48:656 1708 6d8 Shutdwn Install at shutdown: found updates to install

This line means Windows will display in its shutdown dialog box an option to control the installation of patches. To shut down without installing the pending patches — in case you want to research them further, for instance — you must choose Click here to turn off without installing updates. If you fail to select that option but instead click the normal Turn Off button, the updates will install automatically as the system shuts down.

A bug in the update process has been noted by many responsible observers. For some reason, Microsoft’s usual “patches will be installed” indicators — the one in the notification area and the one on the shutdown screen — sometimes don’t function properly. This occurs more frequently when Microsoft “throttles” its download servers, such as with the particularly large number of updates released on Patch Tuesday, June 14, 2009.

I hope my explanation of the update log will help you identify any mysterious behavior you may have experienced. Many individuals and companies must ensure that needed updates aren’t installed before testing is completed for negative side-effects.

If a PC suddenly updates itself when it wasn’t supposed to, WindowsUpdate.log can show you which settings were changed and when.

Susan Bradley recently received an MVP (Most Valuable Professional) award from Microsoft for her knowledge in the areas of Small Business Server and network security. She’s also a partner in a California CPA firm.

 
Wacky Web Week

The transforming of the greatest ‘blanket’ ever

New, improved snuggie By Stephanie Small

Everyone’s favorite blanket with arm holes — also known as the Snuggie — has returned with a vengeance. Once available only in solids, the new and improved version of the WTF blanket now comes in attractive dead animal prints!

Doing nothing never looked so stylish. Throw them on your couch to instantly uglify the decor, or wear one on your next at-home date to dazzle that special someone. And of course, the trusty book light still comes free with each purchase. So snuggle up with your fleecy backwards robe, grab your reading light, and plant yourself on the couch with the other potatoes! Play the video


 
Bonus

Free ways to save money and energy with your PC

This month’s free bonus download for all our subscribers is Green Home Computing for Dummies by Katherine Murray and our very own contributing editor Woody Leonhard. The book is full of tips on how to reduce your PC’s power cost, optimize your system’s performance for better energy efficiency, and more! The printed volume isn’t in stores yet, but all subscribers can receive our exclusive excerpt of two full chapters, now through August 5. Simply visit your preferences page, save any changes, and a download link will appear. Thanks! —Brian Livingston, editorial director

All subscribers: Set your preferences and download your bonus
Info on the printed book: United States / Canada / Elsewhere


 
LangaList Plus

How to correct Device Manager hardware errors

Fred langa By Fred Langa

Device Manager — Windows’ underutilized repair tool — offers a fast, free way to repair common hardware misconfiguration problems.

Instead of removing and replacing a device that shows some error in Device Manager, the most effective solution is often to use a “soft” uninstallation and reinstallation.


Easy fix for your PC’s recalcitrant hardware

Al Rodemann encountered this problem on an older PC, but the same kind of trouble can crop up even on the latest hardware and software. The same simple fix works for all Windows versions — even Windows 7:
  • “I maintain a Windows 98 SE computer at my golf course and it has a problem I can’t solve. I know WIN98SE is ancient, but I wrote two large tournament programs back in the ’90s using dBase III Plus, and I need an LPT port to do printouts. These programs are used four days every week.

    “I used a hard-disk cloning program to back up the main drive to a slave drive, and this cloning program worked only once. Now, looking at Device Manager, two areas are expanded and show problems. ‘Generic IDE Disk Type 01′ has a red X through it and, when opened, tells me that ‘This device is not working properly because a device it depends on — Primary IDE Controller (Dual FIFO) — has been dynamically disabled.’ The hard-disk controller has a yellow exclamation point (!) through it.

    “This appeared only after cloning. Everything else works fine, but this problem has me stumped. How do I re-enable it so I can use the cloning program again?”

It sounds like your cloning software worked by overriding the normal functions of your hard-drive subsystem, in effect benignly “hijacking” the normal disk operations to make the clone. Something didn’t get set back correctly, most likely because the clone software wasn’t designed with ancient Windows in mind. In all, I suspect this is just a simple hardware configuration error with no permanent damage to anything.

Whenever you see any hardware problem in Device Manager, the best first aid is a simple soft uninstall/reinstall of the hardware. It’s called “soft” because you don’t have to physically remove any hardware. All you’re doing is telling Windows to forget what it knows about the hardware in question and to rediscover it as if from scratch. This process takes only a minute and yet can clear up a myriad of issues with misconfigurations, munged settings, and the like.

This article is part of our paid content. Subscribe.

Already a paid subscriber? Click here to login.


 
Woody's Windows

Important Windows 7 questions remain unanswered

Woody leonhard By Woody Leonhard

My July 16 Top Story about potential pitfalls in upgrading to Windows 7 generated a torrent of questions that Microsoft hasn’t yet addressed publicly.

Here’s a partial list of what we don’t yet know about Windows 7 — think of it as a Windows 7 anti-FAQ.


Release dates now known for some W7 markets

Microsoft has recently posted official Windows 7 release dates for different types of customers:
  • MSDN and TechNet subscribers get the English version on August 6 and the other languages by October 1;

  • If you’re an independent hardware or software vendor, you’ll also be able to get Windows 7 on August 6;

  • Big customers with volume licenses who paid extra for Software Assurance can download Windows 7 in English starting on August 7;

  • MS Partner Network members get the bits on Aug. 16;

    This article is part of our paid content. Subscribe.

    Already a paid subscriber? Click here to login.


 
Patch Watch

No need to undo pre-patch ActiveX killbit

Susan bradley By Susan Bradley

If you previously applied a killbit for an ActiveX flaw in IE, rest easy — there’s no need to undo the killbit prior to installing the full patch that Microsoft’s released.

XP systems with the killbit installed will not be offered the patch automatically, but you can download and install the update manually without having to make any other changes, if you like.


MS09-032 (973346)
For some XP users, this update is strictly DIY

My July 16 Patch Watch column discussed a killbit you could install on XP to protect Internet Explorer against a zero-day ActiveX hole. This problem was described in Microsoft security advisory 972890.

I reported that people who installed the killbit would not automatically be offered the subsequent patch. The fix was released as security bulletin MS09-032 (973346) on July 14.

Installing the killbit but not installing the patch doesn’t mean that a PC would be vulnerable. It simply means that your Windows Update history would indicate that you hadn’t received the patch.

To allow Microsoft’s update service to download the patch automatically, I recommended that you undo the killbit.

This article is part of our paid content. Subscribe.

Already a paid subscriber? Click here to login.


YOUR SUBSCRIPTION

The Windows Secrets Newsletter is published weekly on the 1st through 4th Thursdays of each month, plus occasional news updates. We skip an issue on the 5th Thursday of any month, the week of Thanksgiving, and the last two weeks of August and December. Windows Secrets is a continuation of four merged publications: Brian's Buzz on Windows and Woody's Windows Watch in 2004, the LangaList in 2006, and the Support Alert Newsletter in 2008.

Publisher: WindowsSecrets.com, 1218 Third Ave., Suite 1515, Seattle, WA 98101 USA. Vendors, please send no unsolicited packages to this address (readers' letters are fine).

Editor in chief: Tracey Capen. Senior editors: Fred Langa, Woody Leonhard. Copyeditor: Roberta Scholz. Program director: Tony Johnston. Contributing editors: Yardena Arar, Susan Bradley, Scott Dunn, Michael Lasky, Scott Mace, Ryan Russell, Lincoln Spector, Robert Vamosi, Becky Waring. Product manager: Andy Boyd. Advertising director: Eric Gilley.

Trademarks: Microsoft and Windows are registered trademarks of Microsoft Corporation. The Windows Secrets series of books is published by Wiley Publishing Inc. The Windows Secrets Newsletter, WindowsSecrets.com, Support Alert, LangaList, LangaList Plus, WinFind, Security Baseline, Patch Watch, Perimeter Scan, Wacky Web Week, the Logo Design (W, S or road, and Star), and the slogan Everything Microsoft Forgot to Mention all are trademarks and service marks of WindowsSecrets.com. All other marks are the trademarks or service marks of their respective owners.

HOW TO SUBSCRIBE: Anyone may subscribe to this newsletter by visiting our free signup page.

WE GUARANTEE YOUR PRIVACY:

1. We will never sell, rent, or give away your address to any outside party, ever.
2. We will never send you any unrequested e-mail, besides newsletter updates.
3. All unsubscribe requests are honored immediately, period.  Privacy policy

HOW TO UNSUBSCRIBE: To unsubscribe from the Windows Secrets Newsletter,
  • Visit our Unsubscribe page.
Copyright © 2012 by WindowsSecrets.com. All rights reserved.

Table of contents

Top-scoring articles in the past 12 months
  • Leaving long cookie trails throughout the Web 5.00
  • Windows-like security for Android devices 5.00
  • Win7′s no-reformat, nondestructive reinstall 4.53
  • The sorry tale of the (un)Secure Sockets Layer 4.42
  • RPV: Win7′s least-known data-protection system 4.33
  • Recovery: the last step in total data security 4.30
  • Time for a .NET update we can’t ignore 4.30
  • Getting the most from Windows Search — Part 1 4.25
  • Revising printing habits saves money and trees 4.25
  • Upgrades end in erratic, partial hangs 4.25
  • Pros and cons of a ‘keyfile’ password 4.21
  • Beating back Duku and a plethora of other threats 4.20
  • Office 2007 gets its final service pack 4.19
  • Putting Registry-/system-cleanup apps to the test 4.19
  • One year and 99 security bulletins later 4.18
  • 1.8TB external drive goes down hard 4.17
  • Don’t pay for software you don’t need — Part 3 4.16
  • Internet Explorer gets another round of patches 4.15
  • Is your free AV tool a ‘resource pig?’ 4.15
  • Vacation’s over; it’s a big round of patches 4.15
  • Remote access leads to remote attacks 4.15
  • Keeping you up to date: say no to .NET — again 4.14
  • Take control of Google’s privacy policy settings 4.14
  • Office File Validation patch leads to problems 4.14
  • The advanced system-recover toolkit 4.13
  • New “419″ scam involves PayPal and Western Union 4.12
  • Readers’ best personal-privacy tips 4.11
  • Getting the most from Windows Search — Part 2 4.11
  • Re-examining Dropbox and its alternatives 4.10
  • Easily edit Windows’ right-click context menus 4.09
Connect with us Follow us on Twitter Connect with us on Facebook View our RSS Feeds
  • Home|
  • Newsletter|
  • About Windows Secrets|
  • Advertise with us|
  • Unsubscribe|
  • Sitemap|
  • Affiliates|
Trademarks: Microsoft and Windows are registered trademarks of Microsoft Corporation. The Windows Secrets series of books is published by Wiley Publishing Inc. The Windows Secrets Newsletter, WindowsSecrets.com, WinFind, Windows Gizmos, Security Baseline, Patch Watch, Perimeter Scan, Wacky Web Week, the Logo Design (W, S or road, and Star), and the slogan Everything Microsoft Forgot to Mention all are trademarks and service marks of iNET Interactive. All other marks are the trademarks or service marks of their respective owners.
iNET Interactive Copyright © 2011 iNET Interactive.
All rights reserved.
Terms of Use  |  Privacy Policy
Internet Services
  • Web Hosting Talk
  • HostingCon
  • Hosting Catalog
  • Host Voice
Web Development
  • Hot Scripts
  • DB Forums
Digital Marketing
  • ABestWeb
  • Search Marketing Standard
  • PayPerClickUniverse
  • SEMCompare
Consumer Tech
  • Windows Secrets
  • Overclockers
  • Mac Forums

Learn more about
advertising opportunities across the iNET Interactive Network.

LiquidWeb