Users unable to connect to dedicated VM
Troubleshooting Guide: VMWare Horizon - Users Unable to Connect to Dedicated VM
At times, users may encounter difficulty connecting to their dedicated VM, even though it has previously functioned without any issues. Administrators may come across a message in the admin console indicating that the VM is either "waiting for the agent" or the "agent is unreachable," despite being able to RDP to the VM.
Potential Solution:
If you are experiencing this problem, one potential solution is to utilize the following command in the command line interface of the connection server OKIOPRDHCS01 (and admin on the server will need to run the command):
vdmadmin -A -d %PoolName% -m %VMName% -resetkey e.g. vdmadmin -A -d Contractors -m RemoteDBA09 -resetkey
This command is specifically designed to reset the key associated with the virtual machine, which can assist in resolving connectivity issues related to the agent. By resetting the key, you may be able to re-establish the connection between the VM and the agent, enabling users to once again access their virtual machines.
Additional Tips:
Here are some additional tips to consider when troubleshooting connectivity issues in a VMWare Horizon environment:
Verify VM network connection by pinging the VM.
Check the network connectivity between the VM and the agent to ensure there are no network issues causing the connection problem.
Restart the VM or the agent software to refresh the connection and potentially resolve any temporary glitches.
By following these troubleshooting steps and utilizing the reset key command, you can work towards resolving the issue of users being unable to connect to their virtual machines in a VMWare Horizon environment. Remember to communicate any changes or updates to users to keep them informed throughout the troubleshooting process.