Microsoft KB Archive/315665

= HOW TO: Use the Hfnetchk Hotfix Checker Tool =

PSS ID Number: 315665

Article Last Modified on 11/26/2002

-

The information in this article applies to:


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional
 * Microsoft Windows NT Server 4.0
 * Microsoft Windows XP Professional

-



This article was previously published under Q315665



IN THIS TASK

 * SUMMARY
 * ** How to Install and Run Hfnetchk.exe
 * REFERENCES



SUMMARY
This article describes how to use the Hfnetchk.exe to check the status of hotfixes on Windows 2000-based and Microsoft Windows NT 4.0-based computers. You can use this command-line tool to scan a local computer or a network of computers. Hfnetchk.exe scans for the following hotfixes:
 * Windows NT 4.0 and Windows 2000
 * Microsoft Internet Information Server 4.0
 * Microsoft Internet Information Services 5.0
 * Microsoft SQL Server 7.0 and 2000
 * Microsoft Internet Explorer 5.01 and later

Note that Hfnetchk.exe runs only on Windows NT 4.0, Windows 2000, and Windows XP. The computer on which you run Hfnetchk.exe must also run Internet Explorer 5 or later. If the computer does not run Internet Explorer 5 or later, you must obtain an XML parser. An XML parser is available from the following Microsoft Web site:

http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/591/msdncompositedoc.xml

back to the top

How to Install and Run Hfnetchk.exe
 Download the Hfnetchk.exe tool from the following Microsoft Web site and save the file to your local hard disk:

http://www.microsoft.com/downloads/release.asp?releaseid=31154

 Double-click the Nshc32.exe file. A Microsoft Network Security Hotfix Checker dialog box may appear, stating that the program will be installed. If this dialog box appears, click Yes to continue. The End User License Agreement (EULA) dialog box appears. Read the EULA and if you agree, click Yes. You are prompted for the location in which you want to place the extracted files. Type the path, and then click OK. An information dialog box appears. Read the text, and then click OK. Click Start, and then click Run.</li> Type cmd, and then click OK.</li> At the command prompt, change to the folder in which you installed the Hfnetchk.exe files.</li> Type hfnetchk -v -s 1, and then press ENTER.

NOTE: use the -nosum switch for non-English versions of Windows.</li> You see a message that states:

**Attempting to download the XML from:

http://download.microsoft.com/download/xml/security/1.0/NT5/EN-US/mssecure.cab

After the file is downloaded, you see a message that states:

**File was successfully downloaded. **

You are then prompted to install and run the MSSecure XML file. Click Yes to install the file.

</li> You see the results of the scan for hotfixes on the local computer. Note the missing hotfixes and close the command prompt window.</li></ol>

Note that you can scan network computers by using -h switch. For example, you can scan computers by using their NetBIOS name by using the following syntax:

hfnetchk -h,  ,  

For additional information about the switches and syntax for the Hfnetchk.exe tool, click the article number below to view the article in the Microsoft Knowledge Base:

303215 Microsoft Network Security Hotfix Checker (Hfnetchk.exe) Tool Is Available

back to the top

<div class="references_section">