We help IT Professionals succeed at work.

Running Login Script with SBS2003 VPN

gbrooke
gbrooke asked
on
How can I get login scripts to run when login to an SBS2003 server? I created a floppy using Create Remote Connection Disk. The clients connect to the server with no problem. It seems, though, that the login scripts that run when logging in locally with a domain user account don't run when logging in over the VPN with the same domain user account
Comment
Watch Question

SteveArchitect/Designer

Commented:
are you starting up the PC/laptop and then manually loggin into the VPN after the desktop has shown or are you loggin into the VPN as part of loggin into the PC (ctrl,alt,del screen for example?)
gbrookeSystem Administrator

Author

Commented:
Logging in to the VPN via Connect to Small Business Server after the desktop is fully loaded.


Architect/Designer
Commented:
logon scripts only occur at PC logon, not vpn connection.
This is not possible after the desktop has been displayed as logon has already finished.

if this is windows XP standard VPN, you can set the VPN to start before logon which should try to connect the PC to the VPN before logging on.

on the CTRL, ATL, Del screen, there should be an option to 'log on using dialup connection'

tick this and select the VPN from the list of connections. The VPN will connect and log the PC on as if it is plugged directly into the network, including group policies and logon scripts.

If the VPN is using 3rd party software you may need to enable an option in the VPN software to allow VPN before logon.
gbrookeSystem Administrator

Author

Commented:
Do the laptops have to be in the domain? Some of ours are not (long story) and those that are not don't seem to have the option to log on the VPN at the Ctrl+Alt+Del screen.
SteveArchitect/Designer

Commented:
Logon script only work for domain logon. if the laptops are not part of the domain they will not run a logon script and would not be able to log onto the vpn as part of the normal logon process.

The option to connect VPN before logon will normally only work if the VPN connection is in the list of connections on the PC but I ave never tried it on a non-domain PC as there would be no reason to use the VPN at logon (im assuming the option wouldnt be there)

If the PCs are not part of the domain you cannot get them to run domain logon scripts or apply domain group policies.