Computing.Net > Forums > Windows NT > Logon scripts and VBS

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

Reply to Message Icon

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.



Sponsored Link
Ads by Google

Response Number 1
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.


0
Reply to Message Icon

Related Posts

See More


MIGRATION FROM NOVELL TO ... VPN Problem



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Logon scripts and VBS

where to get a list and the explaination of the logon script key words and environment variables provieded by WinNT 4 www.computing.net/answers/windows-nt/where-to-get-a-list-and-the-explaination-of-the-logon-script-key-words-and-environment-variables-provieded-by-winnt-4/6215.html

NT Logon Scripts and Workgroup Retrieval www.computing.net/answers/windows-nt/nt-logon-scripts-and-workgroup-retrieval/13360.html

NT 4.0 logon scripts and Win95 clients www.computing.net/answers/windows-nt/nt-40-logon-scripts-and-win95-clients/1786.html