Solved

Cannot uninstall or upgrade vmview agent

Posted on 2016-07-27
3
92 Views
Last Modified: 2016-08-12
Hi

I have a small vmview set up with 7 vm's.  I updated one view agent a few months back from 5.1 to 5.2. I am now trying to upgrade the rest to solve a usb redirection error but it will not allow it. Starts the install process but then half way through it just rolls back and fails. Tried uninstalling the agent first but that fails too?  Look in the event logs and can see nothing but an install fail error.

View server is 5.1
0
Comment
Question by:Nick_D
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Richardson Porto earned 500 total points
ID: 41734729
Have you tried uninstall the View Agent manually according with the following VMware KB articles:

KB #1: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1008402

To remove the VMware View Agent manually:
Delete or rename the folder C:\Program Files\VMware\VMware View\Agent.
To delete related registry record.

Click Start > Run and type regedit.
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Vmware, Inc.\Vmware VDM, right-click and Delete.

To delete the VMware View Agent service.

Click Start > Run and type regedit.
navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\SERVICES\WSNM, right-click and Delete.

Reboot the Virtual Desktop.
Install the View Manager agent.

KB #2: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2064845

To perform a silent uninstallation of the View Agent:
 
Note: This procedure modifies the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see the Microsoft Knowledge Base article 136393.

The preceding link was correct as of December 11, 2013. If you find the link is broken, provide feedback and a VMware employee will update the link.

In the View desktop, go to Start > Run, type regedit, and click OK. The Registry Editor window opens.
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall.
Find the value that corresponds to the version of View Agent software that is installed. For example:

View 4.5 – {6F862EF7-F25E-4B3B-8345-FA005F12F668}
View 4.6 – {EFF57BA4-5BF2-403E-84BC-3469F9DAAACD}
View 5.0 – {5DD04237-3DCD-4735-BF8F-3BEEC0F61A6E}
View 5.1 – {CDA7820C-4849-4E55-A7B1-38E175B5F61C}
View 5.2 – {58D47F5C-618E-11E2-8D25-74C36188709B}
View 5.3 – {E3AD16CE-E5D6-4844-98FF-75E96EF7377F}
View 6.0 – {1230DF2B-7BA0-4AAD-80EA-527A3C3614D4}
View 6.1 – {A2E9FEAC-6D18-4890-9428-A6F53D600E01}


To silently uninstall the View Agent, go to Start > Run, type cmd, and click OK. The command prompt opens launch a command prompt and run this command:

MsiExec.exe /X {AGENT_VALUE} /forcerestart /qn

Where AGENT_VALUE is the value noted in Step 3.
0
 
LVL 1

Author Comment

by:Nick_D
ID: 41734883
Hi Richardson

It wont let me delete the reg key or delete/rename the view agent folder.  Used process explorer to try and work out what is using the folder but cannot see anything?
0
 
LVL 1

Author Closing Comment

by:Nick_D
ID: 41753642
Had to use revo uninstaller in the end but got it out.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question