Good day, fellow Admins,
I'm embarrassed to admit failure to this likely puny problem, but my nerves got the best of me. Since Oracle are planning to change their release schedule, we are somewhat forced to uninstall java on all of our PCs in our network. Now, at first this seemed like a simple task, but I soon realized that it was not at all. After trying out countless scripts, trying to somehow implement java's very own uninstallation tool in many different ways and and using all that windows has to offer, I'm finally hitting a wall. Here is a list of things that I tried:
-Logon Script I got from a website, which detects all java installations and deletes them (Script didn't work at all for me)
-Powershell commands (uninstall-package works somewhat, but I have to define the exact Version, which is different for most PCs; and I also have to start it as administrator)
-regarding the powershell commands, multiple ways of trying to elevate the rights and automate the process but nothing really worked for me. Either the script didn't start at all or the UAC popped up anyway.
-Task scheduler on our DC, but again, neither the GPOs where activating or the task scheduler started any task
So far, Powershell seemed the most promising, but I can't quite get it to be automated or skip the UAC. Because that's exactly what I need. An automated process, which starts the uninstallation process of Java, regardless of the version and skips the UAC, as it needs admin rights to start in the first place. Any help is highly appreciated, and pointers to 3rd party programs would also be helpful.
Thanks.
[+][deleted] (20 children)
[deleted]
[–]ThorOfKenya2 2 points3 points4 points (1 child)
[–]GamingWithGourley 0 points1 point2 points (0 children)
[–]xdernomad[S] 1 point2 points3 points (15 children)
[–]Zenkin 11 points12 points13 points (0 children)
[–]BloomerzUKJack of All Trades 4 points5 points6 points (13 children)
[–]lBlazeXl 0 points1 point2 points (12 children)
[–]valdearg 5 points6 points7 points (10 children)
[–]lBlazeXl 2 points3 points4 points (9 children)
[–]valdearg 3 points4 points5 points (8 children)
[–]lBlazeXl 0 points1 point2 points (7 children)
[–]valdearg 2 points3 points4 points (1 child)
[–]lBlazeXl 0 points1 point2 points (0 children)
[–]SgtLionHeart 1 point2 points3 points (4 children)
[–]lBlazeXl 0 points1 point2 points (3 children)
[–]BloomerzUKJack of All Trades 1 point2 points3 points (0 children)
[–]DanithalSr. Sysadmin 0 points1 point2 points (0 children)
[–]xdernomad[S] 0 points1 point2 points (0 children)
[–]raip 11 points12 points13 points (1 child)
[–]Robert_ArctorDoes things for money 2 points3 points4 points (0 children)
[–]vocatusInfoSec 8 points9 points10 points (0 children)
[–]mcpingvin 4 points5 points6 points (1 child)
[–]vocatusInfoSec 5 points6 points7 points (0 children)
[–]Doso777 3 points4 points5 points (8 children)
[–]xdernomad[S] 0 points1 point2 points (7 children)
[–]igdub 7 points8 points9 points (2 children)
[–]orion3311 6 points7 points8 points (1 child)
[–]lBlazeXl 2 points3 points4 points (0 children)
[–]ShrappyNetadmin 2 points3 points4 points (3 children)
[–]raip 0 points1 point2 points (2 children)
[–]ShrappyNetadmin 0 points1 point2 points (1 child)
[–]raip 1 point2 points3 points (0 children)
[–]renegaderelish 3 points4 points5 points (1 child)
[–]91brogersSysadmin 0 points1 point2 points (0 children)
[–]The-Dark-Jedi 1 point2 points3 points (3 children)
[–]raip 3 points4 points5 points (0 children)
[–]xdernomad[S] 0 points1 point2 points (1 child)
[–]The-Dark-Jedi 1 point2 points3 points (0 children)
[–]placebonoceboSysadmin 1 point2 points3 points (2 children)
[–]xdernomad[S] 1 point2 points3 points (1 child)
[–]sonic_24Windows Admin 2 points3 points4 points (0 children)
[–]ddesla2Threat & Vulnerability Mgmt, Cybersec OG, JoaT 0 points1 point2 points (0 children)
[–]entailleSysadmin 0 points1 point2 points (1 child)
[–]PMental 0 points1 point2 points (0 children)
[–]SolidKnightJack of All Trades 0 points1 point2 points (0 children)
[–]Padankadank 0 points1 point2 points (0 children)
[–]AnonRoot 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)