How to change computer name remotely using Windows 7?

There is a command line tool called netdom. Unfortunately it’s not preinstalled on Windows 7. This guide will show how to add this tool to your system and how to change remote computer name.

Install netdom:

Download and install Remote Server Administration Tools for Windows 7. After successful installation type this into Windows cmd console:

start /w pkgmgr /iu:RemoteServerAdministrationTools-Roles-AD-DS-SnapIns;RemoteServerAdministrationTools-Roles-AD-DS;RemoteServerAdministrationTools-Roles-AD;RemoteServerAdministrationTools-Roles;RemoteServerAdministrationTools

Change remote computer name:

This is example netdom syntax:

netdom renamecomputer COMPUTER_NAME /newname:NEW_COMPUTER_NAME /userd:domain\user /passwordd:YourPassword /reboot:60

Reboot parameter is optional. If you don’t want to force reboot after renaming computer don’t type it.