PSM - LoadLocalUserProfile errors - PSMSC023E LoadLocalUserProfile: Failed to load user profile for local user [PSM-XXXXXX] (System error [2]: The system cannot find the file specified.)

PSM - LoadLocalUserProfile errors - PSMSC023E LoadLocalUserProfile: Failed to load user profile for local user [PSM-XXXXXX] (System error [2]: The system cannot find the file specified.)

181
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:50 PM


Symptom


When user attempts to initialize a connection to any Connection component, they get the following message:
[PSM-CC] closed:
PSMSC023E LoadLocalUserProfile: Failed to load user profile for local user [PSM-XXXXXX] (System error [2]: The system cannot find the file specified.)


The PSMConsole.log show the following lines: 
Failed to invoke PSMTokenHolder.exe process. Reason: PSMSC023E LoadLocalUserProfile: Failed to load user profile for local user [PSM-XXXXXX] (System error [2]: The system cannot find the file specified.)
An exception occurred during the session flow's exception handling procedure (Handling stage: [EndSession], Internal exception: [PSMSC079E [SessionID] Failed to get list of properties from session data file SessionID.session. Error: ITATS053E Object SessionID.session doesn't exist. ])
Failure occurred while handling session. PSMSC023E LoadLocalUserProfile: Failed to load user profile for local user [PSM-XXXXXX] (System error [2]: The system cannot find the file specified.) (Codes: -1, 2)


Note: You may see also the following error in the PSMConsole log:
PSMSR392W Failed to delete shadow user [PSM-XXXXXXXXXX]. Error description: [PSMSC018E Failed to delete profile for local user (System error [2]: The system cannot find the file specified.)]


 


Environment


10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1 PSM

Cause


Possible causes  where such an error (System error [2]) can occur include:

1. User profile deletion got interrupted.

2. Manually delete the profile directly from the following registry path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.

3. Extremely rare, the PSM was shut down when a local user was created but the user profile was not yet created.

 


Resolution


1. Manually delete the user profile using user profiles settings (Advanced system properties->Advanced->User Profiles Settings).
2. Manually delete the profile directly from the following registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.

 


Actions
  • Print
  • Copy Link

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