My colleague who is rightly paranoid about security has a dislike for the buggy software from Java, so one day he shoots me off a link to a forum where he found a VB script to remove ALL versions of java from a PC. Fantastic i thought, now we just have to put it in our environment!
Here is the forum from where we got a VB script from:
So they guys on the forum post did all the hard work, all I did was apply it to our situation. Here is what we wanted to achieve:
- Run the script on every PC (client) in our network – we didnt have alot of users that actually required Java so we decided to remove everything, and only install it (in a managed way) to the users that required it.
- Make sure the whole script did not run EVERY time the PC was turned on.
- Output the log files somewhere centrally so we can monitor the uninstall process.
- Provide a managed Java deployment solution via GroupPolicy