1

I am new to Active Directory concepts. I am practicing with AD Objects. In AD, I can change the user object names but I cannot able to rename the computer object name. It can be done via netdom command in powershell but unable to rename via ADUC (Active Directory Users and Computers). Is there anyone have the idea about how to rename the computer from ADUC? If it is not possible, please tell the reason for unable to rename through ADUC.

Thanks, Sathishkumar

1 Answer 1

0

You cannot rename computers from Active Directory Users and Computers.

Use the PowerShell cmdlet Rename-Computer instead.

Rename-Computer
      [-ComputerName <String>]
      [-PassThru]
      [-DomainCredential <PSCredential>]
      [-LocalCredential <PSCredential>]
      [-NewName] <String>
      [-Force]
      [-Restart]
      [-WsmanAuthentication <String>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Example:

Rename-Computer -ComputerName "COMP01" -NewName "WORKSTATION01"

You could rename the computer from ADSIEdit but I strongly advise against it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.