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 set up 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 a 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 “Change settings”;
    connect to domain over vpn
  3. Click on the “Network ID…” button on the “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.

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 log in. 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.

I enjoy technology and developing websites. Since 2012 I'm running a few of my own websites, and share useful content on gadgets, PC administration and website promotion.
Cyril Kardashevsky


  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.

  2. Thanks, this is helpful.
    THough this part needs a bit more explanation: “Now add the domain user you will be using to the local administrator’s group on the computer.” – what’s the local administrator’s group? is it the workgroup? isn’t that by default the case when adding a new local user?

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.