Eureka Moment Wiki

One eureka moment at the time

User Tools

Site Tools



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

Link to this comparison view

windows:shell_commands:ad_rename [2017/08/10 13:00]
windows:shell_commands:ad_rename [2019/10/31 09:06] (current)
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"​