CX-Cloning-Tool

The CX-Cloning-Tool is a command line Tool which is used to change the unique features (computer name, AmsNet-Id, SID) of the Windows XP embedded operating system in a simple and secure way.

This Tool simplyfies the deployment of Windows XP embedded operating system which have been recovered from a master-image. In this case the computer name, AmsNet-Id and SID are identical to the settings of the master-image so the devices won't work if they are attached to the same network.

Function description of the CX-Cloning-Tool:

The CX-Cloning-Tool can be used with the windows command prompt (start --> run ... , type: "cmd", press enter button)

The text below describes the function parameters of the CX-Cloning-Tool:

CX-Cloning-Tool 1:

The described function parameters are available in the CX-Cloning-Tool, version 3.1.0.14 or higher. This version of the CX-Cloning-Tools is included in the XPe operating system, since version 1.35 / 135a, for Beckhoff Embedded-PC platforms.

Combo-parameters of the CX-Cloning-Tool:

cxcloningtool –all

Windows Registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

Value of the key:

SysPropChange

Data of the value:

c:\windows\system32\cxcloningtool.exe -all

The command-line output of the CX-Cloning-Tool after the run-once-entry was successfully written in the Registry: "CXCloningTool runs after reboot"

NOTE: This function is useful for creating "master-images" for image cloning-procedures and deploying on identical hardware platforms, the unique operating system data (computer name, AmsNetId, SID) will be changed on startup after restoring the image on the target station.

cxcloningtool –ro

Basic CX-Cloning-Tool parameters:

cxcloningtool –n


cxcloningtool –a


cxcloningtool –s

Optional CX-Cloning-Tool parameters:

cxcloningtool –c


cxcloningtool –rb


cxcloningtool –rc


REG IMPORT registryDatei.reg 

CX-Cloning-Tool behaviour with Write Filter protected operating systems:

The CX-Cloning-Tool checks the operating system for an active Write Filter. If an active Write Filter was detected by the CX-Cloning-Tool no CX-Cloning-Tool command will be performed.

For more information about Write Filter (EWF, FBWF) please read the article "Write Filter concepts"

The CX-Cloning-Tool output of the error-message: "A WriteFilter is active. Please disable the Filter and restart the program!"

CX-Cloning-Tool 2:

Avoid side effects

  • Disable any active Write Filter
  • Perform CX-Cloning-Tool operation
  • Enable the Write Filter

Call the CX-Cloning-Tool with the "-ro" parameter (a run-once entry will be created) --> enable a Write Filter. At the next operating system startup the cx-cloning-tool will detect an active Write Filter and won't perfom it's operations. The run-once entry still exists in the Registry because the Write Filter prevented it from deleting. At the next startup the situation repeats.

Related articles:

Configuration of the XPE Images

This article describes the usage of the CX-Cloning-Tools to create a Master-Images for a (mass) rollout.

Write Filter Concepts

This article describes charcteristic features of the Write Filters used in windows XP embedded operating systems for Beckhoff Embedded-PC platforms