nerdexam
CompTIA

220-802 · Question #928

An administrator needs to temporarily change the host name of a computer that is on the company's domain. Which of the following would be the BEST way to accomplish this and still maintain access to…

The correct answer is A. Add the PC to the workgroup and reboot. Rename the PC and reboot. Rejoin the PC to the. To rename a domain PC while preserving access to roaming profile network shares, the computer must first be removed from the domain, renamed, and then rejoined so the AD computer account is properly reconciled.

Networking

Question

An administrator needs to temporarily change the host name of a computer that is on the company's domain. Which of the following would be the BEST way to accomplish this and still maintain access to individual roaming profile's network shares?

Options

  • AAdd the PC to the workgroup and reboot. Rename the PC and reboot. Rejoin the PC to the
  • BChange the name of the PC. Join it to the workgroup and then to the domain.
  • CAdd the PC to the workgroup and reboot. Rejoin the PC to the domain. Rename the PC and
  • DChange the name of the PC and reboot. Rejoin it to the domain and reboot.

How the community answered

(34 responses)
  • A
    44% (15)
  • B
    6% (2)
  • C
    35% (12)
  • D
    15% (5)

Why each option

To rename a domain PC while preserving access to roaming profile network shares, the computer must first be removed from the domain, renamed, and then rejoined so the AD computer account is properly reconciled.

AAdd the PC to the workgroup and reboot. Rename the PC and reboot. Rejoin the PC to theCorrect

Leaving the domain and joining a workgroup before renaming severs the trust relationship cleanly, preventing stale Kerberos tickets or name conflicts in Active Directory. Renaming the PC while in a workgroup and then rejoining the domain allows the domain to register the new name correctly, ensuring roaming profile paths stored on the server remain accessible under the correct account. This sequence avoids broken computer account trust that would block profile share access.

BChange the name of the PC. Join it to the workgroup and then to the domain.

Changing the computer name while it is still domain-joined before removing it from the domain can cause Kerberos authentication errors and orphaned computer accounts in AD, disrupting profile share access.

CAdd the PC to the workgroup and reboot. Rejoin the PC to the domain. Rename the PC and

Rejoining the domain before renaming defeats the purpose, as the computer object in AD will still reflect the old name until another rejoin occurs, causing a mismatch that can break roaming profile paths.

DChange the name of the PC and reboot. Rejoin it to the domain and reboot.

Renaming the PC while still joined to the domain without first leaving it can cause computer account trust failures that prevent the machine from authenticating to the domain and accessing profile shares.

Concept tested: Renaming domain-joined PC while maintaining roaming profiles

Source: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/get-started/virtual-dc/virtualized-domain-controller-architecture

Topics

#domain computer rename#roaming profiles#Active Directory#workgroup rejoining

Community Discussion

No community discussion yet for this question.

Full 220-802 Practice