locked
how to remove softwares installed in client pc's from sever RRS feed

  • Question

  • Hello,

    In our company we are required to remove softwares installed in client pc's.

    is there any way to remove them from the server.we are using windows server 2012.

    Thanks & Regards,

    Venkatesh.

    Saturday, October 18, 2014 8:09 AM

Answers

  • Hi Venkatesh,

    First I would like to get more detailed information like which software.
    If you have deploy the software by GPO, please also try to uninstall it with GPO:
    In the Group Policy Management window, in the console tree, expand the domain, expand Computer Configuration, expand Software Settings, right-click Software Installation, and then click Properties.

    For more detailed about GPO, please follow this article:

    Uninstalling client software with Active Directory Group Policy Object

    Or you can try Windows Powershell cmdlets and use WMI like:

    Get-WmiObject -Class Win32_Product -ComputerName $TargetServer|select Name #check if the software has been listed
    
    (Get-WmiObject -Class Win32_Product -Filter "Name='softwarename'" -ComputerName $TargetServer ).Uninstall()

    Another way, if the software is a .msi file, you can use the cmd "msiexec /x ..." to uninstall the software, and you can start Powershell remoting with the cmdlet "Invoke-Command" to complete the remote part:

     Invoke-Command -ComputerName targetcomputer -ScriptBlock {msiexec /x ...}

    For more detailed information about powershell remoting, you can also check this article:

    [Forum FAQ] Introduce Windows Powershell Remoting

    If there is anything else regarding this issue, please feel free to post back.

    Best Regards,

    Anna Wang

    • Marked as answer by AnnaWY Tuesday, October 28, 2014 4:56 PM
    Monday, October 20, 2014 3:08 PM