PSM-VSPHERE - The VMRC console has disconnected...attempting to reconnect.
Symptom
When attempting to connect to connect to a vSphere client through PSM, the application opens, but when connecting to a console you are presented with the following error:
"The VMRC console has disconnected...attempting to reconnect."
Environment
11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PSM
Cause
In recent versions of vSphere, certain executables have changed locations, which may prevent resources necessary for vSphere to function properly from running due to AppLocker hardening.
In the AppLocker log (Event Viewer \ Applications and Services Logs \ Microsoft \ Windows \ AppLocker \ EXE and DLL), you may see errors such as the following:
%PROGRAMFILES%\COMMON FILES\VMWARE\VMWARE REMOTE CONSOLE PLUG-IN 5.5\INTERNET EXPLORER\VMWARE-VMRC.EXE was prevented from running.
The same may occur for VMWARE-REMOTE.EXE
Resolution
1. Run secpol.msc
2. Go to Application Control Policies
3. Right-click AppLocker and select Clear Policy
4. Either uncomment the line for VMRC and other blocked executables per the AppLocker log, or write lines similar to the following:
==
<Application Name="VMWare-VMRC" Type="Exe" Path="C:\Program Files (x86)\COMMON FILES\VMWARE\VMWARE REMOTE CONSOLE PLUG-IN 5.5\INTERNET EXPLORER\VMWARE-VMRC.EXE" Method="Publisher" />
Make sure the Path matches what is blocked per the AppLocker log.
==
5. Save the configuration file, then rerun PSMConfigureAppLocker.ps1 under {drive}:\Program Files (x86)\CyberArk\PSM\Hardening
Additional Information
Details
SYMPTOM:
When attempting to connect to connect to a vSphere client through PSM, the application opens, but when connecting to a console you are presented with the following error:
"The VMRC console has disconnected...attempting to reconnect."
PROBLEM:
In recent versions of vSphere, certain executables have changed locations, which may prevent resources necessary for vSphere to function properly from running due to AppLocker hardening.
In the AppLocker log (Event Viewer \ Applications and Services Logs \ Microsoft \ Windows \ AppLocker \ EXE and DLL), you may see errors such as the following:
%PROGRAMFILES%\COMMON FILES\VMWARE\VMWARE REMOTE CONSOLE PLUG-IN 5.5\INTERNET EXPLORER\VMWARE-VMRC.EXE was prevented from running.
The same may occur for VMWARE-REMOTE.EXE
SOLUTION:
1. Run secpol.msc
2. Go to Application Control Policies
3. Right-click AppLocker and select Clear Policy
4. Either uncomment the line for VMRC and other blocked executables per the AppLocker log, or write lines similar to the following:
<Application Name="VMWare-VMRC" Type="Exe" Path="C:\Program Files (x86)\COMMON FILES\VMWARE\VMWARE REMOTE CONSOLE PLUG-IN 5.5\INTERNET EXPLORER\VMWARE-VMRC.EXE" Method="Publisher" />
Make sure the Path matches what is blocked per the AppLocker log.
5. Save the configuration file, then rerun PSMConfigureAppLocker.ps1 under {drive}:\Program Files (x86)\CyberArk\PSM\Hardening