VMware Horizon Community
ITcoolguyBP
Contributor
Contributor
Jump to solution

Installation Failed for VMWare Horizon Client (2206) on a Windows 11 PC. Log files attached.

I've tried multiple different versions of the client, but nothing has worked. Can someone point me in the right direction?

0 Kudos
1 Solution

Accepted Solutions
domdsouza
Enthusiast
Enthusiast
Jump to solution

It's unable to edit the hosts file.

Typically, an AntiVirus app will prevent editing this file. You can temporarily disable it. 

--OR--

just add the line yourself to the hosts file. If it finds the pattern it will skip that step

This is the line it's looking to match - just add it manually to the hosts file.

 

127.0.0.1 view-localhost # view localhost server

 

 

vdmInstUtil: 09/09/22 11:44:55 Entering custom action VMAddViewLocalHostEntryToHostsFile
vdmInstUtil: 09/09/22 11:44:55 --- VMAddViewLocalHostEntryToHostsFile() : Adding view-localhost entry to the 'etc\hosts' file.
vdmInstUtil: 09/09/22 11:44:55 File exists: "C:\WINDOWS\system32\Drivers\etc\hosts"
vdmInstUtil: 09/09/22 11:44:55 Searching for '127.0.0.1 view-localhost # view localhost server' in "C:\WINDOWS\system32\Drivers\etc\hosts"
vdmInstUtil: 09/09/22 11:44:55 File exists: "C:\WINDOWS\system32\Drivers\etc\hosts"
vdmInstUtil: 09/09/22 11:44:55 Pattern not found!
vdmInstUtil: 09/09/22 11:44:55 Appending text to file: "C:\WINDOWS\system32\Drivers\etc\hosts"
vdmInstUtil: 09/09/22 11:44:55 ERROR: Failed to open file: "C:\WINDOWS\system32\Drivers\etc\hosts": 13
vdmInstUtil: 09/09/22 11:44:56 Appending text to file: "C:\WINDOWS\system32\Drivers\etc\hosts"
vdmInstUtil: 09/09/22 11:44:56 ERROR: Failed to open file: "C:\WINDOWS\system32\Drivers\etc\hosts": 13
vdmInstUtil: 09/09/22 11:44:56 retry 1 - Util_AppendLinesW failed

 

 

View solution in original post

2 Replies
domdsouza
Enthusiast
Enthusiast
Jump to solution

It's unable to edit the hosts file.

Typically, an AntiVirus app will prevent editing this file. You can temporarily disable it. 

--OR--

just add the line yourself to the hosts file. If it finds the pattern it will skip that step

This is the line it's looking to match - just add it manually to the hosts file.

 

127.0.0.1 view-localhost # view localhost server

 

 

vdmInstUtil: 09/09/22 11:44:55 Entering custom action VMAddViewLocalHostEntryToHostsFile
vdmInstUtil: 09/09/22 11:44:55 --- VMAddViewLocalHostEntryToHostsFile() : Adding view-localhost entry to the 'etc\hosts' file.
vdmInstUtil: 09/09/22 11:44:55 File exists: "C:\WINDOWS\system32\Drivers\etc\hosts"
vdmInstUtil: 09/09/22 11:44:55 Searching for '127.0.0.1 view-localhost # view localhost server' in "C:\WINDOWS\system32\Drivers\etc\hosts"
vdmInstUtil: 09/09/22 11:44:55 File exists: "C:\WINDOWS\system32\Drivers\etc\hosts"
vdmInstUtil: 09/09/22 11:44:55 Pattern not found!
vdmInstUtil: 09/09/22 11:44:55 Appending text to file: "C:\WINDOWS\system32\Drivers\etc\hosts"
vdmInstUtil: 09/09/22 11:44:55 ERROR: Failed to open file: "C:\WINDOWS\system32\Drivers\etc\hosts": 13
vdmInstUtil: 09/09/22 11:44:56 Appending text to file: "C:\WINDOWS\system32\Drivers\etc\hosts"
vdmInstUtil: 09/09/22 11:44:56 ERROR: Failed to open file: "C:\WINDOWS\system32\Drivers\etc\hosts": 13
vdmInstUtil: 09/09/22 11:44:56 retry 1 - Util_AppendLinesW failed

 

 

ITcoolguyBP
Contributor
Contributor
Jump to solution

Adding the line "127.0.0.1 view-localhost # view localhost server" to the hosts file resolved the issue.

0 Kudos