Tag Archives: xenapp

After Performing a DSMAINT /RECREATELHC the IMAService Does Not Start


After running a DSMAINT /RECREATLHC on a XenApp server, the IMAService  does not restart.  Error messages in the log indicate the following:

EventID 3609 IMAService

Failed to load plugin MfSrvSs.dll with error IMA_RESULT_REGISTRY_ERROR

EventID 3601 IMAService

Failed to load initial plugins with error IMA_RESULT_REGISTRY_ERROR

EventID 7024 Service Control Manager

The Independent Management Architecture service terminated with service-specific error 2147483690 (0x8000002A).


Make the following change to the registry:



The IMAService should now start normally.





Attempt to Boot PVS Target with BDM ISO Results in “No ARP Reply”

I recently ran into a problem booting a provisioned XenApp target using Provisioning Services 6.1. The target was set to boot a maintenance version of a known good vDisk. The resulting error was “No ARP Reply”.


This target was using a BDM .iso boot configuration, running under XenServer 6.02, and we were using Provisioning Server 6.1 with all latest available hotfixes.

If this same target was set to boot a Production/Testing version of the image, it would boot fine. At first it seemed the obvious problem was that there was a problem with the associated .avhd, but this exact problem was able to be replicated using another target device, and another .vhd image altogether.

It appears this may be a bug in the Provisioning Server 6.x product, but this problem can be worked around by adding the following registry entry on all your Provisioning Servers:

HKLM\Software\Citrix\ProvisioningServices\SkipBootMenu [DWORD]

Value Behavior

  • 0 Not Defined, normal behavior (default)
  • 1 Don’t send a boot menu to device. Automatically pick the first item that would been on menu and act as if it was the only version assigned, ignoring the device type.
This will eliminate the boot menu altogether, so may only be a usable workaround if this menu is not required in your environment.

Citrix also states that another client worked around this by using PXE instead of BDM.



How to Save Access Management Console Settings



You have installed the Access Management Console (AMC) on a Citrix server, or a management PC, and wish to save the settings.   By default, you have to reconfigure it each time it's run.


To improve efficiency and minimize per-user configuration, you can modify this behavior. The following steps outline the process required to deliver a preconfigured and discovered console to support personnel such as help desk analysts.

1. On a XenApp server, run mmc.exe (for 64-bit, use mmc /32 so you bring up the 32-bit version if the MMC). Under the File menu, select Add/Remove Snap-in.

2. Within the Add/Remove Snap-in dialog, click Add. Select Citrix Access Management Console and then click Add, Close, and OK.

3. Within the Microsoft Management Console (MMC) tree, expand the Citrix Access Management Console node. The discovery wizard should launch, however if it does not, right-click on the node and select Configure and run discovery.

4. Complete the discovery wizard as applicable, but specify LOCALHOST as the Citrix XenApp Server to discover, if you intend to manage a XenApp farm.

5. Once the discovery wizard has completed, under the File menu within the MMC, select Options. In the Options dialog, under the Console mode dropdown, select User mode – limited access, single window. Leave the rest of the options unchanged and click OK.

6. Save the modified MMC window using the Save As option in the File menu. You can choose any name and location. For example, custom_amc.msc.

7. To deliver your custom Access Management Console to your administrators, copy the MSC file saved in step 6 to your desired XenApp server. Publish the console using the publish application wizard. The command line path should be as follows:

<WINDIR>\System32\mmc.exe “<path>\custom_amc.msc

Where <path> is the location to which you copied the custom_amc.msc file.

More Information:

CTX114692 – The Access Management Console Discovery Process Runs Each Time the Access Management Console Opens
CTX115866 – How to Customize the Access Management Console



Useful XenApp 6 Hotfix & Patch Resources


There are a lot of followup hotfixes and patches for XenApp 6.0.   If you are unable to upgrade to XenApp 6.5, here are some very useful links for XenApp 6.0.

These links include necessary hotfixes, patches, and update scripts.


Various Sources Regarding Maintenance @ Citrix Links

Great Resources from Thomas Koetzing, including an automatic XenApp Update Script

Recommended Citrix and Microsoft Hotfixes for XenApp 6 and Windows Server 2008 R2



XenApp IMAService Failed: "Error while connecting to database….login failed"



IMAService fails to start with the following error:

Citrix XenApp failed to connect to the Data Store. ODBC error while connecting to the database: 37000 -> [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "MF20" requested by the login. The login failed.


Check to see if account used to connect to SQL database credentials/password has recently changed. This may be a username/password issue.

To input new credentials on server, execute the following command:

DSMAINT CONFIG /USER:<domain>\<username> /pwd:<password>

After executing this command, restart the IMA service on the XenApp server, and re-check services.



Screen Flicker in Internet Explorer within XenDesktop Sessions



When scrolling and doing mouse-overs in Internet Explorer (IE) frames or pages, within a Windows XP XenDesktop session, screen flicker is seen.



You need to enable the following key in the registry:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main

Value Name: "Force Offscreen Composition"

Data Type: DWORD

Value: 1

The following registry tweak forces off screen composition within Microsoft Internet Explorer 5 and above. This tweak will prevent against screen flicker when you view a web page that contains animated content.

For more information, see the following Citrix article: