How Can I remove the package completed if the program got corrupted.
Recently we have clients got corrupted because a legacy version got installed and replaced the newer version, we have to remove everything for the client to work, is there a script we can leveage to uninstall and remove everything no matter the package ID or version. It will take a lot of our time if we remove the file and registry manually.
Hello Nelson,
You can try to run the following; it should return the uninstall string for all the installed RDM versions on the machine:
Get-ChildItem -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall | Get-ItemProperty | Where-Object {$_.DisplayName -match "Remote Desktop Manager" } | Select-Object -Property DisplayName, UninstallString
Best regards,
Richard Boisvert