Error: The connection to Windows Desktop failed with status 1030

Error: The connection to Windows Desktop failed with status 1030

book

Article ID: CTX135009

calendar_today

Updated On:

Description

When trying to start a XenDesktop session, it fails with the following error message:

"The connection to ‘Windows 7 Desktop’ failed with status 1030"

Note: The 1030 message is a generic network error indicating that connection has failed.

Resolution

As Provisioning Services works over IP, the DNS entries are not required for any target machines to stream successfully.

To resolve this issue, complete the following procedure:

  1. Delete any provisioned target machine DNS records from the DNS server that contains private IP address.

  2. Start the provisioned target machine in Private mode.

  3. Clear Register this connection’s addresses in DNS on the provisioned streaming NIC only, as displayed in the following screen shot.

    User-added image

  1. Run ipconfig /flushDNS to remove any old DNS entries on the target and the Delivery Controller (Controller).

    Ensure that the Controller is reachable from the provisioned target on the first NIC address and same the other way round with the correct IP address.

  1. Shut down the provisioned target and return to Standard Image mode from Private Image mode.

The provisioned targets must now register using the correct IP address of the first NIC.

Problem Cause

After analyzing the issue, it was observed that the launch.ica file for the XenDesktop session appeared to contain a non-routable address. After verifying with the customer, it was confirmed that the address belongs to a secondary NIC on XenDesktop virtual machine that is used for streaming the image using Citrix Provisioning Services.

This happened because the secondary NIC with a private address on the provisioned target machine was registered with the DNS server.

Issue/Introduction

This article provides a resolution to the following error message: "Error: The connection to Windows 7 Desktop failed with status 1030"