Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best Logon Script Method?

Status
Not open for further replies.

CharlieIT

MIS
Apr 9, 2003
157
US
In my last company, I used a batch file referenced under the "Profile" tab (in "Logon Script") of each user to call Kix32.exe.

A visiting admin saw that and made a comment that this was a "very old" way to do things (I actually had it in place since NT4.0 and it never gave me any trouble).

I have since moved to a new company who has a Windows 2000 domain and no logon script (basically for standarizing on mapping drives so everyone doesn't have different mapings and so that IT can control this centrally in case something needs to change). The nice thing about Kix32 was you could easily say "IF the logging user is part of 'groupa' THEN Map Drive X to..."

My question is this: What is the "Microsoft" way central logon scripts? Is it vbscript? If so, I would need to go to the scripting center to make a vbscript file to do everything I want?

What are you folks doing for logon scripts?

Thanks!

 
Batch files are not long gone yet. VB scripts are more advanced, can do more features, should be what you are using if you require a logon script. The best method is what your company is doing now since it does bring management of everything to active directory. You just have to be very precise on how the permissions are granted on the folders from there (which should you should be doing anyway).

As for us, we're using batch files and I wish I could talk the director into letting me get rid of them and do what you guys are doing.

A+/MCP/MCSE/MCDBA
 
Bat files are definately old dinosaurs at this point, though they do still have their place for a quick fix at times. I would however not use them in production.

Your Bat files require a seperate VM to run and therefore are much slower and less powerful than using vbscript.

You should take a look at my FAQ. faq329-5798. It will provide you with everything you should need to use vbscript.

I hope you find this post helpful.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top