How to create a Login Script - Windows 2003 Server - TechRepublic
General discussion
October 15, 2008 at 07:35 AM
tcombs

How to create a Login Script – Windows 2003 Server

by tcombs . Updated 17 years, 9 months ago

I need help..lol
I need to figure out how to create a login script for several users that need to have a route added.

network layout –
I have a cisco 5520 firewall that is the main default gateway – 192.168.140.1

All the users use that gateway.

However, we recently implemented an MPLS and that router sits behind the default gateway, it’s IP address is: 192.168.142.17 ….. This was put into place because we have a few users that must connect to our HQ in Japan. There are a few applications that only they need access to.

Initially I switched all the users default gateway to .17 , and used routes on the router to point all the internet traffic and anyone that didn’t need access to HQ to go out through .1 . That worked fine, but then we started having issues internally with applications across the network.

So rather than change everything to accommodate just a few users, I switched it back to default to .1 …..

Now, I need to create a logon script that adds routes to those 5 users.
For example –
If user needs to access 192.168.8.10 , they have to go through the MPLS at 192.168.140.17 .

Please help. I know how to go in and add a route using a command prompt, but obviously, I don’t want to do this for all the routes, even though there’s only 5 users, everytime they restart their computer.

I’ve never created a logon script, so if you can give me an example – THAT WOULD BE MUCH APPRECIATED..lol

This is a great forum and I know there’s someone that can help! Thanks in advance!

This discussion is locked

All Comments