Pre-populate domain name in Citrix Director – XenDesktop

Citrix Director URL doesn’t populate the domain name automatically for you and this can’t be done via the GUI either at least up to XenDesktop 7.1.

To achieve this, you would need to manually edit the LogOn.aspx file on the XenDesktop Delivery Controllers(at least in my case, the Director role was installed on DDCs)  If you have multiple DDCs, the change has to be made on all. Or If the Director role is installed on any other server, then the changes need to be performed on them and not the DDCs.

The LogOn.aspx file could be located at

C:\inetpub\wwwroot\Director

Open the file in Notepad ( Ensure that the Notepad file is opened as an Administrator) and Turn Off Word Wrap first. I found it easy to find what you are looking for this way. Now towards the bottom of the file, you will see the below text and you would have to insert the highlighted text after <asp:TextBox ID=”Domain”

</div>
                            <div class='indicator-bar' id='Domain-bar'></div>
                            <asp:TextBox ID="Domain" Text="MYDOMAIN" readonly="true" 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">

 

Capture

Save the file and access Director URL to confirm the changes.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.