Friday 11 July 2014

Citrix XenApp 6.5: Error Prepare Active Directory Schema and Domain "The central store inspection failed. Refer to your Windows Event Log and product documentation for additional details"

After installing XenApp 6.5, you get to the Configuring Single Sign On stage of the installation. In the Active Directory field I manually selected one of my writable Domain Controllers. The installation fails to continue with the error “The central store inspection failed. Refer to your Windows Event Log and product documentation for additional details”.


The Single-Sign On part of XenApp 6.5 requires the Active Directory Schema and Domain to be extended. On the installation media for XenApp 6.5 in the following path D:\Support\Password_Manager\Tools there is two executables CtxSchemaPrep and CtxDomainPrep these executable call the LDIFDE tool to create the required partitions.

Open an Administrative Command Prompt and change directory to the D:\Support\Password_Manager\Tools location on the Citrix XenApp media. You use the CtxSchemaPrep command first, and it fails with LDIFDE Returned the Following Error Code: 5


If you browse to the current users root profile folder and open the lfid.log file, you will see a number of errors Insufficient Rights. I checked the Schema Master FSMO role was available and online, NetDom can be used to query the FSMO role holders.
 


netdom query fsmo


The issue was because the user account I was running CtxSchema and CtxDomainPrep from an account that was not a member of the Enterprise Admins group.



I also used the following command to register the Schema.


regsvr32.exe schmmgmt.dll


 
Retried the CtxSchemaPrep first and it completed successfully.
 
Retried the CtxDomainPrep first and it completed successfully.
 
You should now be able to continue with the installation of XenApp 6.5