When trying to start a XenDesktop 5 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.
As Provisioning Services works over IP, DNS entries are not required for any target machines to stream successfully.
To resolve this issue, complete the following procedure:
Delete any provisioned target machine DNS records from the DNS server that contains the private IP address.
Start the provisioned target machine in private mode.
Clear Register this connection’s addresses in DNS on the provisioned streaming NIC only, as displayed in the following screen shot:
Run ipconfig /flushDNS to flush out any old DNS entries on the target and the Desktop 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.
Shut down the provisioned target and return to standard image mode from private image mode.
After analyzing the issue, it was observed that the ica launch 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.