Let's start with there should be an Option in the Internet Information Service (IIS) application settings to set the default domain and hide the entry. It's really not that hard, so I don unterstand why Citrix isn't doing it.

Here a short description how to permanantly set your domain and then hide the domain filed from the Citrix Director logon page. 

Find the LogOn.aspx in SystemDrive\inetpub\wwwroot\Director for a default installation of Microsoft IIS and Citrix Director. This is a protected folder and therefore you must open it as administator or you copy the file to the desktop first.

Open the file and search for id='Domain-bar' and find the following around line 449:

<div class='indicator-bar' id='Domain-bar'></div>
  <asp:TextBox ID="Domain" runat="server" CssClass="text-box" onfocus="showIndicator(this);" 
     onblur="hideIndicator(this);"></asp:TextBox> <br/>
  <asp:Panel runat="server" class="error eight" ID="Failure" Visible="False">
<div class='error-text'>


You need to add Text="MyDomain" where MyDomain is your domain and set's it as default. To hide the entire domain field add type="hidden"

The following Shows the result

<div class='indicator-bar' id='Domain-bar'></div>
  <asp:TextBox ID="Domain" Text="MyDOMAIN" type="hidden" runat="server" CssClass="text-box" onfocus="showIndicator(this);" 
     onblur="hideIndicator(this);"></asp:TextBox> <br/>
  <asp:Panel runat="server" class="error eight" ID="Failure" Visible="False">
<div class='error-text'>

 

Save the file and or copy it back to the origin and overwrite the existing file. That's it but very helpful when you allow user to shadow other users using Director.

No logon domain field 
Director Logon without the domain field
 

Note: Be aware that the LogOn.aspx file will be overwritten, if you update Citrix Director.

 


Add comment