Monthly Archives: April 2012

Getting rid of the ‘Internet Explorer Enhanced Security Configuration is enabled’ page when publishing IE through XenApp

Environment: Citrix XenApp 6.5, Windows Server 2008 R2, Internet Explorer 8.

Scenario: you published IE as a XenApp application, you turned IESEC off through GPOs (or through the Server Manager) and you configured a default home page for all users through a GPOs.

Problem description: at their first logon, your users get the ‘res://iesetup.dll/HardAdmin.htm’ start page which says something like ‘Internet Explorer Enhanced Security Configuration is enabled’. You don’t understand why this happens as you are sure you correctly set the default home page and disabled IESEC. Anyway, when users log on a second time they see their correct home page. This problem might be very annoying when every user has a local profile which is deleted and then needs to be recreated each time.

Problem cause: this problem happens if you disable IESEC after installing XenApp and enabling Remote Desktop Services, in fact, when you do so, the NTUSER.DAT file located in the Default User folder retains some settings that bring you to the ‘res://iesetup.dll/HardAdmin.htm’ on your first logon.

Problem resolution: to avoid this problem disable IESEC before installing XenApp. If it’s too late and you have already installed XenApp without disabling IESEC first, you can replace the NTUSER.DAT file located in the Default User folder with a correct one; to do so follow step #4 described in this Microsoft article: http://support.microsoft.com/kb/933991

Upgrading Citrix Receiver from version 3.1 to 3.2 prevents Windows Aero in XenDesktop to work

Environment: Citrix Receiver 3.1, Citrix XenDesktop 5.6.

Problem description: if you install the new Receiver 3.2 as an upgrade of Receiver 3.1 your Windows Aero themes in XenDesktop will not work anymore.

Problem cause: after the upgrade the vd3dn.dll file is missing from the ICA Client directory.

Problem resolution: to solve the issue uninstall Receiver 3.1 before installing Receiver 3.2; do not perform an upgrade.

Solving ‘BOOTMGR is missing’ error when importing a vDisk in Provisioning Services

Environment: Citrix Provisioning Services 5.6 SP2, VMware ESX 4

 

Problem description: when using the Provisioning Services Imaging Wizard in order to import a vDisk into the PvS server you might encounter the following error when rebooting the machine in order to complete the process:

You get the following message:

clip_image002

You reboot, the PXE works correctly but you get the following error and the boot process stops:

BOOTMGR is missing

Press CTRL+ALT+DEL to reboot

 

Problem cause: apparently the vDisk has to use position 0:0 in the virtual machine; if you have other virtual disks that occupy this position you will likely get the error.

 

Problem resolution: free up position 0:0 in the Virtual Device Node section of the Virtual Machine Properties; to do so just move the existing disks to any other position (e.g. 0:1, 0:2):

image

Citrix Desktop Director error 102 may be related to XD Controller proxy settings (SOLVED)

Environment:  XenDesktop 5.6, Windows 7 x32, Desktop Director 2.1.1

 

Problem description: when accessing your Desktop Director console and looking for virtual desktop information you may run into the following error:

image

You followed articles http://support.citrix.com/article/CTX131197 and http://support.citrix.com/article/CTX125243, you correctly installed the VDA and configured user permissions but the problem is still there…

If you run Winrm id -r:MACHINENAME on your Controller in order to get WinRM information from your desktop you get the following error:

The WSMan client cannot process the request. Proxy is not supported under HTTP transport. Change the transport to HTTPS and specify valid proxy information and try again.

Error number: –2147024891 0x80070005

Access is denied.

There are several forums and articles on the Net that  address the 102 error but none of them refers to this specific issue.

 

Problem cause: the problem might be caused by your proxy configuration which prevents WSMan to contact the client.

 

Problem resolution: reset proxy settings by deleting this value: “WinHttpSettings” from the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\WinHttpSettings

Run the command again and you should get the correct info form the desktop. Now your Desktop Director console should work as intended.

 

For more info on how to troubleshoot WinRM give a look at: http://blogs.technet.com/b/jonjor/archive/2009/01/09/winrm-windows-remote-management-troubleshooting.aspx

Receiver StoreFront 1.0 POC – Step by Step Quick Guide

This article will show how to quickly create a StoreFront 1.0 Proof Of Concept.

As per Citrix eDocs:

“Receiver Storefront provides authentication and resource delivery infrastructure for Citrix Receiver, enabling you to create centralized enterprise stores to deliver desktops, applications, and other services to users on any device, anywhere.”

Source: Citrix eDocs

The StoreFront is a component of the new Citrix CloudGateway Express and Enterprise infrastructures; it provides authentication and content delivery (XenApp apps, XenDesktop desktops, SaaS…) to Citrix Receivers for any device and platform.

StoreFront will be the replacement of what we now call the Web Interface; indeed, the WI should be replaced by all customers by 2015. StoreFront gives users the opportunity to choose which applications to have in their ‘home page’. Such information are stored in the StoreFront DB and roam along with users between different devices and OSs. In this way, users will have their settings following them on every device, everywhere.

This article is intended to show how to quickly create a POC and not how to install it in a production environment.

This Guide is divided into three parts:

  • 1 – StoreFront Installation;
  • 2 – StoreFtont Configuration – HTTP;
  • 3 – StoreFtont Configuration – HTTPS.

As you might know, by default the latest Citrix Receiver will not connect to a non-secure service site, that’s why I included the HTTPS configuration part. Anyway, if you are interested in allowing http access instead of https, you can give a look at this article: geekshangout.com.

1 – StoreFront Installation

Prerequisites: the most important prerequisite is SQL Express, for the others take a look at Citrix eDocs!

1) First of all download the software installer from Citrix.com and save it on your server;

image

2) Double click on the icon, accept the license agreement and click Next:

image

image

image

3) The IIS role will be installed automatically, click Next and then Install:

image

image

image

image

4) Click on Finish when the installation completes, you will be redirected to the Citrix Receiver StoreFront Console.

 

2 – StoreFront Configuration – HTTP

We will now go through the configuration of StoreFront as an HTTP site;

1) In the console select ‘Deploy a single server’:

image

2) Type in the server URL you want to use and click Create:

image

3) Now we have to create an authentication service for the site, to do that click Create Service in the Authentication box:

image

4) Select the authentication method you want to use and click Create:

image

image

5) Now we have to create a store for the site, which is a container of applications and desktops; click on Create Store and enter the name you wish to use:

image

image

6) Now enter the information of the XenApp or XenDesktop farms you want to configure and click on Create; if you need to, you can add more farms later:

image

image

7) Now click on Create Site in the ‘Receiver for Web’ box in order to create a ‘Web Site’ which will provide the ‘Web Receiver’ feature to users:

image

8) Click on the link provided to see the web receiver page and then on finish. Your site is now alive!

image

image

9) Insert your User name and Password and Log On:

image

image

10) Click on Add Apps and chose the applications/desktops you want to have on your personal page:

image

image

11) On your home page you will see the apps you chose, just click on one of them to launch it!

12) From this page you can automatically activate (that is, configure) the receiver installed on your device; to do that click on the ‘Activate Citrix Receiver for your Desktop’ and select Activate:

image

image

13) Click open on the IE alert:

image

This is the content of the file:

 

<?xml version=”1.0″ encoding=”utf-8″?>

<Services version=”1.0″ xmlns=”http://www.citrix.com/ServiceRecord”>

<Service type=”store”>

<SRID>3842074174</SRID>

<Name>Your DesktApp Desktop</Name>

<Address>http://cg01/Citrix/YourDesktAppDesktop/discovery</Address>

</Service>

</Services>

 

It’s actually an XML file which instructs the Citrix Receiver on how to connect to the store.

 

3 – StoreFront Configuration – HTTPS

We will now go through the configuration of StoreFront as an HTTPS site. In order to do that, you have to bind the HTTPS protocol (along with a valid server certificate) to your Default Web Site in the IIS management console. Once that is done, you can proceed with the following tasks (which are exactly the same as for the HTTP configuration):

1) Start the deployment process and choose ‘Deploy a single server’:

image

2) Then create the authentication service:

image

image

image

3) Then create the store:

image

image

image

4) And then the HTTPS web site:

image

image

image

Your site is now configured to be accessed through HTTPS!!!

XenDesktop 5.6 POC – Step by Step Quick Guide

This article will show how to quickly create a XenDesktop 5.6 Proof Of Concept.

In this environment we will use XenServer 6 and the Citrix Machine Creation Service (and not Provisioning Services) in order to create and manage virtual desktops, see The Citrix Blog for more information about Machine Creation Service.

First of all, take a look at this link for the System Requirements.

The process can be divided into three parts:

  • 1 – Windows 7 (or XP) image preparation;
  • 2 – XenDesktop Installation;
  • 3 – XenDesktop Configuration.

 

1 – Windows 7 (or XP) image preparation

These are the major steps to consider when preparing the client image:

  • Install a Windows 7 virtual machine;
  • Install XenServer tools (or HyperV or VMWare tools) on it;
  • Join it to your domain;
  • Install any application you want to provide with your desktop;
  • Install the Citrix Virtual Desktop Agent; here’s how to do it:

Virtual Desktop Agent installation:

1) Insert the XenDesktop DVD into the virtual machine and click on Install Virtual Desktop Agent:

2) Select Quick Deploy, accept the License Agreement and the click on Install:

3) The installation will start; click Close when it ends and let the machine reboot:

The client is ready, now you can install XenDesktop 5.6.

 

2 – XenDesktop Installation

Now we will install the server components required to run the POC. As it will be a small demonstration environment, we will install all components in one single server.

1) Insert the XenDesktop 5.6 DVD into your Windows 2008 R2 server, select Install XenDesktop, accept the License Agreement and click Next:

2) Select the components to install and click Next. We will select all components, including SQL Server Express:

3) If you have the Windows firewall enabled, the installer will ask you the permission to open the License server ports, otherwise, if you use another firewall or even none at all, it will ask you to open the License server ports yourself (in my case no firewall is configured); click Next and then Install in the installation Summary:

4) The installation will begin. Once it will be completed, click on Close. The Desktop Studio console will start, from there you will be able to configure your POC environment:

 

3 – XenDesktop Configuration

We can now start the configuration.

1) In the Desktop Studio console click Quick Deploy, then enter the name of your site an the Hypervisor information, in my environment I use XenServer 6:

2) Select the Hypervisor’s network and storage that should be used by your virtual desktops. Then choose the virtual machine you want to use as the base image for your future virtual desktops, that is, the machine we created at the beginning of the guide:

3) Now you can choose how many virtual desktops you want to create and their hardware; furthermore, you can choose in which Active Directory OU the computer accounts will be created:

4) Once done click on Next and choose the users or groups that should be able to access these desktops:

5) In the Summary window click Finish and the machine creation process will start:

You can see how the disk images for your desktops are created in the XenServer storage:

In the Hypervisor console you will see the new desktops along with their disks:

6) Click Close in the Quick Deploy window and you will be redirected to the Desktop Studio console, you will see that the web interface is automatically configured with a default website for your desktops:

7) Connect to the web interface with your browser; the web interface will automatically detect whether you have the Citrix Receiver or not, if not, it will ask you to install it:

8 ) Click on install and run the Receiver installation. After the installation completes, you will be redirected to the logon page where you will add your user name and password:

9) You will see the desktop published for you:

10) Just click on the icon and the connection will start:

Your Virtual Desktops are now ready!!!

Now you can start playing with policies, catalogs, assignments and so on…