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.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s