CPM - Execution error. EXT01 :: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.. when changing usage

CPM - Execution error. EXT01 :: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.. when changing usage

228
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:52 PM


Symptom


When changing a usage the following error occurs:

Error : Execution error. EXT01 :: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.. Error code:-1 The CPM is trying to change this password because its status matches the following search criteria: ResetImmediately.

This most often happens with a .txt file, but can happen with other usages as well



Environment


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

Cause


The CPM uses the account's file categories to generate a temp file for the usage. The combined file categories of the account exceed the character limit. 

Resolution


Please refer to the explaination the file path length of XML files based on the following example log created when the password verification.

- Example file path of XML file
C:\Program Files (x86)\CyberArk\Password Manager\tmp\-4-Windows-Server-Local-Account-ObjectName-Length-TEST-WindowsAccount03-Root-Operating System-Windows-Server-Local-Account-ObjectName-Length-TEST-172.16.0.30-07-04-22 18-48-10.xml

- Each part of the file path by categories
1) Full path of CPM : C:\Program Files (x86)\CyberArk\Password Manager\tmp\
2) PolicyID : 4
3) PlatformName : Windows-Server-Local-Account-ObjectName-Length-TEST
4) SafeName : WindowsAccount03
5) FolderName : Root
6) ObjectName : Operating System-Windows-Server-Local-Account-ObjectName-Length-TEST
7) CurrentTime : 07-04-22 18-48-10
8) File name postfix ("XML") : xml

Please check the length of each category so that the path length of XML file is less than 240 characters if the password verification fails.

You can modify the character length of the following categories.
3) PlatformName
4) SafeName
5) FolderName
6) ObjectName


Actions
  • Print
  • Copy Link

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