Showing posts with label rename remotely.. Show all posts
Showing posts with label rename remotely.. Show all posts

Friday, August 25, 2017

Remotely rename computer in windows domain.

run from cli:

netdom renamecomputer old_name  /newname:new_name  /userd:domain_admin_login  /passwordd:domain_admin_pwd

computer will be renamed after restart. If add /reboot:10 computer will be forsibly rebooted after 10 seconds.