Deploy and Update Java with Group Policy and PowerShell

Install or update Java Runtime Environment if previous or no version was detected and uninstall previous versions for security reasons. You can skip uninstallation of old versions with -NoUninstall switch.
724 times
Add to favorites
E-mail Twitter Digg Facebook
  • Update needs local admin rights?
    1 Posts | Last post February 18, 2020
    • Hi,
      I have made setup using your script in our customers network.
      But update script needs local admin rights to update java.
      I haven't figure way to update without script prompting for admin credentials.
      I tried to apply script to computer startup scripts gpo, but it won't run.
      I don't know if it does not find network path (\\server02\java etc) or why it won't run.
      Is there any way to run update in user context or startup without asking admin rights?
  • 32bit installs
    1 Posts | Last post November 28, 2018
    • IS there a way to edit the script so that it just installs the 32 bit java on all machines whether they are 64bit or 32bit OS