XenApp 6_5 for Windows Server 2008 R2,XenApp 6_0 for Windows Server 2008 R2
This article contains the steps to change or modify the XML port in XenApp 6.0 and 6.5.


This article describes how to??change the XML port in XenApp 6.0 and 6.5.


The Citrix Delivery Services Console (or Citrix AppCenter for 6.5) must be installed, and a user account with Citrix Administrator privileges must be used.


The commands (ctxxmlss) to unregister the XML port and to reregister the XML port have not changed and can still be used as described in the Instructions.
In addition, you must set the new XML service port policy in the Citrix GPO settings as shown in the screen shots.

Note: The XML service port policy is a Computer policy and must also be set, even if the ctxxmlss command is successfully completed and states that the XML port is changed.


Complete the following steps to change the XML port:

  1. Stop the Citrix XML service.
  2. Run the following command to un-register the current XML port:

ctxxmlss /U

Note: To ensure the command was successful, go to services and verify that the Citrix XML service is no longer listed. If it is still listed, refresh the window.
  1. Run the following command to register the new XML port:
ctxxmlss /R****

Note: The *** (asterisks) represent the new port you want to use. To ensure the command was successful, go to services and verify that the Citrix XML service is now present again.

  1. Start the Citrix XML Service.

  2. Open the Citrix Delivery Services Console (or Citrix AppCenter), and expand the Farm that contains the server. Select the Policies, and click Computer.

    User-added image

  1. Edit the current Unfiltered policy, or create a new policy.
If you create a new policy, name it and click Next. If you are editing a current policy, select it and edit.
  1. Select All Settings under the categories section, and scroll to the bottom of the list (on the right-side) and find XML service port.
  2. Select XML service port.

    • If the hyperlink shows Add, no value has been specified. Click the Hyperlink, specify the new port, and click OK.
    • If the Hyperlink shows Edit, a value has already been set. Click the Hyperlink, update the value to the new port, and click OK.??

      User-added image
  3. Click Next to configure when the changes must be applied and then click Next. Select the option to enable the policy and click Save.
Note: You can either add a Worker Group Filter, or if you want this setting to be applied to all servers, do not configure a filter at all.
  1. Run the Gpupdate command from the command prompt, or wait until it refreshes after 90 seconds to enforce the change.

  2. Verify the XML port in the registry as shown in the following screen shot; under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CtxHttp

    User-added image


Join the conversation

Citrix Discussions

Open a case

Citrix Support