Cannot map drives via PSM-WinSCP because drive is a UNC path
Symptom
PSM-WinSCP fails to map drives because WinSCP says that the drives have a UNC path. This can occur intermittently and for local drives that should not need to be accessed with a UNC path.
The WinSCP version used in the PSM-WinSCP Connection Component in versions before 12.2 was an older version that does not support UNC drives.
Environment
10.5;10.6;10.7;10.8;10.9;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1
PSM connections using the PSMWinSCPDispatcher from before version 12.2
Cause
The older version of PSMWinSCPDispatcher only works with a WinSCP version which does not support mapping drives with a UNC path.
It is not clear why WinSCP considers the path to some drives a UNC path when they are not network drives.
Resolution
PSM version 12.2 includes a new PSMWinSCPDispatcher which works with WinSCP version 5.17.9 which does support UNC paths.
The new PSMWinSCPDispatcher and WinSCP should work with all older PSM versions from 10.5 and up. Just copy the following files from the components directory in a 12.2 PSM installation to the component directory in the older PSM (replacing the old version of these files):
PSMWinSCPDispatcher.exe
WinSCP.exe