Wednesday, 8 June 2016

Citrix Error: The current user does not appear to be the member of an Active Directory domain. Studio cannot be run by a local user.

We've recently run into an error when testing our XenDesktop automated documentation tool.



"The current user does not appear to be the member of an Active Directory domain. Studio cannot be run by a local user."


 This is strange as we checked and the currently logged on user is a member of the domain and accessing \\domaincontroller works correctly.

The event log reports the following.

 The Citrix Broker Service failed to initialize. The service will attempt to initialize again in approximately 1 minute(s). See Citrix Knowledge Base article CTX126990.

Error details:
Exception 'Failed to get the local computer AD object DN' of type 'Citrix.Fma.Sdk.ActiveDirectory.ADFailedToGetLocalComputerDNException'.

We immediately assumed that this is a Citrix problem.  Sorry Citrix but it wasn't. We quickly installed the Active Directory Users and Computers tool on the Citrix server.


Running the following commands on the Citrix server had the following results
nslookup domain [works]
nslookup domaincontroller.domain [works]
ping domaincontroller.domain [Fails]

This is very strange as nslookup works but ping doesn't.

We eventually fixed the problem  by resetting the TCP/IP settings using the following command
netsh int ip reset c:\resetlog.txt

More details are in this article.
https://support.microsoft.com/en-gb/kb/299357

You then have to re-enter any static IP addresses and then everything works.















1 comment:

  1. Thank you Thank you Thank you!!!! Just ran into this problem and found this with a quick search, fixed it right up!

    ReplyDelete