Page 1 of 1 1
Topic Options
#67992 - 2002-07-10 12:28 AM Collecting information
JasLC Offline
Fresh Scripter

Registered: 2002-05-29
Posts: 39
Loc: Fort Worth
Hey y'all...

Many of you already know how to do what I'm about to ask, so instead of this NOOB spending many hours trying to write this, I'm gonna pick your brains... [Smile]

I have a mix of 95, 98, NT4, and W2K clients. Some are only logging into Active Directory, some are only logging into NDS, and some are logging into both. I want to find the computers that DO NOT have the Microsoft Client installed. For the computers that DO NOT have the Microsoft Client installed, I am going to run KIX32 from a Netware server. I have already tested this and it works. In order for me to take advantage of MACROs with the KIXRPC service, I will need to specify the Windows 2000 server to point to for the RPC service. Here's what I am thinking I want to do:

I want to verify (possibly with KEYEXIST) that HKLM\Enum\Network\VREDIR exists within the registry of these machines. If it exists, I then want to create a file on a server. (possibly \\server\share\"+@WKSTA+".txt) ...something like that. (remember, I will have to point to the RCP server somewhere in the script)

Then, I want to put information in that file like "ProductName", "Version", and "VersionNumber" from HKLM\Software\Microsoft\Windows\CurrentVersion. If I could, I would also like to put in the file the name of the user who logged in. (possibly from @USERID, but remember, these users are NOT NT domain users but logging into NDS. I don't know if USERID would pick up the local USERID from the workstation or not. If USERID doesn't work, I could always possibly find their username within the registry and export that into the file somehow.)

Many thanks in advance! [Big Grin]
Jason

Top
#67993 - 2002-07-10 01:25 AM Re: Collecting information
MCA Offline
KiX Supporter
*****

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

Take a look at some of our scripts on our site.
F.e. logon.kix creates a historical and dynamic list of your users.
greetings.
_________________________
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
#67994 - 2002-07-10 03:06 PM Re: Collecting information
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Dear,
That's like giving Jason a drink from a fire hose. [Big Grin]

Do you have a garden hose?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#67995 - 2002-07-10 03:57 PM Re: Collecting information
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
Dear,

Jason might like fire water [Wink]
_________________________
There are two types of vessels, submarines and targets.

Top
#67996 - 2002-07-10 04:21 PM Re: Collecting information
JasLC Offline
Fresh Scripter

Registered: 2002-05-29
Posts: 39
Loc: Fort Worth
Y'all should be actors on broadway! You over exagerate so well! [Wink]

The logon.kix file was great and easy to read through. I took what I needed and implemented some code in a test environment. All is working well.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, 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.141 seconds in which 0.077 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