windows:shell_commands:ad_rename

Differences

This shows you the differences between two versions of the page.


windows:shell_commands:ad_rename [2019/10/31 09:06] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
 +====== Rename remote AD member from ADDC ====== 
 +<code bash> 
 +netdom renamecomputer ComputerName /NewName:NewComputerName /userd:domainadmin /Passwordd:domainadminspassword /Force 
 +psexec.exe \\REMOTECOMPUTER net config server /srvcomment:"DESCRIPTION" 
 +</code>