From your windows client machine open command prompt and run the following cmd to add computer to domain.
1 |
wmic.exe /interactive:off ComputerSystem Where name=“%computername%” call JoinDomainOrWorkgroup FJoinOptions=3 Name=“myDom.local” UserName=“myDom\UsrName” Password=“@passwrd!@” |