Windows Server Summit 2024
Mar 26 2024 08:00 AM - Mar 28 2024 04:30 PM (PDT)
Microsoft Tech Community
LIVE

adding pc to my domain

Copper Contributor

hi guys,

 

only joined. hope everyone is ok :) 

 

i have just started studyin mcsa, instead of buying teh server and pcs, i opted out for virtualisation.

 

i have installed server 2016 first then 3 pc.

 

the problem is i cant seem to add any of the 3 pcs to my server.

 

can anyone help please?

 

many thanks

27 Replies

I'd check that the domain controller and problem members all have the static ip address of DC listed for DNS and no others such as router or public DNS

 

 

@Dave Patrick 

 

thank you dave, i have put static ip address on the domain server and put 127 for dns. i have left all the pcs on dynamic.

@robert180 

Hi,

this is the guide for you, using virtualized server and how to create and join domain

 

https://www.moderndeployment.com/windows-server-2019-active-directory-installation-beginners-guide/#...

 

And a video:

 

https://www.youtube.com/watch?v=6Lsv4N1hGnM

 

a Microsoft article:

 

https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/deployment/join-a-computer-to-a-domai...

 

 

Let me know if you need any help with that

 

 
Please run;
  • Dcdiag /v /c /d /e /s:%computername% >c:\dcdiag.log
  • repadmin /showrepl >C:\repl.txt
  • ipconfig /all > C:\dc1.txt
  • ipconfig /all > C:\dc2.txt
  • ipconfig /all > C:\problemworkstation.txt

    then put unzipped text files up on OneDrive and share a link.

  

  

 

thank you very much, will try it out when i get a free time.

@HotCakeX 

 

thank you very much, will try it out when i get a free time.

Sounds good.

 

 

 

 

You're welcome :)

i have assigned a static ip for the server and put the ip address as my dns.

@robert180 

 

I can't see that picture..

 

Annotation 2019-11-02 003704.png

 

Ok nvm, figured it out :D
https://postimg.cc/qNDK0Vx5

@HotCakeX 

 

sorry try this please

 

https://postimg.cc/qNDK0Vx5

 

it keeps giving me this error whenevr i try to connect my pc to teh server

@robert180 

Thank you, hmm lets see,

you need to type the full domain name in the there, so instead of "contoso" you need to type "contoso.local" or something like that.

do you remember which domain name and extension (such as .local  .com  .net etc) you chose when you were setting up Active Directory Domain Controller role on your server?

 

in this step:

 

Hyper-V-VM-DC-Install-Step17

 

from this guide

Please put up the requested files;
  • Dcdiag /v /c /d /e /s:%computername% >c:\dcdiag.log
  • repadmin /showrepl >C:\repl.txt
  • ipconfig /all > C:\dc1.txt
  • ipconfig /all > C:\dc2.txt
  • ipconfig /all > C:\problemworkstation.txt

    then put unzipped text files up on OneDrive and share a link.

 

 

 

@HotCakeX 

 

yes, i have tried the domanin name i setted up with too which is contoso.com and its still coming up wiith the same error.

@Dave Patrick 

 

hello,

 

are you wanting me to type that in powershell and copy the resuls and paste it here?

@robert180 

 

Well that's because http://contoso.com/ is a real world domain owned by Microsoft.

 

you need to use a local domain for your setup, one that is not taken, or buy a domain and add it to your server.

 

though I think you can use http://contoso.com/ if you set your Windows client's DNS settings to only point to your own local DNS server's and not any outside DNS network. 

then on your DNS server, you should put 127.0.0.1 in your primary DNS server and leave Secondary DNS server empty.

 

only this way you can achieve that.

 

 

run from cmd.exe and put the resulting files up on OneDrive and share a link here.