Net Use not working via PSM Connection Component
105
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 15:59 PM
Symptom
When creating a connection component that opens a CMD prompt and launches the net use command, it results in the below error message:
'This program is blocked by group policy'.
Environment
10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2 PSM - Hardened
Cause
Checking the Windows AppLocker logs, we could see the following program being blocked from launching:
"C:\Windows\System32\net.exe"
- Windows Event viewer > Applications and Services Logs -> Microsoft -> Windows -> Applocker
Resolution
After adding "C:\Windows\System32\net.exe" to PSMConfigureAppLocker.xml and re-running PSMConfigureAppLocker.ps1 the Connection Component could run successfully.