Join Domain and Login over a VPN Connection

This is a short tutorial on how to join a computer to a domain over a VPN connection. This was very useful for us this weekend. We had to reformat a computer, and needed to setup their profile again under their login.

Join Domain over VPN

Note, you will need to login to the computer with a local account.

Connect to VPN

First you must connect to Virtual Private Network.

  1. Open the “Windows Settings” → “Network & Internet”.
    join domain over vpn
  2. Choose the “VPN” tab and click on “Add a VPN connection”.
    join domain through vpn
  3. Fill in the fields as follows:
    • “VPN Provider” → Windows (built-in);
    • “Connection name” can be any (best to use provider country and/or server location);
    • “Server name or address” → the address of your VPN provider (you can find it in your VPN account);
    • “VPN type” → “Automatically” (you can choose manually);
    • Type of sign-in info → your type (in this case, it is login and password).
      join computer to domain over vpn
  4. Click on “Save” button.

Also you can get the Touch VPN in Windows Store (it’s free) and use it for VPN connection.

Use the Network ID

Join the computer to the domain.

  1. Open the “Control Panel” → “All Control Panel Items” → System.
    join domain via vpn
  2. Choose the “Change settings”.
    connect to domain over vpn
  3. Click on “Network ID…” button on “Computer Name” tab.
    join domain over vpn windows 10
  4. Select the option that describes your network and press “Next”.
    add computer to domain over vpn
  5. Restart the PC.
  6. Connect again to the VPN. Now add the domain user you will be using to the local administrator’s group on the computer.
READ ALSO  FSMO Role: Domain Naming Master

Now lock your computer. You can do this by pressing CTRL+ALT+DEL and then selecting “Lock the Computer.” Or you can press the Windows + L key.

Hit Control-Alt-Delete again to login to the computer. But this time use your domain account to login. It will log the local account off.

And there you go, you are now logged in with the domain account on a domain joined machine.

Cyril Kardashevsky
Latest posts by Cyril Kardashevsky (see all)

One comment

  1. Thanks for article. I always forget to add the machine to the network over my VPN connection when trying to add a domain user and scratch my head and wonder why the user won’t add properly.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.