Wednesday, 13 January 2016

AD: Renaming computer objects

AD:  Rename computer objects


·         Administrator: Command prompt

c:\>netdom renamecomputer OLD-NAME /NewName:NEW-NAME /UserD:your.username /PasswordD:your.password /Force /Reboot


·         Administrator: PowerShell

PS C:\> Rename-Computer –NewName NEW-OC –ComputerName OLD-pc –Force – Restart



Requirements
  •  Target computer (to be renamed) must be turned ON
  • Your account must have the required privilege to rename computer objects target computer will reboot with 30 seconds.
  • Ensure user are fully aware & are able to save their work accordingly
  • Always use the above method !!! Never Manually rename computers as this will cause orphaned computer objects in active directory




No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...