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.
- Open the “Windows Settings” → “Network & Internet”;
- Choose the “VPN” tab and click on “Add a VPN connection”;
- 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).
- 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.
- Open the “Control Panel” → “All Control Panel Items” → System;
- Choose “Change settings”;
- Click on the “Network ID…” button on the “Computer Name” tab;
- Select the option that describes your network and press “Next”;
- Restart the PC;
- 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.
- How to Install and Configure SNMP Service on Windows 10? - December 25, 2020
- How to Migrate User Profiles with User State Migration Tool (USMT) on Windows 10? - December 24, 2020
- PowerShell: Convert String to Int - December 18, 2020
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.