Page 1 of 2 12>
Topic Options
#40488 - 2003-05-20 03:05 PM How do I get the OS!?
Josh R Offline
Fresh Scripter
****

Registered: 2003-05-07
Posts: 49
[Moderator (Sealeopard): Moved thread from 'Script' to 'Starters' forum due to lack of script in body]

I am trying to use @PRODUCTTYPE, but it is not returning anything. Just says unknown. Where is this looking to get the OS of my machine? Any ideas? Also any ideas on how to get the serial number of a machine?

[ 20. May 2003, 16:37: Message edited by: sealeopard ]

Top
#40489 - 2003-05-20 03:09 PM Re: How do I get the OS!?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
@producttype is NOT available in ALL versions, which one do you use ?

If it is 4.x you can also search for OS regocnition UDFs in the UDF library forum : UDF Library

hth
_________________________



Top
#40490 - 2003-05-20 03:12 PM Re: How do I get the OS!?
Josh R Offline
Fresh Scripter
****

Registered: 2003-05-07
Posts: 49
Honestly I have no idea at all. Where can I check to find out what version?
Top
#40491 - 2003-05-20 03:12 PM Re: How do I get the OS!?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Serial Number ?

hmmmm ... thats a bit harder ... Are your machines WMI enabled ?

[ 20. May 2003, 15:13: Message edited by: Jochen ]
_________________________



Top
#40492 - 2003-05-20 03:14 PM Re: How do I get the OS!?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Version :


break on

@kix

get $
_________________________



Top
#40493 - 2003-05-20 03:14 PM Re: How do I get the OS!?
Josh R Offline
Fresh Scripter
****

Registered: 2003-05-07
Posts: 49
I am a novice Kixtart user....what is WMI?
Top
#40494 - 2003-05-20 03:16 PM Re: How do I get the OS!?
Josh R Offline
Fresh Scripter
****

Registered: 2003-05-07
Posts: 49
3.61 is the version I am using. Would it be worth my time to upgrade? What would you recommend?
Top
#40495 - 2003-05-20 03:20 PM Re: How do I get the OS!?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
WMI = Windows Management Instrumentation (Intrinsic since Windows 2000)

3.61 = too old [Wink]

get 4.21 and take advantage of a whole bunch of new functionality plus a great resource of already coded User defined Functions (as linked above)

Oh hey, welcome to the Board !
_________________________



Top
#40496 - 2003-05-20 03:21 PM Re: How do I get the OS!?
Josh R Offline
Fresh Scripter
****

Registered: 2003-05-07
Posts: 49
Ok where do I get the new version? Also I have heard so many things about kixforms....does this new version have what I need to use some of these scripts?

How do I enable WMI?

Thanks for the help!!!!

Top
#40497 - 2003-05-20 03:22 PM Re: How do I get the OS!?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Oh yeah,

forgot to mention :

Download 4.21

and HTML Help file 4.21
_________________________



Top
#40498 - 2003-05-20 03:24 PM Re: How do I get the OS!?
Josh R Offline
Fresh Scripter
****

Registered: 2003-05-07
Posts: 49
Ok obviously I don't need all of those files to run...I run the login script from my domain controllers so what files do I need to actually run?
Top
#40499 - 2003-05-20 03:26 PM Re: How do I get the OS!?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Kixforms is a seperate thing written by Shawn (a '3rd Party DLL Add-on' so to say [Wink] )

If you follow the link in my sig you will be nearly there [Big Grin]
_________________________



Top
#40500 - 2003-05-20 03:29 PM Re: How do I get the OS!?
Josh R Offline
Fresh Scripter
****

Registered: 2003-05-07
Posts: 49
I replaced all of those files and it still says I am running 3.61?
Top
#40501 - 2003-05-20 03:30 PM Re: How do I get the OS!?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Oh man,

we have a minor communications problem with this [Smile]

As soon as I reply and get back I discover new questions [Roll Eyes]

WMI: you just need to have 2K OS or later OR have the WMI runtimes installed on NT and earlier , then, as soon you have 4.21 running go to the COM Forum here and do a search for 'WMI' [Wink]
_________________________



Top
#40502 - 2003-05-20 03:30 PM Re: How do I get the OS!?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
hmmmm ... {Be back in a minute ... need a smoke [Roll Eyes] }

[ 20. May 2003, 15:32: Message edited by: Jochen ]
_________________________



Top
#40503 - 2003-05-20 03:43 PM Re: How do I get the OS!?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Ok,

quote:
I replaced all of those files and it still says I am running 3.61?
Which ones did you replace, where, and how do you start your scripts ?
_________________________



Top
#40504 - 2003-05-20 03:57 PM Re: How do I get the OS!?
Josh R Offline
Fresh Scripter
****

Registered: 2003-05-07
Posts: 49
I replaced these files:

KIX32
KX16.DLL
KX32.DLL
KX95.DLL
KXRPC
WKIX32

I run it from my domain controller. It is weird because my editor is saying that one one of the domain controllers it is 4.21 and the other is 3.61 even though I copied the same files to both places.

Top
#40505 - 2003-05-20 04:02 PM Re: How do I get the OS!?
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
You may have confuse REPL$\import and export. NETLOGON is the import directory.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#40506 - 2003-05-20 04:05 PM Re: How do I get the OS!?
Josh R Offline
Fresh Scripter
****

Registered: 2003-05-07
Posts: 49
What do you mean import and export directory? I copied the files to the same place on both domain controllers and one works and the other doesn't.
Top
#40507 - 2003-05-20 04:06 PM Re: How do I get the OS!?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Yeah,

Make sure that you update files in repl$ (%systemroot%\system32\repl\export\scripts\) on the Server that is used to replicate with others [Smile] )

[ 20. May 2003, 16:06: Message edited by: Jochen ]
_________________________



Top
Page 1 of 2 12>


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

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

Generated in 0.081 seconds in which 0.027 seconds were spent on a total of 13 queries. Zlib compression enabled.

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