ALERT! The community will be read-only starting on April 19, 8am Pacific as the migration begins. Read more for important details.
ALERT! The community will be read-only starting on April 19, 8am Pacific as the migration begins.Read more for important details.
Absent Member.. Absent Member..
Absent Member..
2753 views

LR Support Tip: The Citrix Registry patch failed to installed. Reason:Access is denied.

While replaying a Citrix script, the replay fails due to the error

"Error: The Citrix Registry patch failed to installed. Reason:Access is denied.
You need to install the following registry patch manually:<Loadrunner installation folder>\dat\Enable_Citrix_API.reg. Double click the file to install the registry patch."

 

 

The issue is due to no entry was made for VirtualChannels and AllowSimulationAPI in Wow6432Node\citrix Node of registry.

 By default, registry entries for 32 bit clients on 64-bit OS will be done in Wow6432Node.

 

 

 

Follow the steps to fix the issue:

1. Right click on the Enable_Citrix_API.reg located under <LR Install Dir>/dat folder and select Edit.

2. Modify the Entries HKEY_LOCAL_MACHINE\SOFTWARE\Citrix to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix which forces the entries for 32 bit clients on 64-bit OS.

 Example:

Before Modifitication:

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC]

"VirtualChannels"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\CCM]
"AllowSimulationAPI"=dword:00000001

After Modifitcation:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix \ICA Client\Engine\Lockdown Profiles\All Regions\Lockdown\Virtual Channels\Third Party\CustomVC]

"VirtualChannels"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\ICA Client\CCM]
"AllowSimulationAPI"=dword:00000001

2 Replies
Absent Member.
Absent Member.

Hi Experts,

We are using LR version 12.53 and face same issue after making all the changes mentioned below.

The exact error message we get is:

Error: The Citrix registry patch failed to install. Reason: Error: The Citrix registry patch failed to install. Reason: Access is denied.

You need to install the following registry patch manually: <LoadRunner installation folder>\dat\Enable_Citrix_API.reg. Double-click the file to install the registry patch. You need to install the following registry patch manually: <LoadRunner installation folder>\dat\Enable_Citrix_API.reg. Double-click the file to install the registry patch.

Error: This environment is not ready to record/replay Citrix scripts

Warning: Extension CitrixClientImpl.dll reports error -1 on call to function ExtPerProcessInitialize

Error: Thread Context: Call to service of the driver failed, reason - thread context wasn't initialized on this thread.

 

Please let me know in case you faced similar issues earlier.

Thanks,

Rach

 

 

 

 

0 Likes
Absent Member.. Absent Member..
Absent Member..

After doing the modification also same error is coming

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.