Home > VMM, VMM2012, Windows Server 2012 > Uninstall VMM Agent Server Core with WMIC

Uninstall VMM Agent Server Core with WMIC

After Upgrade our VMM server from VMM 2012 to SP1 we need to upgrade AMM Agents on all hosts, One of the hosts refused to upgrade through VMM and asked us to remove old version before upgrade

Using Core Configurator did not add too much, So I decide to use WMIC to uninstall VMM agnent

 

1. Open a command prompt.

2. Type WMIC and press Return. You will see a prompt that looks like this: 

      wmic:root\cli>

3. At the new prompt, execute the following command:

    product get name

This will generate a list of installed applications.

4. At the prompt, execute the following command:
product where name="Microsoft System Center Virtual Machine Manager Agnet (x64)" call uninstall

5. When prompted, input “Y” to confirm that you wish to uninstall the application and press Return.

The application will be uninstalled.

006

Advertisements
Categories: VMM, VMM2012, Windows Server 2012 Tags:
  1. July 1, 2014 at 6:25 pm

    Typo s/b:
    product where name=”Microsoft System Center Virtual Machine Manager Agent (x64)” call uninstall

  2. Mark
    October 9, 2014 at 3:41 pm

    Great Article! Worked flawlessly for me.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: