"This program is blocked by group policy" error when attempting PSM connection

"This program is blocked by group policy" error when attempting PSM connection

345
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:03 PM


Symptom


The user receives the following error when attempting to connect via PSM:
 
This program is blocked by group policy. For more information, contact your system administrator. The initial program cannot be started: "Drive\Folder Path\PSMInitSession.exe." Please consult help for more information"


Environment


v7.0;v7.1;v7.2;v8.0;8.1;v8.2;v8.5;v8.6;v9.0;v9.1;v9.2;9.3;9.5;9.6;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0 PSM all versions 

Cause


1. The AppLocker Rules are still configured for the default folder path. This will cause issues if PSM is installed on a secondary drive that is not the C:\ drive letter. 
 
2. "Client for Microsoft Networks" in is disabled in NIC properties 


Resolution


Solution one:

Edit the AppLocker Rules to show the proper folder path for all rules.

1. Launch mmc 
image.png
2. Go to file -> add-remove snap-in
image.png
3. Select Group Policy Object and click Add
image.png
4. Make sure 'local computer' is selected, and click 'finish'
image.png 
5. Browse to Console Root| Local Computer Policy | Computer Configuration | Windows Settings | Security Settings | Application Control Policies | AppLocker.  
image.png
6. For the deny rule for each of the following PSMAdminConnect, PSMConnect, and PSMShadowUsers. 
image.png
   A. In the rule go to the Exceptions tab. 
image.png
 
   B. Click on C:\Program Files(x86CyberArk\PSM\Components\PSMInitSession.exe and click edit
image.png
   D. Ensure that all details such as hash value, drive letter, etc are accurate. Correct any that are not.
4. Retry connection.
 

Solution two:

Ensure that "Client for Microsoft Networks" is enabled in the NIC properties by navigating to Network and Sharing Center > Change Adapter Settings. Right click the NIC, select properties and ensure the checkbox by "Client for Microsoft Networks" is checked.  

image.png


Additional Information


Details

SYMPTOM:

User Receives an error when attempting to connect via PSM:

"This program is blocked by group policy. For more information, contact your system administrator. 
The initial program cannot be started: "Drive\Folder Path\PSMInitSession.exe."
Please consult help for more information"


PROBLEM:

1. The AppLocker Rules are still configured for the default folder path. This will cause issues if PSM is installed on a secondary drive that is not the C:\ drive letter. 

2. "Client for Microsoft Networks" in is disabled in NIC properties 

SOLUTION:

Edit the AppLocker Rules to show the proper folder path for all rules.

1. Launch mmc then add-remove snap-in and select Group Policy Object for local computer. 
2. Once loaded under Console Root| Local Computer Policy | Computer Configuration | Windows Settings | Security Settings | Application Control Policies | AppLocker.  
3. For the deny rule for each of the following PSMAdminConnect, PSMConnect, and PSMShadowUsers. 
   A. In the rule go to the Exceptions tab. 
   B. Click on C:\Program Files(x86CyberArk\PSM\Components\PSMInitSession.exe 
   C. Click edit. 
   D. Change the drive letter to the appropriate drive letter (ex. D). 
   E. Click Ok. 
   F. Click Ok. 
4. Retry connection.

Ensure that "Client for Microsoft Networks" is enabled in the NIC properties by navigating to Network and Sharing Center > Change Adapter Settings. Right click the NIC, select properties and ensure the checkbox by "Client for Microsoft Networks" is checked.  





Actions
  • Print
  • Copy Link

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