Skip to main content

Rename computer

Rename a computer account (object name and sAMAccountName); the machine itself is not renamed.

Command in the Active Directory toolkit · id ooa.active_directory/rename_computer · 3 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
ComputerStringYesComputer distinguished name, or its name (with or without the trailing $).
New nameStringYesNew computer name (up to 15 characters).
SessionStringNoadSession name.

Outputs​

OutputTypeWhat it is
dnStringNew distinguished name.