If anyone is interested I found my answer:

 

To determine the current Windows NT Service Pack level installed, you can query the registry, useful for script automation, using the following Windows NT Registry hack:

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

 

 

 

Chris Bodnar

The Lehigh Group

610-966-9702 X:134

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 11:41 AM
To: NT System Admin Issues
Subject: RE: NT4 Registry entry for SP level ?

 

This is from the MS website FAQ: http://www.microsoft.com/ntserver/support/faqs/sp6faq.asp#1.4

 

SP6a's install program marks a registry key you can check.

If HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Hotfix\Q246009\Installed = 1, it's SP6a.

The key won't exist if it's SP6.

Not too sure about previous versions

-----Original Message-----
From: Chris Bodnar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 26, 2001 10:42 AM
To: NT System Admin Issues
Subject: NT4 Registry entry for SP level ?

Does anyone know the exact subkey and value that contains the service pack level for NT 4 ? I’m writing a KixTart script and I need to retrieve that value.

 

 

 

TIA

 

 

Chris Bodnar

The Lehigh Group

610-966-9702 X:134

 

Want to unsub? Do that here:
http://www.w2knews.com/rd/rd.cfm?id=unsub
Need a good FAQ? Try this one first:
http://www.ultratech-llc.com/KB/

Want to unsub? Do that here:
http://www.w2knews.com/rd/rd.cfm?id=unsub
Need a good FAQ? Try this one first:
http://www.ultratech-llc.com/KB/

Want to unsub? Do that here:
http://www.w2knews.com/rd/rd.cfm?id=unsub
Need a good FAQ? Try this one first:
http://www.ultratech-llc.com/KB/

Reply via email to