CPM - CACPM250E / CACPM344E ...cannot proceed to next state since none of the conditions for the state met... Code: 7079

CPM - CACPM250E / CACPM344E ...cannot proceed to next state since none of the conditions for the state met... Code: 7079

192
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 12:56 PM


Symptom


One of the following error messages is returned by CPM:
 
CACPM250E Operation on remote machine on password object Safe: <Safe>, Folder: Root, Object: Operating System-Win-1.1.1.1-Registry(or Pool)-Computer failed (try #0) with the following error: Execution error. Error: cannot proceed to next state since none of the conditions for the state met. State "StartScript". code: 7079
Error: CACPM243W Failed to read from third-party log file while trying to verify or change password


Environment


Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)
CPM using pmterminal plugins vs TPC (which is not affected)


Cause


Data Execution Prevention is enabled for the operating system and all processes, including the Windows kernel and drivers.


Resolution


There are several solutions for this problem. The most recommended solution is to use TPC (Terminal plugin controller) rather than PMterminal whenever possible. The latest download of TPC can be found here:

https://community.cyberark.com/mplace/s/#a3550000000El8nAAC-a3950000000jju7AAA

For some plugins, this is not possible. In those cases, the following options can be used:

Note: We do not recommend doing this if there is any possibility at all of using TPC
Note 2: Some plugins which use cscript cannot be excluded from DEP. In these cases DEP must be manually disabled OR a new plugin must be downloaded from the marketplace which utilizes CANetplugininvoker.


Option 1. Exclude the CPM executable files from DEP

While DEP is enabled for the OS and all processes (optout), administrators can explicitly disable DEP on selected executable files used by the CPM:
For Windows 2012/2016:
a) Open the Start screen, right click the Computer\My PC tile and click Properties in the bar below.
b) In the System Settings, click Advanced System settings in the left pane.
c) Go to the Advanced tab and click Settings in the Performance section.
d) Next in the Performance Options window, go to the Data Execution Prevention tab.
e) Choose "Turn on DEP for all programs and services except those I select"
f) Click Add and add the PMTerminal.exe (from C:\Program Files\CyberArk\Password Manager\bin)
g) Hit OK to close all windows
h) Reboot the CPM Server
 
Option 2. Disable DEP

For Windows 2012/2016 via BCDEDIT.EXE
a) Run BCDEDIT.EXE command
b) Modify "nx" entry to alwaysoff (Example: "bcdedit /set nx AlwaysOff")
c) Reboot the CPM Server

Option 3 Enable DEP for Windows components only
Change the DEP to enable only for OS components, including Windows kernel and drivers:
  • For Windows 2012/2016, via BCDEDIT.EXE command
    • Modify "nx" entry to optin
    • Reboot the CPM Server
  • Via System Properties | Advanced | Performance Options | Data Execution Prevention:
    • Select "Turn on DEP for essential Windows programs and services only"
 


Additional Information


Details

SYMPTOM:
Either of the following error message is returned by CPM:

CACPM250E Operation on remote machine on password object Safe: <Safe>, Folder: Root, Object: Operating System-Win-1.1.1.1-Registry(or Pool)-Computer failed (try #0) with the following error: Execution error. Error: cannot proceed to next state since none of the conditions for the state met. State "StartScript". code: 7079

CACPM344E Verifying Password Safe: <Safe>, Folder: Root, Object: Operating System-Unix-1.1.1.1-root failed (try #0). Code: 7079, Error: Execution error. Error: cannot proceed to next state since none of the conditions for the state met. State "StartSessionSSH"/"StartSessionTelnet". code: 7079

PROBLEM:
Data Execution Prevention is enabled for the operating system and all processes, including the Windows kernel and drivers.


Cisco Security Agent (CSA) could also be causing intermittent 7079 errors. See solution #00002384

 

SOLUTION:  

There are several options:

 

Option 1. Exclude the CPM executable files from DEP

While DEP is enabled for the OS and all processes (optout), administrators can explicitly disable DEP on selected executable files used by the CPM:


For Windows 2003: 

a) Copy C:\Windows\System32\telnet.exe to the C:\Program Files\CyberArk\Password Manager\bin 

b) Right click on My Computer and select Properties

b) Select Advanced Tab and click on Performance Options

d) Select Data Execution Prevention:

e) Choose "Turn on DEP for all programs and services except those I select"

f) Click Add and add the PMTerminal.exe (from C:\Program Files\CyberArk\Password Manager\bin)

g) Click Add and add the Telnet.exe (from C:\Program Files\CyberArk\Password Manager\bin)

h) Click Add and add the Plink.exe (C:\Program Files\CyberArk\Password Manager\bin)

i) Hit OK to close all windows

j) Reboot the CPM Server


For Windows 2008:

a) Right click on My Computer and select Properties

b) Select Advanced Tab and click on Performance Options

c) Select Data Execution Prevention:

d) Choose "Turn on DEP for all programs and services except those I select"

e) Click Add and add the PMTerminal.exe (from C:\Program Files\CyberArk\Password Manager\bin)

f) Hit OK to close all windows

g) Reboot the CPM Server


For Windows 2012:

a) Open the Start scree, right click the Computer\My PC tile and click Properties in the bar below.

b) In the System Settings, click Advanced System settings in the left pane.

c) Go to the Advanced tab and click Settings in the Performance section.

d) Next in the Performance Options window, go to the Data Execution Prevention tab.

e) Choose "Turn on DEP for all programs and services except those I select"

f) Click Add and add the PMTerminal.exe (from C:\Program Files\CyberArk\Password Manager\bin)

g) Hit OK to close all windows

h) Reboot the CPM Server


Option 2. Disable DEP


For Windows 2003 use the C:\boot.ini file

a) Go to C:\ root folder view File Explorer

b) Go to Tools | Folder Options | View

c) Uncheck "Hide protected operating system files (Recommended)"

d) Go back to C:\, right-click on the boot.ini file, go to Properties

e) Uncheck 'Read-Only'

f) Open the boot.ini file with Notepad and change the /noexecute option to alwaysoff, for example:


multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Enterprise" /noexecute=
alwaysoff /fastdetect

g) Save the boot.ini file and close it.

h) Go to Properties of the boot.ini file and re-enable 'Read-Only'

i) Go to Tools | Folder Options | View and Check "Hide protected operating system files (Recommended)"

j) Reboot the CPM server


For Windows 2008/2012 via BCDEDIT.EXE

a) Run BCDEDIT.EXE command

b) Modify "nx" entry to alwaysoff (Example: "bcdedit /set nx AlwaysOff")

c) Reboot the CPM Server


Option 3 Enable DEP for Windows components only
Change the DEP to enable only for OS components, including Windows kernel and drivers:

  • For Windows 2003, via the boot.ini file, 
    • multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Windows Server 2003, Enterprise" /noexecute=optin /fastdetect
    • Reboot the CPM Server
  • For Windows 2008/2012, via BCDEDIT.EXE command
    • Modify "nx" entry to optin
    • Reboot the CPM Server
  • Via System Properties | Advanced | Performance Options | Data Execution Prevention:
    • Select "Turn on DEP for essential Windows programs and services only"

 




Actions
  • Print
  • Copy Link

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