FLet's start by noting that there should be an option in the Internet Information Services (IIS) application settings to set and hide the domain. It really isn't that difficult, and I don't understand why Citrix didn't do this from the start.
Here is a brief description of how to permanently set the domain and hide it in the Citrix Director login.
Find the file LogOn.aspx in SystemDrive\inetpub\wwwroot\Director in a standard installation of Microsoft IIS and Citrix Director. This is a protected folder, so you must open the file as an administrator or first copy the file to, for example, your desktop
Open the file and look for id=’Domain-bar‘ and look for 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 name and is set as the default. To hide the field, add the following: type=“hidden“
The following shows the result
<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 or copy it back and overwrite the existing file. This is all very helpful when users need to use Director to mirror other users.
|
| Director Logon without a domain field |
Note: The LogOn.aspx file is overwritten again when Director is updated, and the change must be made again.



