Cisco Support Community
Community Member

Running log on scripts with VPN after logging on with cached credentials

Running VPN client on Win XP. Currently configured to launch before windows log on, users can VPN to the network, after connection, users are prompted to log onto the domain and their log on script runs. Because of concern that users on the LAN would find the need to cancel past the VPN connect window on each log on cumbersome, we are looking for a way to allow users to log on to an XP machine with cached credentials and then launch a VPN session and after connecting run their log on scripts. Considered running the script locally, but that would cause a problem with updating the script. Anybody else have the same problem

Cisco Employee

Re: Running log on scripts with VPN after logging on with cached

The only way the VPN user is going to logon to the domain is if you use the Start Before Logon feature. If you logon with cached credentials first nd then start your VPN tunnel, the user has no way to actually log into the domin at that point, and therefore no way to run a logon script. you mention that you could run it locally, true, that would work, but as you mentioned if you update the script that makes it difficult.

You could run it locally and then change your script so that it merely checks if the users local version is up to date and if so doesn't do anything. If it's out of date, it copies itself to the users hard drive. Just a thought.

Community Member

Re: Running log on scripts with VPN after logging on with cached

Thanks- we did consider that. Part of our problem is that our log on script maps the users home drive, which I don't know if we can do if we run the script to map their drive, before the user is connected to the network.

Our other concern is that it can cause the users script to run 2x- If they do keep the system ste to launch the VPN client 1st and then log on, (this time the network and then the local) and if the script has been updated (this way the local and then the network script). This they may find confusing.

CreatePlease to create content