Run command is blocked for PSM administrator/Hidden drives can not be accessed
201
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:00 PM
Symptom
Administrative users get an error when attempting to use the windows run command or when entering an address into file explorer's search bar.
Environment
10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;14.6 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM) PSM
Cause
PSM starting at 12.2 has a file called "AfterRunningTheHardeningScript.psm1" located in:
> InstallationAutomation
> Hardening
This file has this entry, not seen in earlier versions:
$KeyPath = "HKLM:\defaultuser\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
$name = "NoRun"
$value = 1
This setting applies to all users who have not yet signed into the PSM. So new PSM Administrators for instance won't be able to access the windows run utility.
Combined with hidden local drives and the administrator won't be able to access any drives either. When entering the path manually into file explorer's search bar such as: "C:/" it will error out that it is being blocked.
Resolution
The errors you are seeing are directly related to removing "Run" from the start menu.
This can be fixed via GPO:
- In the Local Group Policy Editor window
- Navigate to User Configuration > Administrative Templates > Start Menu and Taskbar.
- Double-click on the policy “Remove Run Menu from Start Menu” appearing on the right pane.
- Set to "Disabled"
- Sign out of the PSM for it to take effect.