none
Rename and Connect to Domain RRS feed

  • Question

  • Hi,

    When our IT Staff want to connect a pc to domain, they enter the new name in the computer name box and at the same time connect it to domain and restart. Is it the right approach or they should rename, restart and then connect it to domain and restart again.

    Thanks.

    Monday, January 21, 2019 8:45 PM

All replies

  • Hi,

    Yes You can do it at same time.

    You can also use power-shell to rename and join a machine to a domain at same time:

    Add-Computer -DomainName $DomainToJoin -OUPath $OU -NewName $NewHostName -Restart


    Please don't forget to mark the correct answer, to help others who have the same issue. Thameur BOURBITA MCSE | MCSA My Blog : http://bourbitathameur.blogspot.fr/

    Monday, January 21, 2019 9:25 PM
  • Hi,

    Thanks for your question.

    Yes, it can be done at the same time.

    Best Regards,

    Eric


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, January 22, 2019 6:11 AM
  • Hi,

    Just checking in to see if the information provided was helpful.

    Please let us know if you would like further assistance.

    Best Regards,

    Eric


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, January 24, 2019 8:13 AM