clone OS problem

G

Guest

I clone my XP embedded OS by using ghost2k3 to couple Compact Flash cards, but I find out that all OS have the same computer name. How can I change the computer name? in registry or other place? I spend couple days on this problem and I still don't get any idea. thanks for any suggestion
thank

Alger
 
K

KM

Alger,

If you don't have System Cloning Tool component in you image, you may want
to leave blank the computer name field (System Identification settings) of
HAL (PC) component in your configuration. Then a unique name is generated
for each computer or device during the first boot of the image.

If you do, read more about the XPe cloning process:
http://msdn.microsoft.com/library/en-us/xpehelp/html/xeconCloning.asp. Make
sure the cmiGenerateComputerName extended property of the component is set
to 1.

Another way of fixing the computer name (e.g., if you don't want to rebuild
the image) would be in calling SetComputerNameEx API or setting the
follwoign registry directly:
[HKLM\SYSTEM\ControlSet001\Control\ComputerName\ComputerName],"ComputerName"
(REG_SZ). And also, if your device is on a network,
[HKLM\SYSTEM\ControlSet001\Services\Tcpip\Parameters],"Hostname" (REG_SZ).
However, you will have to make sure SIDs are unique per device
(http://www.sysinternals.com/ntw2k/source/newsid.shtml).

KM
I clone my XP embedded OS by using ghost2k3 to couple Compact Flash cards,
but I find out that all OS have the same computer name. How can I change the
computer name? in registry or other place? I spend couple days on this
problem and I still don't get any idea. thanks for any suggestion.
 
A

Alexander Suhovey

I can add that NewSID from Sysinternals can also set change computer name as
well as SID.

KM said:
Alger,

If you don't have System Cloning Tool component in you image, you may want
to leave blank the computer name field (System Identification settings) of
HAL (PC) component in your configuration. Then a unique name is generated
for each computer or device during the first boot of the image.

If you do, read more about the XPe cloning process:
http://msdn.microsoft.com/library/en-us/xpehelp/html/xeconCloning.asp. Make
sure the cmiGenerateComputerName extended property of the component is set
to 1.

Another way of fixing the computer name (e.g., if you don't want to rebuild
the image) would be in calling SetComputerNameEx API or setting the
follwoign registry directly:
[HKLM\SYSTEM\ControlSet001\Control\ComputerName\ComputerName],"ComputerName"
(REG_SZ). And also, if your device is on a network,
[HKLM\SYSTEM\ControlSet001\Services\Tcpip\Parameters],"Hostname" (REG_SZ).
However, you will have to make sure SIDs are unique per device
(http://www.sysinternals.com/ntw2k/source/newsid.shtml).

KM
I clone my XP embedded OS by using ghost2k3 to couple Compact Flash
cards,
but I find out that all OS have the same computer name. How can I change the
computer name? in registry or other place? I spend couple days on this
problem and I still don't get any idea. thanks for any suggestion.
thanks

Alger
 
K

KM

Alexander,

Yes, you are right.

Although, I sometimes prefer to write my own tool (code) even to duplicate some known utilities functions. Then it is easier to
distribute my code than somebody's else.

--
Regards,
KM, BSquare Corp.

I can add that NewSID from Sysinternals can also set change computer name as
well as SID.

KM said:
Alger,

If you don't have System Cloning Tool component in you image, you may want
to leave blank the computer name field (System Identification settings) of
HAL (PC) component in your configuration. Then a unique name is generated
for each computer or device during the first boot of the image.

If you do, read more about the XPe cloning process:
http://msdn.microsoft.com/library/en-us/xpehelp/html/xeconCloning.asp. Make
sure the cmiGenerateComputerName extended property of the component is set
to 1.

Another way of fixing the computer name (e.g., if you don't want to rebuild
the image) would be in calling SetComputerNameEx API or setting the
follwoign registry directly:
[HKLM\SYSTEM\ControlSet001\Control\ComputerName\ComputerName],"ComputerName"
(REG_SZ). And also, if your device is on a network,
[HKLM\SYSTEM\ControlSet001\Services\Tcpip\Parameters],"Hostname" (REG_SZ).
However, you will have to make sure SIDs are unique per device
(http://www.sysinternals.com/ntw2k/source/newsid.shtml).

KM
I clone my XP embedded OS by using ghost2k3 to couple Compact Flash
cards,
but I find out that all OS have the same computer name. How can I change the
computer name? in registry or other place? I spend couple days on this
problem and I still don't get any idea. thanks for any suggestion.
thanks

Alger
 
A

Alexander Suhovey

Totally agree.
BTW nice tip on changing computer/host name through registry editing...

Al.

KM said:
Alexander,

Yes, you are right.

Although, I sometimes prefer to write my own tool (code) even to duplicate
some known utilities functions. Then it is easier to
distribute my code than somebody's else.

--
Regards,
KM, BSquare Corp.

I can add that NewSID from Sysinternals can also set change computer name as
well as SID.

KM said:
Alger,

If you don't have System Cloning Tool component in you image, you may want
to leave blank the computer name field (System Identification settings) of
HAL (PC) component in your configuration. Then a unique name is generated
for each computer or device during the first boot of the image.

If you do, read more about the XPe cloning process:
http://msdn.microsoft.com/library/en-us/xpehelp/html/xeconCloning.asp. Make
sure the cmiGenerateComputerName extended property of the component is set
to 1.

Another way of fixing the computer name (e.g., if you don't want to rebuild
the image) would be in calling SetComputerNameEx API or setting the
follwoign registry directly:
[HKLM\SYSTEM\ControlSet001\Control\ComputerName\ComputerName],"ComputerName"
(REG_SZ). And also, if your device is on a network,
[HKLM\SYSTEM\ControlSet001\Services\Tcpip\Parameters],"Hostname" (REG_SZ).
However, you will have to make sure SIDs are unique per device
(http://www.sysinternals.com/ntw2k/source/newsid.shtml).

KM

I clone my XP embedded OS by using ghost2k3 to couple Compact Flash cards,
but I find out that all OS have the same computer name. How can I
change
the
computer name? in registry or other place? I spend couple days on this
problem and I still don't get any idea. thanks for any suggestion.
thanks

Alger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top