Question Locked

Login Bat File

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
We have a Windows 2000/2003 domain configured in two subnets with one domain controller. Presently one subnet when logging into clients get connected to the "K" drive. On the other subnet we want them to connect to the "J" drive. How can we setup just one bat file so both subnets can connect to their respective drives when logging in? Thank you.

4 replies

by retro77

Can that other subnet manually map the J drive? Just want to make sure that routing it happening properly 1st.

by churdoo

I looked into doing something very similar to this. Although what you're requesting can be done with some fancy scripting, after much deliberation I decided to create a separate OU for each "subnet" and use Group Policy to distribute the correct logon script for the site-specific settings; in my case it was drive mappings also.

I have one logon script which does all of the common stuff for all users, specified in ADUC User Properties / Profile / Logon Script, and then the second smaller scripts, one for each site, which do the site-specific, or subnet-specific mappings, pushed by GP

This solution is working flawlessly.

This discussion is closed to new replies.