This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Remove Dameware Remote Mini Control version 12.1.0.34

My company is looking into removing a deprecated version of the Dameware Remote Control agent from our remote PCs.  The issue that we have is that these machines seldomly connect to the VPN or go into an office.  This means that there’s no way to for us to remove the service via the Dameware management console.  We do have a third party management utility installed that is able to run scripts and tasks remotely.  This version of Dameware is getting flagged as a vulnerability by the security scanning software that we use and simply removing the service via command line doesn’t remove the vulnerability.  Does anyone have a script to remove the service and all related information?

Parents
  • Have you tried something like:

    $appList =  Get-WmiObject -Class Win32_Product
    $damewareinstalls = $applist | Where-Object{ $_.Name -like '*Dameware*' }
    if ($damewareinstalls.count -eq 0) {
    	exit
    }
    elseif ($damewareinstalls.count -eq 1) {
    	$damewareinstalls.Uninstall()
    }
    else {
    	foreach ($install in $damewareinstalls) {
    		$install.Uninstall()
    	}
    }


  • Will this pick up Dameware mini remote control installs that are installed hidden? (Not listed in add/remove programs)

    This has been the case in the two orgs I've used it, and I wound up relying on manual commands from elevated command prompts to get it done:

    c:\windows\dwrcs\dwrcs.exe -remove
    rd /s c:\windows\dwrcs
    reg delete "hklm\Software\DameWare Development"

    powershell equivalents:

    (however you prefer to launch dwrcs.exe with argument -remove)
    (if spawned process, wait for exit)
    Remove-Item -Path "C:\Windows\dwrcs" -Recurse -Force
    Remove-Item -Path "HKLM:\Software\DameWare Development" -Recurse -Force

Reply
  • Will this pick up Dameware mini remote control installs that are installed hidden? (Not listed in add/remove programs)

    This has been the case in the two orgs I've used it, and I wound up relying on manual commands from elevated command prompts to get it done:

    c:\windows\dwrcs\dwrcs.exe -remove
    rd /s c:\windows\dwrcs
    reg delete "hklm\Software\DameWare Development"

    powershell equivalents:

    (however you prefer to launch dwrcs.exe with argument -remove)
    (if spawned process, wait for exit)
    Remove-Item -Path "C:\Windows\dwrcs" -Recurse -Force
    Remove-Item -Path "HKLM:\Software\DameWare Development" -Recurse -Force

Children
No Data