Sign in with
Sign up | Sign in
Your question

Can you change the computer name remotely

Last response: in Windows 7
Share
September 2, 2012 7:58:00 PM

Hello,
can you change the computer name remotely?
Regards,
m
September 2, 2012 7:58:08 PM

Hello,
can you change the computer name remotely?
Regards,
m
m
0
l
Anonymous
a b $ Windows 7
September 2, 2012 8:58:09 PM

Yes.....and No!

Depends on exact details of PC!

Is it stand alone?
Is it in a domain?

why do you ask?
m
0
l
Related resources
a b $ Windows 7
September 2, 2012 9:09:37 PM

duplicate post...
m
0
l
September 2, 2012 9:24:41 PM

Yes you can.

Take a look at the netdom command. It is part of the remote server admin tools. It is documented here:
http://technet.microsoft.com/en-us/library/cc772217(v=ws.10).aspx

The Windows 7 RSAT is available here:
http://www.microsoft.com/en-us/download/details.aspx?id...

Here is a sample command for renaming a domain-joined computer. Note that to run this command you will need a user account that is a local admin on the remote machine and that has sufficient permissions in active directory to change the computer name:

netdom renamecomputer <computer_name> /newname:<new_name> /userd:<domain>\<username with privilige to do the rename> /passwordd:<password of account> /force /reboot:120


Note that the above command will perform a reboot after 2 minutes, which may not be what you want.

Watch out for things like the password - note the switch is /passwordd, not /password.

--Russel

Edit - I initially wrote that netdom was a Sysinternals utility, but it is part of the Windows 7 RSAT.
m
0
l
a c 416 $ Windows 7
September 2, 2012 9:58:10 PM

This next topics has been merged by Area51reopened
  • Can you change the computer name remotely
    m
    0
    l
    May 15, 2014 11:59:46 AM

    what does netdom means with the following message?

    Quote:
    Certain services, such as the Certificate Authority, rely on a fixed machine
    name. If any services of this type are running on lwilson,
    then a computer name change would have an adverse impact.


    I do not understand the FIXED MACHINE NAME thing.

    Thanks.
    m
    0
    l
    June 3, 2014 8:52:47 PM

    The Fixed Machine Name is the current name of the computer. Some services use the machine name to reference resources running locally instead of using an IP address or localhost.
    For example some SQL services use the machine name for accessing their databases, so if you were to change the machine name the SQL service wouldn't know how or where the database would be any more and anything relying on the SQL service would not run correctly.
    If you do not have any services or resources that use the current machine name for referencing data locally then there should be no problem with changing the computer name.
    m
    0
    l
    !