|
|
|
Windows Secrets Newsletter • Issue 207 • 2009-07-23 • Circulation: over 400,000 |
|
AD
|
|
Table of contents TOP STORY: Learn to read the obscure WindowsUpdate.log file WACKY WEB WEEK: The transforming of the greatest "blanket" ever 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 |
|
ADS
|
|
TOP STORY Learn to read the obscure WindowsUpdate.log file
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.) ![]() 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):
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:
![]() 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):
![]() 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.) ![]() 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:
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. |
|
ADS
|
|
WACKY WEB WEEK The transforming of the greatest 'blanket' ever
|
|
BONUS DOWNLOAD
|
|
PERMALINKS Use these permalinks to share info with friends We love it when you include the links shown below in e-mails to your friends. This is better than forwarding your copy of our e-mail newsletter. (When our newsletter is forwarded, some recipients click "report as spam," and corporate filters start blocking our e-mails.) The following link includes all articles this week: http://WindowsSecrets.com/comp/090723 Free content posted on July 23, 2009:
You get all of the following in our paid content:
Thanks in advance for your support! |
|
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 resulted from the merger of several 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 LLC, Attn: #120 Editor, 1700 7th Ave., Suite 116, Seattle, WA 98101-1323 USA. Vendors, please send no unsolicited packages to this address (readers' letters are fine). Editorial Director: Brian Livingston. Senior Editor: Ian Richards. Editor-at-Large: Fred Langa. Technical Editor: Dennis O'Reilly. Program Director: Tony Johnston. Web Developer: Damian Wadley. Research Director: Stephanie Small. Editorial Assistant: Allison Espiritu. Copyeditor: Roberta Scholz. Contributing Editors: Susan Bradley, Scott Dunn, Scott Spanbauer, Michael Lasky, Woody Leonhard, Ryan Russell, Becky Waring. 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 LLC. 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,
|