Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Logon scripts and VBS
Name: C_A_Braun Date: January 16, 2002 at 15:06:23 Pacific
Comment:
Hi. I am wondering if there is a way to do the following via a login script: Win 9x, NT 4 or 2K user logs on and logon.bat runs; logon.bat set the system time then calls a vbs (Windows Scripting Host) file that will HOPEFULLY do the following; Check to see what NT global groups the user is a member of; Once it knows all the groups it will check the list of groups against a table of mapping possibilities and map drives as appropriate.
Currently our logon.bat calls the vbs script and then goes through one line at a time: if user is in this group map this drive, if user is in that group map that drive and we have well over a hundred groups and therefore this process takes quite a while. So we are looking to speed things up if at all possibile.
Thanks for your thoughts on this subject and I am open to any and all suggestions.
Name: xtreme Date: March 21, 2002 at 14:30:13 Pacific
Reply:
I'm not sure whether VBS can negotiate ODBC connections, but I assume they can. If so, why not try using a table in an Access mdb file to store the user groups, and SQL to return the appropriate mappings. An indexed table would definetely return the information faster than parsing a huge text file.
Summary: Hi! I would like to learn more about the usage of the logon script and the environment varibles provided by Windows NT. I've found there is no manual and book explaining this in detail(Novell Netware ...
Summary: I am attempting deployment of various software packages across our network, yet wish to do this via logon script to specific WORKGROUPS at a time. Does anyone know of a way to retrieve the machines c...