Wednesday, June 28, 2006

Joining a domain remotely through VPN in Windows Vista build 5456

If you have joined a domain remotely through VPN in Windows XP you probably know that the trick is to use the local user to create a VPN connection for everyone, dial-up to your company, join the domain, reboot and then use the logon using dial-up networking feature, when you first logon with your domain account (Thereby caching your credentials for future logons).

In Vista there is no Logon using dial-up networking option (Or at least I haven't found it ;-) instead the trick is to create a VPN connection, dial-up to your company, join the domain, reboot and then logon with the local user. Then dial-up to your VPN again and selest padlock icon, Switch User (While keeping you VPN connection open) and now logon to you domain account.

14 comments:

Anonymous said...

This saved me a huge headache!
Thanks!.

Unknown said...

You are welcome ;-)

Anonymous said...

Exaclty what I was looking for. Thanks for sharing the info!

Anonymous said...

I'm using Vista Business and there is no "Switch User" option once you have joined the domain :(

Anonymous said...

Not related to Vista, but to do the same thing in Windows XP, first join domain with local user, then use ctrl+alt+del, Lock Computer, then unlock with the domain user! Works for VPN that can not be connected with the dial-up routine (e.g. Netgear SSL312)...

Anonymous said...

same comment:

have been searching for 2 hours for dial-up logging in, this solution helps me out!!

Anonymous said...

It took me less ( thank to google! ) but thanks a lot!

Anonymous said...

Microsoft really are completely retarded. First they make an operating system that runs half as fast as the previous version, then they remove features frequently used. Every Vista system I am buying I am having to get the XP downgrade for and reload the system as clients are furious at how slow Vista is compared to XP.

Anonymous said...

OK here's the REAL answer...

I do this only because this is currently the first match on Google currently and it's incorrect (old) info.

When you create your VPN connection you checkmark "Allow other people to use this connection". This is the key.

Set it up how you'd like otherwise (I prefer to set a username and domain, but not check "remember this password").

Test it save it, etc.

Disconnect from it and log out.

Click "switch user" and on the switch user menu (your user + "other user") you should now see the Extra button to make the VPN login (down by the power button).

Use it, enjoy working. :)

Greg Ryan said...

Woohoo! Cheers. Saved a few corp heads this evening with this :)

Anonymous said...

Actually, if you have a dial-up or a VPN connection configured in Vista, when you go to logon, click the Switch User button and in the bottom right corner of the screen as icon for Logon using Dialup. It doesn't have a label, it just an icon. No need to logon and switch users.

Anonymous said...

I have just tried this on Windows 7 RC1 and it worked brilliantly. Thank you

John Auld said...

You can also create the cached profile without switching user.


While logged in as a local admin and with the VPN connected, join the machine to the Domain, then open a DOS box and enter

runas /user:Domain\User cmd
- prompt to enter password

where Domain and User are those of your domain and the user name.

Exit both DOS boxes, log off and then login as Domain\User to complete the job.

Anonymous said...

Runas /user:Domain\User cmd



PERFECT!!

Thank you

Paul Govier