Since 1903 Windows 10 doesn't really offer a GUI way of adding a workstation to an NT Style domain. As I've been using Samba for a while, and still haven't upgraded to an AD (Active Directory) DC (domain controller) I was put in front of the task of adding 2 new workstations to the old NT style domain. In win10 (1903) I only found one way to do so (not documented in Samba's wiki):
Use PowerShell as an Administrator, and type the following code:
Add-Computer -ComputerName Server01 -LocalCredential Server01\Admin01 -DomainName Domain02 -Credential Domain02\Admin02 -Restart –Force
In order for this to work you need to:
- Name the computer first (Server01 in the example above) and restart
- Install the win7/8/10 registry updates (DomainCompatibilityMode=1, "DNSNameResolutionRequired"=dword:00000000)
- Install the win10 registry update for passwords:
Windows Registry Editor Version 5.00 |HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Protect\Providers\df9d8cd0-1501-11d1-8c7a-00c04fc297eb| "ProtectionPolicy"=dword:00000001