Desktop Director – How to Pre-populate Domain Name for Logon Page

//Desktop Director – How to Pre-populate Domain Name for Logon Page

Desktop Director – How to Pre-populate Domain Name for Logon Page

Share this post

Desktop Director is a very useful tool, however, there is one very serious drawback, which cannot be overlooked. Every time when user log in, a domain name must be entered manually. 

Unilke StoreFront or WebInterface, in Desktop Director we cannot use gui to configure the logon domain – there is no such option at all. Using metod described below we can automatically pre-populate domain name for Citrix Director logon page to simplify logon process.


Citrix Director must be installed and we must have full access to the path: C:\inetpub\wwwroot\Director


1. Log in to the server console where Desktop Director is installed and navigate to folder C:\inetpub\wwwroot\Director

2. Make a copy of LogOn.aspx file

3. Edit LogOn.aspx file.

4. Look for a line starting from: <asp:TextBox ID=”Domain”
 Figure 1

Figure 1

5. Replace
<asp:TextBox ID=”Domain” runat=”server” CssClass=”text-box” ></asp:TextBox>
<asp:TextBox ID=”Domain” Text=”Domain.local” readonly=”true” runat=”server” CssClass=”text-box”></asp:TextBox>
Where domain.local is your actual domain. In my case I use LAB as a domain name.
 Figure 2

Figure 2

6. Start Director.
 Figure 3

Figure 3

7. Repeat this procedure on all servers installed with Desktop Director

Note: In Desktop Director delivered with XenDesktop and XenApp 7.6 domain name is already included.


By | 2016-12-18T19:21:35+00:00 March 4th, 2014|XenDesktop|9 Comments

About the Author:

I’m a Citrix Architect with 17 years experience in Microsoft and Citrix infrastructure. I have been working with Citrix since Metaframe 1.8 and my primary focus is on Server, Desktop and Application virtualisation with a preference for Citrix products. I’m an enthusiast of Citrix XenDesktop and Provisioning Server.


  1. Ben March 5, 2014 at 5:22 pm - Reply

    Andrzej, Good and helpful article. Thank you for this.

  2. topokin September 22, 2014 at 8:25 am - Reply

    Made the changes but got “An Internal error has occured. For assistance, contact your administrator”

    What could have gone wrong?

    • Andrzej Gołębiowski September 22, 2014 at 8:35 am - Reply

      Restore the original file from the backup and make sure that you made the modification to the proper line.

      • topokin September 22, 2014 at 8:51 am - Reply

        I already tried again and now working. Don’t know what might have gone wrong with the earlier changes.


  3. zoph April 15, 2015 at 4:50 pm - Reply

    readonly=yes seems to be incorrect now with lastest versions of Director.

    If i put this markup, i got error.

  4. sathiskumar July 18, 2015 at 8:21 am - Reply

    What is the default user name and password Xen App 7.6 Director Desktop.

  5. Wojtek October 21, 2015 at 1:00 pm - Reply

    Hey, any idea how to turn this textbox to dropdown list with couple of domains in it ?

  6. Jim March 28, 2017 at 8:53 pm - Reply

    I also had the “internal error” problem. For me it was the quotes around the domain name and around True – I deleted them in notepad and added them back in manually and it then worked.
    I’ve tested the file with ReadOnly = “True” and without it – doesn’t seem to make a difference so I left it off

Leave A Comment

To protect our website from spam. * Time limit is exhausted. Please reload the CAPTCHA.