Jump to content

Remove program from Control Panel


Recommended Posts

I need to remove a program from control panel. I searched through this site and found few suggestions to uninstall a software using registry key or silent uninstall or uninstall.exe

I do not want to remove a program with above mentioned options. Is there any way to remove a program from control panel?

Reference:

Link to comment
Share on other sites

You can use WMI:

strComputer = "."

Set objWMIService = GetObject("winmgmts:" _

& "{impersonationLevel=impersonate}!" _

& strComputer & "rootcimv2")

Set colSoftware = objWMIService.ExecQuery _

("Select * from Win32_Product " _

& "Where Name = 'Personnel database'")

For Each objSoftware in colSoftware

objSoftware.Uninstall()

Next

This is a VB script but it can be easily onverted to AutoIT

Link to comment
Share on other sites

  • Moderators

Hi, lawrence1981. Just to clarify, are you wanting to remove it from the control panel, but not uninstall the application (e.g. make it invisible to Add/Remove Programs)?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...