Home > Windows Server Tips > Windows Systems and Network Administration > Script reveals any patch installation issues
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SYSTEMS AND NETWORK ADMINISTRATION

Script reveals any patch installation issues


Mark Serafine, Contributor
07.27.2005
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Please let us know how useful you find this tip by rating it below. Do you have a useful Windows tip, timesaver or workaround to share? Submit it to our monthly tip contest and you could win a prize!


This VBScript will parse the MSSECURE.xml file for every bulletin or patch that replaces files during installation. It will then dump the file information to a comma-delimited file (.CSV file) for importation into a spreadsheet.

Having access to this information can be extremely helpful when troubleshooting problems you may encounter during the installation of a patch or by verifying a patch has been installed.

All you have to do is make sure that the XML is in the same directory as the script, and then run it. It completes in about three minutes, and when it's done, the contents of the file will include the following information:

The ID (MS0x-xxx) of the bulletin that makes the file changes.

The QNumber of the bulletin that makes the file changes.

The affected product.

The following properties for each file that changed: File name, file date, file version and file size.

The script also contains code for the necessary ActiveX Data Objects (ADO) connection and record-set objects that you can use to insert this file information into a database table. All you have to do is uncomment the code and provide the server, database and table information.

However, note that the script retrieves every file for each bulletin that replaces files. You'll have to add code that checks the table for the existence of the bulletin before it's added -- unless you don't mind duplicate rows being added to the table every time it runs.

The script is available at my Web site: Serafine Software. Once there, click the "Free Downloads" link.


Mark Serafine works for a federal contract for Strategic Business Systems in Northern Virginia. Using Systems Management Server and internally developed tools, Serafine and his team oversee all patch management responsibilities at more than 200 SMS sites and for 50,000+ resources. He can be reached at mark@serafinesoftware.com.

Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Windows Systems and Network Administration
How to use Group Policy to centralize system configurations
Troubleshooting Windows application crashes or hangs
Converting VMware ESX machines to Hyper-V format
Using DFSR for SYSVOL replication in Windows Server 2008
Top 25 Windows PowerShell commands for administrators
Key DFS improvements in Windows Server 2008 R2
Free Windows security tools every admin must have
Group Policy makes strides in Windows Server 2008 R2
Quick tips for troubleshooting NTFS permissions
Common causes of Windows server security vulnerabilities

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsNewsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts