Cannot initialize PrivateArk, Please reinstall. Cannot initialize PrivateArk, Uninstall and launch PrivateArk Web Client.
Symptom
When running the PAclient or the Webclient on a Windows 8.1/10 OS the following error is displayed:
Cannot initialize PrivateArk, Please reinstall.
Cannot initialize PrivateArk, Uninstall and launch PrivateArk Web Client.
Environment
Privileged Access Manager (PAM, self-hosted) Cyber-Ark Client
Cause
To ensure this solution applies to your case, Check the following items:
- Check if the PALog.txt was created under the C:\Users\{user name}\AppData\Roaming\CyberArk\PrivateArk (Make sure to delete it if exists and check again after trying to open the client).
- If not, check if it was created under C:\Users\{user name}\AppData\VirtualStore
- The VirtualStore directory is a good indicator that this is the problem.
Note: this error can also appear if the user doesn't have read permission on the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CyberArk\PrivateArk and HKEY_CURRENT_USER\Software\CyberArk\PrivateArk
If user is not an administrator, Windows uses a virtualization feature for legacy applications that don't use manifest files.
The virtualization of the local application folder and for the registry keys might prevent the GUI-client from opening. It cannot read required values from the local file system/registry.
Resolution
To disable the option for virtualization in Windows follow these steps:
1. Open the "Local Security Policy":
Open the run window and type "secpol.msc".
2. A new window titled "Local Security Policy" should be opened.
3. On the left pane of the window, under the "Security Settings" tree, please pick "Local Policies" -> "Security Options".
4. On the right pane there should be a list of policies features.
5. Find the item named: "User Account Control: Virtualize file and registry write failures to per-user locations". Open it by double-clicking it.
6. Choose the "Disable" button.
7. Accept all changes (click OK).
8. A restart might be required.
Additional Information
Details
SYMPTOM:
When running the PAclient or the Webclient on a Windows 8.1/10 OS the following error is displayed:
Cannot initialize PrivateArk, Please reinstall.
Cannot initialize PrivateArk, Uninstall and launch PrivateArk Web Client.
Currently Windows 8.1/10 is not officially supported as OS for the PA client, however, in order to check if this solution suites your issue this is what you should check:
Check if the PALog.txt was created under the C:\Users\{user name}\AppData\Roaming\CyberArk\PrivateArk (Make sure to delete it if exists and check again after trying to open the client).
And if not, check if it was created under C:\Users\{user name}\AppData\VirtualStore
The VirtualStore directory is a good indicator that this is the problem.
Note: this error can also appear if the user doesn't have read permission on the following registry keys > HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\CyberArk\PrivateArk and HKEY_CURRENT_USER\Software\CyberArk\PrivateArk
PROBLEM:
If user is not an administrator, Windows 8.1/10 uses a virtualization feature for legacy applications that don't use manifest files.
The virtualization of the local application folder and for the registry keys might prevent the GUI-client from opening. It cannot read required values from the local file system/registry.
SOLUTION:
To disable the option for virtualization in Windows 8.1/10 follow these steps:
1. Open the "Local Security Policy":
Open the run window and type "secpol.msc".
2. A new window titled "Local Security Policy" should be opened.
3. On the left pane of the window, under the "Security Settings" tree, please pick "Local Policies" -> "Security Options".
4. On the right pane there should be a list of policies features.
5. Find the item named: "User Account Control: Virtualize file and registry write failures to per-user locations". Open it by double-clicking it.
6. Choose the "Disable" button.
7. Accept all changes (click OK).
8. A restart might be required.