[THIN] Re: OT? WSH Logon Scripts

  • From: "Braebaum, Neil" <Neil.Braebaum@xxxxxxxxxxxxxxxxx>
  • To: "'thin@xxxxxxxxxxxxx'" <thin@xxxxxxxxxxxxx>
  • Date: Fri, 9 May 2003 16:23:43 +0100

Don't get me wrong - I see nothing wrong in expanding your scripting
knowledge - it can only be a good thing.

I honestly just think on all counts, Kix is more optimal for login script
stuff - especially as you know it already.

I just think - given your scenario - it's the better choice for what you're
doing, and I think the rationale behind the change isn't suggestive that the
solution will fix.

As a general example, I mainly use Kix for login scripts - both for terminal
server environments, and normal desktops (PCs). However, for certain things,
I'll use WSH / ADSI - for example, my printing rational is based around
using the location field on the computer object, to point to an OU where the
PC's printer objects are.

So I use WSH / ADSI for that. Although later versions of Kix include a lot
of the ADSI stuff, which weren't then in Kix when I first wrote this printer
mapping script, some of the tricks I use to help this rationale work, I
suspect wouldn't work in Kix - so that's the sort of thing I would use WSH /
ADSI for in the login environment.

It just seems that for the normal type of things that login scripts do - eg
map network drives, evaluate group membership(s), map printers, copy files,
read / write to the registry - all those things are substantially easier,
and less cumbersome in Kix, than WSH / ADSI.

I'm not intending this to be an advocacy against WSH / ADSI - merely an
appropriateness thing - using it for what it's most suited for, and not
binning something that's pretty darned good for what it does (Kix).


> -----Original Message-----
> From: Derek J. Lambert [mailto:dlambert@xxxxxxxxxx] 
> Sent: 09 May 2003 15:42
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: OT? WSH Logon Scripts
> Currently I have the script and kix32.exe in the netlogon 
> share. Everytime one of the systems across the wan login they 
> are running the kix32.exe from the server, which is taking a 
> couple extra seconds. I know there are numerous ways around 
> this, but I would like to further my scripting knowledge and 
> do some work with WSH, since most all my scripting work until 
> this point has been in perl and kix.
> -----Original Message-----
> From: Braebaum, Neil [mailto:Neil.Braebaum@xxxxxxxxxxxxxxxxx]=20
> Sent: Friday, May 09, 2003 9:20 AM
> To: 'thin@xxxxxxxxxxxxx'
> Subject: [THIN] Re: OT? WSH Logon Scripts
> Just out of interest, why is it you wish to get away from 
> Kixtart - you've mentioned the WAN thing, is it the Kixtart 
> caching functionality that's causing issues, or have you 
> genuinely found performance differences in WAN environments 
> between the two scripting technologies?
> I honestly think, for much of login script activity, that 
> Kixtart can't be beat. And anyways, nearly always the best 
> choice is the tool you're most familiar with.
> Personally I use Kixtart, WSH / ADSI / vbscript, and normal 
> command files for various things - but I honestly think that 
> for login processing stuff, Kixtart is the optimal choice - 
> especially if you know it already.
> I would have thought you'll have plenty of opportuinity to 
> use and learn WSH / ADSI / WMI stuff, from lots of other 
> admin tasks you'll no doubt find.
> Neil
> >-----Original Message-----
> >From: Derek J. Lambert [mailto:dlambert@xxxxxxxxxx]
> >Sent: Friday, May 09, 2003 8:44 AM
> >To: thin@xxxxxxxxxxxxx
> >
> >This may be a little OT, but I was wondering if anyone had 
> some WSH=20 
> >logon scripts they could send my way. I am currently using 
> kixstart,=20 
> >but would like to migrate our scripts to VBScript & WSH to 
> improve=20 
> >execution time across our WAN. If you have something 
> that's=20 not too 
> >too=20 complex (I'm interested in mapping/deleting shares, checking 
> >group=20 membership,
> >etc.) that you could share it would be greatly appreciated!

This e-mail and its attachments are confidential and are intended for 
the above named recipient only. If this has come to you in error, 
please notify the sender immediately and delete this email from your
system. You must take no action based on this, nor must you copy or
disclose it or any part of its contents to any person or organisation.

Statements and opinions contained in this email may not necessarily 
represent those of Littlewoods. Please note that email communications 
may be monitored. 

The registered office of Littlewoods Limited and its  subsidiaries
is 100 Old Hall Street, Liverpool, L70 1AB. 
Registered number of Littlewoods Limited is 262152 
This Week's Sponsor - Emergent Online
EOL's Universal Printer new Features include:
Network Printing, Pagestreaming, 2400 DPI.
No Client Software Required!

For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:

Other related posts: