- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-06-2026 02:29 PM
Hi,
I hope you are doing well. I have been testing CP Path Authentication method on one of the windows machines. I have been getting below errors.
Error:
[06/02/2026 | 22:11:11] | :: | APPAU002E Provider Prov_Server has failed to fetch password with query [Safe=Iamthesafe;Folder=Root;Object=Iamtheaccountobject] for application [CP-TEST]. Fetch reason: []. Failure reason: [APPAP308E Invalid process path. Full path is required.]
[06/02/2026 | 22:13:30] | :: | APPAU002E Provider Prov_Server has failed to fetch password with query [Safe=Iamthesafe;Folder=Root;Object=Iamtheaccountobject] for application [CP-TEST]. Fetch reason: []. Failure reason: [APPAP308E Invalid process path. Full path is required.]
[06/02/2026 | 22:13:38] | :: | APPAU002E Provider Prov_Server has failed to fetch password with query [Safe=Iamthesafe;Folder=Root;Object=Iamtheaccountobject] for application [CP-TEST]. Fetch reason: []. Failure reason: [APPAP308E Invalid process path. Full path is required.]Error 2:
APPEX003E: The Credential Provider has encountered an error. For more information, see the Credential Provider logs.My Configuration in Main.Conf.x.x file for CP is as given below:
[Main]
MaxConcurrentRequests=40
AutomaticParmsRefreshInterval=3600
ProviderCacheFolder="C:\Program Files\CyberArk\ApplicationPasswordProvider\Cache"
[Debug]
#CacheDebugLevels=0,1,2
#AppProviderDebugLevels=0,1,2,3,4,5
#ProtocolDebugLevels=0,1,2
[Cache]
CacheLevel=Persistent
CacheFile="C:\Program Files\CyberArk\ApplicationPasswordProvider\Cache\appprovider_cache.db"
CacheRefreshInterval=1500
VaultAccessInterval=31536000
KeyStorage=Local
CachedSecretExpiry=168
[TCP]
Port=18923
TrustedCLIShells="c:\windows\system32\cmd.exe","c:\windows\syswow64\cmd.exe","c:\windows\system32\wscript.exe","c:\windows\syswow64\wscript.exe","c:\windows\system32\cscript.exe","c:\windows\syswow64\cscript.exe","c:\windows\system32\windowspowershell\v1.0\powershell.exe","c:\windows\syswow64\windowspowershell\v1.0\powershell.exe"PVWA Conosle Configured as shown below:
For Path Authenication.
I have kept path as shown below.
D:\Program Files(x86)\CyberArkNote: I am able to retreive password with CLI SDK without any authentication method set in PVWA Console however, whenever I set above path, it throws above errors. Hence, below is my CLI SDK Command copied and used from official doc.
CLIPasswordSDK.exe GetPassword /p AppDescs.AppID=CP-TEST /p Query="Safe=Iamthesafe;Folder=Root;Object=Iamtheaccountobject" /o Password 2>&1I tried fixing looking at below articles but could not succeeded.
"APPAP309E Script run using untrusted shell" when PATH restrictions are turned on
Hence, need help to understand whether I am doing somewhere wrong or any other additional things to done to make it successful?
02-09-2026 04:48 AM
Hello,
Is the path you have custom or is a space missing between Program and Files?
The script file must contain full paths.
For example, if leveraging a command prompt to launch the script.
cmd.exe /c D:\ProgramFiles(x86)\CyberArk\YOUR_SCRIPT_FILE.bat.
02-09-2026 06:17 AM
The space between Program and Files are just typo. CP by design do not take script file (uncompiled) in windows. It only takes file as bat, cmd or exe in windows machines and .sh works fine for in Linux box. Also, it is not necessary to have full path exactly pointing to compiled scripts. Just relative folder path also works. I tested and it works fine for now. Everything has been sorted out.
02-10-2026 02:02 AM
Hi @sanjay sah ,
The path that you provided is,
It is just the folder, not a Full Path. Maybe you can try,
02-10-2026 06:57 AM
Hi @Argon Lau
There are options to have path just as folder or full path pointing to exe. I tested with both and it works fine for now.
02-10-2026 01:55 PM
What did you do to fix the errors?
02-10-2026 02:17 PM
I converted the script into exe and tested it just providing the path of the folders where it resides as well as also tested pointing exactly to exe then it worked both way. I was trying to test with .ps1 script, it didn't help me. It seemed by design CP takes exe, bat, cmd etc files to retrieve the password or it seems like there should be some wrapper to be created to map exe to any other raw scripts.
02-11-2026 01:25 AM
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

