Whitelist authorized applications and blocked or remove unauthorized applications
Hi All
I would like to create a script to whitelist all autholised applications and blocked or remove unautholised application which is installed by end user.
Appreciate may i know how do i create this scipting?
Thanks
Ivan
Answers (1)
Create a list of the authorized (whitelist) applications and compare each of the applications installed on a system to the whitelist. There is a method in the Win32_Product class in WMI called Uninstall() that you can call to remove anything that you want to remove.
Of course if your users were not Administrators you wouldn't be having this problem since then they would not be able to install software, but that's not helping you now!