Windows Server TechCenter > Windows Server Forums > Server Core > Uninstalling Applications in Server Core
Ask a questionAsk a question
 

AnswerUninstalling Applications in Server Core

  • Monday, August 27, 2007 11:36 AMSudhir_S Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

     

    How do I uninstall applications/programs in Server Core as there is no add/remove programs option.

     

    Thanks,

    Sudhir

Answers

  • Monday, August 27, 2007 9:21 PMSander BerkouwerMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Sudhir,

     

    I've been thinking about this too and I came to the conclusion that there are actually four places to watch for the information that the "Add or Remove programs" Control Panel applet (appwiz.cpl) shows:

    • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
      (use regedit.exe or regedt32.exe to modify the registry)
    • wmic product (which only shows installed software through msiexec, fast but incomplete)
    • sc query type= driver (for installed drivers)
    • wmic qfe (for installed Windows updates)

    How to uninstall software depends on where you found the program to uninstall. Respectively you should:

    • Use the UninstallString registry value as commandline
    • Use msiexec /x package.msi (More info)
    • Use pnputil -u -f drivername.inf (More info)
    • Use Wusa.exe patchname.msu

     

    I hope this information helps.

All Replies

  • Monday, August 27, 2007 7:48 PMAndrew Mason - MSFTMSFT, OwnerUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

     

    It depends on the application/program. If it is an MSI based install you can run: msiexec /uninstall <msi name>

     

    You can run msiexec /? to see all the options and syntax.

     

    Andrew

  • Monday, August 27, 2007 9:21 PMSander BerkouwerMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Sudhir,

     

    I've been thinking about this too and I came to the conclusion that there are actually four places to watch for the information that the "Add or Remove programs" Control Panel applet (appwiz.cpl) shows:

    • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
      (use regedit.exe or regedt32.exe to modify the registry)
    • wmic product (which only shows installed software through msiexec, fast but incomplete)
    • sc query type= driver (for installed drivers)
    • wmic qfe (for installed Windows updates)

    How to uninstall software depends on where you found the program to uninstall. Respectively you should:

    • Use the UninstallString registry value as commandline
    • Use msiexec /x package.msi (More info)
    • Use pnputil -u -f drivername.inf (More info)
    • Use Wusa.exe patchname.msu

     

    I hope this information helps.

  • Tuesday, August 28, 2007 6:12 AMSudhir_S Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi,

     

    Thanks a lot for your inputs. I was able to uninstall the application using the UninstallString from the registry. Appreciate your inputs in helping us resolve this.

     

    Regards,

    Sudhir