CPM - Did not find any matching prompt for 'CScript Error: Loading your settings failed. (Access is denied. )

CPM - Did not find any matching prompt for 'CScript Error: Loading your settings failed. (Access is denied. )

124
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 15:57 PM


Symptom


 

When using CScript-based plugins, errors similar to the following are seen:

In PVWA:
The Central Policy Manager failed to change the password.
CACPM243W Failed to read from third party log file. Error: invalid log line format.

In pm.log and pm_error.log:
07/06/2022 13:36:54 [16d8] CACPM072E Change password process on remote machine failed (Error: -1, Safe: P-WND-SVC-SysCamo, Folder: Root, Object: Operating System-DOM-WINDOMAIN-SVC-WAH-NO-SHOW-COPY-supportlab.local-SYSCAMOP-IISAppPool-memberserver.supportlab.local-DefaultAppPool).
07/06/2022 13:36:54 [16d8] CACPM250E Operation on remote machine on password object Safe: P-WND-SVC-SysCamo, Folder: Root, Object: Operating System-DOM-WINDOMAIN-SVC-WAH-NO-SHOW-COPY-supportlab.local-SYSCAMOP-IISAppPool-memberserver.supportlab.local-DefaultAppPool failed (try #0) with the following error: CACPM243W Failed to read from third party log file. Error: invalid log line format.

In ThirdParty debug log:
07/06/2022 12:42:56.960 | Info -> bj :: b -> Got timeout. Received: CScript Error: Loading your settings failed. (Access is denied. )

07/06/2022 12:42:56.960 | ERROR -> c :: d -> a6: Did not find any matching prompt for 'CScript Error: Loading your settings failed. (Access is denied. )
'
   at bx.ak(IList`1 A_0)
   at bx.b(IList`1 A_0)
   at bx.aj(IList`1 A_0)
   at c.h(bt A_0, s A_1)
   at c.c(bt A_0)
   at c.a(bt A_0, df A_1)
   at c.a(s A_0, bt A_1)
   at c.c(bt A_0)
   at c.d()

 



Environment


Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)

 

CPM

CScript-based plugins



Cause


 

Two registry keys are missing from the default profile which causes access denied failure when cscript executes for the PluginManagerUser service account.
 

 



Resolution


 

On the CPM:

 

  • Launch regedit.exe
  • Navigate to: HKEY_USERS/.DEFAULT/Software/Microsoft/
  • Under Microsoft, If the following key doesn’t exist add it: Windows Script Host
  • Under Windows Script Host, If the following key doesn’t exist add it: Settings

 



Actions
  • Print
  • Copy Link

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