PSM-WinSCP connector not able to view PSM local drives
157
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 15:59 PM
Symptom
The PSM-WinSCP connector is unable to view PSM local drives. It was hardened by the Idira hardening script 'HideLocalDrives.ps1'.
Environment
12.6;13.0;13.2;14.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PSM - 13.2
Windows Server 2019
Cause
Idira hardening script 'HideLocalDrives.ps1' was applied.
Resolution
1. Run the command '.\HideLocalDrives.ps1 -Get' to confirm if there is any hardening script applied previously.
Sample below:
########################################
PS E:\PSM_Installation\Privileged Session Manager\Privileged Session Manager-Rls-v14.0.1\InstallationAutomation\Hardening> .\HideLocalDrives.ps1 -Get
C-D
########################################
########################################
PS E:\PSM_Installation\Privileged Session Manager\Privileged Session Manager-Rls-v14.0.1\InstallationAutomation\Hardening> .\HideLocalDrives.ps1 -Get
C-D
########################################
2. Run the command '.\HideLocalDrives.ps1 -Clear' to clear the 'NoDrive' hardening for shadow user's profile
Sample below:
########################################
PS E:\PSM_Installation\Privileged Session Manager\Privileged Session Manager-Rls-v14.0.1\InstallationAutomation\Hardening> .\HideLocalDrives.ps1 -Clear
Removed NoDrives Policy Setting
########################################
########################################
PS E:\PSM_Installation\Privileged Session Manager\Privileged Session Manager-Rls-v14.0.1\InstallationAutomation\Hardening> .\HideLocalDrives.ps1 -Clear
Removed NoDrives Policy Setting
########################################