Office applications cannot start following the installation of PrivateArk Client on machines with MS-Office 64bit

Office applications cannot start following the installation of PrivateArk Client on machines with MS-Office 64bit

101
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 12:59 PM


Symptom


MS-Office applications cannot start with the following error message after the installation of PrivateArk Client:
 
Compile error in hidden module: PrivateArkReturnToSafe. This error commonly occurs when code is incompatible with the version, platform, or architecture of this application. Click "Help" for information on how to correct this error.


Environment


10.5;10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault PAM

Cause


PrivateArk Client installation deploys Office Extensions which are not supported on Office 64bit (Note: Windows 64bit is supported, but only with the 32bit version of MS-Office). If PrivateArk Client was installed using the Typical option (which includes Office extensions component) on a machine with an unsupported Office version, the extensions will still be deployed and may cause Office applications not to start.


Resolution


Apply the following in order to work-around the issue:
  1. Close all the office applications.
  2. Configure File Explorer to show hidden files.
  3. Delete the following files (please note that these files are hidden): 
  • Under MS-Office folder (i.e: C:\Program Files\Microsoft Office\OFFICE11): 
    • Startup\PrivateArk.dot 
    • XLStart\PrivateArk.xla 
  • Remove the file: %PROGRAMFILES%\PrivateArk\Client\OfficeExtension\PrivateArk.ppa
This will allow MS-Office applications to run.


Additional Information


Details

SYMPTOM:

MS-Office applications cannot start with the following error message after the installation of PrivateArk Client:

Compile error in hidden module: PrivateArkReturnToSafe. This error commonly occurs when code is incompatible with the version, platform, or architecture of this application. Click "Help" for information on how to correct this error.

PROBLEM:

PrivateArk Client installation deploys Office Extensions which are not supported on Office 64bit (Note: Windows 64bit is supported, but only with the 32bit version of MS-Office). If PrivateArk Client was installed using the Typical option (which includes Office extensions component) on a machine with an unsupported Office version, the extensions will still be deployed and may cause Office applications not to start.

SOLUTION:

Apply the following in order to work-around the issue:
  1. Close all the office applications.
  2. Configure File Explorer to show hidden files.
  3. Delete the following files (please note that these files are hidden): 
  • Under MS-Office folder (i.e: C:\Program Files\Microsoft Office\OFFICE11): 
    • Startup\PrivateArk.dot 
    • XLStart\PrivateArk.xla 
  • Remove the file: %PROGRAMFILES%\PrivateArk\Client\OfficeExtension\PrivateArk.ppa
This will allow MS-Office applications to run.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001P9JCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail