Jump to content

Recommended Posts

Posted

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:

Posted

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

  • Moderators
Posted

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!

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
×
×
  • Create New...