PSM - Error "You must specify a file from the RD Session Host server xxx by using the UNC path"
117
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 12:57 PM
Symptom
The 'PSMInitSession.exe' is not published in the RDS collection and when trying to manually as this in by browsing to the correct location, the following issue is seen:
"You must specify a file from the RD Session Host server, Remote.####.Local by using the UNC path; for example: \\Remote.####.local\c$\path\filename.exe.
If the problem persists, ensure that the following Firewall exceptions are enabled:
1. File and Print (SMB-Out)
2. File and Print (SMB-In). "
Environment
10.5;10.6;10.7;10.8;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.4;12.3;12.5;12.6;13.0 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM) PSM
Cause
The reason why you were unable to publish the "PSMInitSession.exe" is that the default admin share for the "C" drive (C$) had been removed.
Resolution
Please add this share back in and then try to publish the 'PSMInitSession' file again.
You can re-add the file shares by going to 'computer management' or opening an elevated cmd prompt and running the following:
net share C$=C:\
Additional Information
Details
SYMPTOM:
The 'PSMInitSession.exe' is not published in the RDS collection and when trying to manually as this in by browsing to the correct location, the following issue is seen:
"You must specify a file from the RD Session Host server, Remote.####.Local by using the UNC path; for example: \\Remote.####.local\c$\path\filename.exe.
If the problem persists, ensure that the following Firewall exceptions are enabled:
1. File and Print (SMB-Out)
2. File and Print (SMB-In). "
PROBLEM:
The reason why you were unable to publish the "PSMInitSession.exe" is that the default admin share for the "C" drive (C$) had been removed.
SOLUTION:
Please add this share back in and then try to publish the 'PSMInitSession' file again.
You can re-add the file shares by going to 'computer management' or opening an elevated cmd prompt and running the following:
net share C$=C:\