Solved

Cannot uninstall or upgrade vmview agent

Posted on 2016-07-27
3
163 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Datacenter object VMWare 7 105
vSphere VM Sysprepped + deleted a snapshot 3 110
Windows Deployment Services 6 106
Backup Options in vSphere 6.x 1 39
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

751 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