Microsoft KB Archive/922979

= How to determine the version of Update Rollup 1 for Windows 2000 Service Pack 4 =

Article ID: 922979

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server

-



INTRODUCTION
After the initial release of Update Rollup 1 for Windows 2000 Service Pack 4 (SP4) on June 28, 2005, we identified several issues that may occur when you install this update rollup. Version 2 of Update Rollup 1 for Windows 2000 SP4 was released on September 13, 2005 to address these issues.

This article describes a method that you can use to determine the version of Update Rollup 1 for Windows 2000 SP4 (KB891861) that is installed on your computer.

For more information about Update Rollup 1 for Windows 2000 SP4 (KB891861), click the following article number to view the article in the Microsoft Knowledge Base:

891861 Update Rollup 1 for Windows 2000 SP4 and known issues



MORE INFORMATION
Most of the files that Update Rollup 1 for Windows 2000 SP4 (KB891861) replaces are identical in both versions of the update. However, the update does create some differences in the registry entries.

The registry entries that list the version of the files that Update Rollup 1 for Windows 2000 SP4 (KB891861) installs are created in the following location in the registry:

The number and the order of the registry subkeys may be different. Subkeys are numbered consecutively, starting at zero (0).

If Update Rollup 1 for Windows 2000 SP4 (KB891861) is installed, one of the following appears under the  subkey for the Fastfat.sys file:
 * Version 1 of the update installs Fastfat.sys version 5.0.2195.7006.
 * Version 2 of the update installs Fastfat.sys version 5.0.2195.7061.

To determine the version of Update Rollup 1 for Windows 2000 SP4 (KB891861) that is installed on the computer, follow these steps:

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.  Start Notepad.  Paste or type the following commands in Notepad: @echo off cls SET _FOUNDIT=NO SET _QTARGET=.

if not &quot;%1&quot; == &quot;&quot; SET _QTARGET=%1 if &quot;%_QTARGET%&quot;==&quot;.&quot; goto START echo Checking server %_QTARGET% is visible on the network... ping %_QTARGET% -n 1 > nul if errorlevel 1 goto PINGFAIL


 * START

echo Checking for the presence of the Update Rollup 1... reg query &quot;\\%_QTARGET%\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows 2000\SP5\Update Rollup 1&quot; > nul if errorlevel 1 goto NOPACK

for /L %%i in (1,1,485) do call :job %%i if &quot;%_FOUNDIT%&quot; == &quot;NO&quot; goto NEITHER goto DISPLAY


 * job

if &quot;%_FOUNDIT%&quot; == &quot;NO&quot; call :job2 %1 goto :EOF


 * job2

reg query &quot;\\%_QTARGET%\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows 2000\SP5\Update Rollup 1\Filelist\%1&quot; /v FileName > temp.lst findstr /I fastfat.sys temp.lst > nul if errorlevel 1 goto :EOF SET _FOUNDIT=YES reg query &quot;\\%_QTARGET%\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates\Windows 2000\SP5\Update Rollup 1\Filelist\%1&quot; /v Version > temp.lst goto :EOF


 * PINGFAIL

echo Failed to ping the destination server, aborting. goto END


 * NOPACK

echo There was no Update Rollup 1 found on %_QTARGET% goto END


 * DISPLAY

findstr /I 5.0.2195.7006 temp.lst > nul if errorlevel 1 goto CHKVER2 echo This machine (%_QTARGET%) has version 1 of the Windows 2000 Rollup 1 installed. goto END


 * CHKVER2

findstr /I 5.0.2195.7061 temp.lst > nul if errorlevel 1 goto NEITHER echo This machine (%_QTARGET%) has version 2 of the Windows 2000 Rollup 1 installed. goto END


 * NEITHER

echo Unable to determine the version of the Windows 2000 Rollup 1 installed on %_QTARGET%.


 * END

if exist temp.lst del temp.lst  On the File menu, click Save As, name the batch file, and then save it to the location of your choice. For this example, name the file Version.bat, and then save it to drive C. Click Start, click Run, type cmd in the Open box, and then click OK. At the command prompt, type C:\ .bat to run the batch file. For this example, type C:\Version.bat to run the batch file.

Additional query words: windows2000 windows2k win2000 win2k

Keywords: kbhowto kbautomation kbupdateissue kbexpertisebeginner KB922979

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.