Page 1 of 1 1
Topic Options
#94277 - 2002-10-11 06:10 PM Checking NT Service Packs
tlemmonds Offline
Lurker

Registered: 2002-10-10
Posts: 2
Loc: Seattle, WA
Was wondering is anyone knew of a function in Kixtart that will check which service pack is installed on a client Windows NT computer.
_________________________
I must work to ensure the harmonious interface between man and machine...and to keep the two from killing each other.

Top
#94278 - 2002-10-11 06:12 PM Re: Checking NT Service Packs
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
it's not a kix function but from reg you see it:
$sp=readvalue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion","CSDversion")

offcourse, it surely is for nt only...
_________________________
!

download KiXnet

Top
#94279 - 2002-10-11 06:16 PM Re: Checking NT Service Packs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
there is @csd.. of course that is only for the local machine.

[ 11. October 2002, 18:16: Message edited by: Radimus ]
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#94280 - 2002-10-11 06:37 PM Re: Checking NT Service Packs
tlemmonds Offline
Lurker

Registered: 2002-10-10
Posts: 2
Loc: Seattle, WA
Thanks for the quick response!

What value does "$sp=readvalue("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion","CSDversion")" return?
_________________________
I must work to ensure the harmonious interface between man and machine...and to keep the two from killing each other.

Top
#94281 - 2002-10-11 06:38 PM Re: Checking NT Service Packs
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
look in the registry...

what you see is what you get.
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#94282 - 2002-10-11 06:49 PM Re: Checking NT Service Packs
Waltz Offline
Seasoned Scripter

Registered: 2002-08-01
Posts: 485
Loc: Waterloo, Ontario, Canada
and there's a WMI solution as well...

WMIQuery("CSDVersion","Win32_OperatingSystem","$remotepc")
_________________________
We all live in a Yellow Subroutine...

Top
#94283 - 2002-10-11 06:58 PM Re: Checking NT Service Packs
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
MCA has one available at - http://home.wanadoo.nl/scripting/download/os.kix it not only shows the OS, but Service Pack too.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#94284 - 2002-10-11 07:50 PM Re: Checking NT Service Packs
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
And here is a script I wrote a while back. Not sure I would use it as it now days, but you might be able to gleen some ideas from it.

I wrote it for KiXtart v3.63, so I would update it to v4.x if I was to roll it out again myself.

http://kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=2&t=002573

hmmmm. not sure what is up with the UBB URL button, it keeps messing up the code, so I didn't use it.

[ 11. October 2002, 19:51: Message edited by: NTDOC ]

Top
#94285 - 2002-10-11 10:30 PM Re: Checking NT Service Packs
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Doc,

In the link I provided from MCA, he gives you credit for input on this script..

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#94286 - 2002-10-12 12:09 AM Re: Checking NT Service Packs
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Yes,

MCA was very obliging and made many modifications to this script for checking the OS version.

The link I gave is for the actual Service Pack updating. It checks if the user is a local admin as well as checking disk space and reporting on it, etc...

Top
#94287 - 2002-12-12 12:39 AM Re: Checking NT Service Packs
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear NTDOC,

We will see, what we can do with it.
greetings.

(TO_DO)
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.07 seconds in which 0.035 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org