Registry Tip #288: Determine service pack level |
Hits: Failed to execute CGI : Win32 Error Code = 3
|
Hive: HKEY_LOCAL_MACHINE
Key: system\CurrentControlSet\control\windows
Name: CSDVersion
Type: REG_DWORD
Value: 0x100 SP1
Value: 0x200 SP2
Value: 0x300 SP3
Value: 0x400 SP4
Value: 0x500 SP5
Value: 0x600 SP6
This value does not distinguish SP6 from SP6a. If SP6a has been installed, HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT\CurrentVersion\Hotfix\Q246009\Installed will have a value of 1.
The other non-registry methods are:
If the About Windows NT box reads:
Microsoft (R) Windows NT (R)
Version 4.0 (Build 1381: Service Pack 6)
Copyright (C) 1981-1996 Microsoft Corp
the system is running SP6. If SP6a is installed, the following line will be seen:
Revised Service Pack 6a