Jump to content
Sign in to follow this  
lawrence1981

Remove program from Control Panel

Recommended Posts

lawrence1981

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:

Share this post


Link to post
Share on other sites
Juvigy

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

Share this post


Link to post
Share on other sites
JLogan3o13

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)?


√-1 2^3 ∑ π, and it was delicious!

How to get your question answered on this forum!

Share this post


Link to post
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
Sign in to follow this  

×