Using an elevated command prompt to open Add Remove Programs

Scenario

You’ve noticed there is software that shouldn’t be installed on a client PC, but when you try to uninstall it via a remote desktop connection, a warning message appears saying “This installation can only be uninstalled by a user with administrative privileges”. Smeg!

Solution

  1. Open the run box (windows key + r) and type runas /user:DOMAINADMIN cmd.
  2. You will be prompted for the domain administrator password. Type said password and press enter.
  3. Once the elevated command prompt appears, type control appwiz.cpl to open the Add/Remove Programs control panel.
  4. You will now be able to uninstall the offending software…through gritted-teeth and a wry smile.