PC Review


Reply
Thread Tools Rate Thread

Change computername and IP adress in command window

 
 
=?Utf-8?B?R0U=?=
Guest
Posts: n/a
 
      31st May 2005
Hi
Is there a comand to change computername and IP adress?
 
Reply With Quote
 
 
 
 
KM
Guest
Posts: n/a
 
      31st May 2005
GE,

> Hi
> Is there a comand to change computername and


There is no such command supported, neither there is a tool for that in XPe
Repository.
However, it is only one API call (SetComputerName[Ex]) or registry change.
So it would be easier for you to compile your own utility.
Note: reboot is required.

>IP adress?


You can use netsh. You also have a bunch of 3rd party tools to accomplish
that (e.g., ipchange).
Or you can do that with a script (WMI, etc.).

KM


 
Reply With Quote
 
=?Utf-8?B?R0U=?=
Guest
Posts: n/a
 
      3rd Jun 2005
"KM" wrote:
> There is no such command supported, neither there is a tool for that in XPe
> Repository.
> However, it is only one API call (SetComputerName[Ex]) or registry change.
> So it would be easier for you to compile your own utility.
> Note: reboot is required.


What registry change do you mean? I have found more than one registry key
that is named so.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName
If I change these keys I can ping the new computername and the old one, too.
In the computername Userinterface the old name is displayed.



 
Reply With Quote
 
KM
Guest
Posts: n/a
 
      3rd Jun 2005
GE,

> "KM" wrote:
>> There is no such command supported, neither there is a tool for that in XPe
>> Repository.
>> However, it is only one API call (SetComputerName[Ex]) or registry change.
>> So it would be easier for you to compile your own utility.
>> Note: reboot is required.

>
> What registry change do you mean? I have found more than one registry key
> that is named so.
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName
> If I change these keys I can ping the new computername and the old one, too.
> In the computername Userinterface the old name is displayed.


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName],"ComputerName"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters],"Hostname".

You need a reboot so that kernel can read the new name early enough to provide it to the interested drivers (network) and services
(server service, etc).

KM


 
Reply With Quote
 
=?Utf-8?B?R0U=?=
Guest
Posts: n/a
 
      3rd Jun 2005
Thanks it works.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CMD command \\IP_Address is not working, \\computerName will be OK ricky Windows XP Networking 6 2nd Jun 2010 10:45 AM
How to change computername Matte Microsoft Windows 2000 CMD Promt 2 17th Jul 2005 04:31 AM
Net view \\computername - Logon Failure. With IP the command succe =?Utf-8?B?S251dCBGbGVuc3RhZA==?= Microsoft Windows 2000 1 20th Apr 2005 03:00 PM
Change computername Richard Boezerooij Microsoft Windows 2000 Setup 2 24th Feb 2004 11:34 PM
when I type an adress in adress window does not go to that adress Ken Windows XP Internet Explorer 1 5th Aug 2003 06:40 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:45 PM.