"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

2. Go to file -> add-remove snap-in

3. Select Group Policy Object and click Add

4. Make sure 'local computer' is selected, and click 'finish'
2. Go to file -> add-remove snap-in
3. Select Group Policy Object and click Add
4. Make sure 'local computer' is selected, and click 'finish'
5. Browse to Console Root| Local Computer Policy | Computer Configuration | Windows Settings | Security Settings | Application Control Policies | AppLocker.

6. 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 and click edit

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.

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.