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.

Published by

Konrad Fedorczyk

I'm interested in programming and gamedev. I especially luv HTML5 and everything connected to web technologies.

Leave a Reply

Your email address will not be published. Required fields are marked *