0055.html 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Deploy Java Installation and Updates via Windows GPO</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Push Software Via Group Policy,Push Software Via GPO,Windows Administration,Group Policy Software Installation,Windows,Active Directory,Group Policy,GPO,Software Distribution,Java,JDK,JRE,IT,Automation,AD,System Administrator,Microsoft Windows,Network,Microsoft,Domain,Active Directory Administration,Group Policy Administration,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Deploy Java Installation and Updates via Windows GPO">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="03/26/2022 12:52:07 PM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Deploy Java Installation and Updates via Windows GPO</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <h2>Getting the Java .msi</h2>
  26. <ol>
  27. <li>Download the offline Java installer <a href="https://java.com/en/download/manual.jsp" target="_blank">Download</a></li>
  28. <li>Start the downloaded Java installer, but don&#39;t go past the initial screen</li>
  29. <li>Open Windows Explorer and navigate to&nbsp;%userprofile%\AppData\LocalLow\Oracle\Java\</li>
  30. <li>Open the folder for the version of Java and copy the Java .msi to a different folder (ie Downloads, Desktop, etc)</li>
  31. <li>Cancel the Java installation</li>
  32. </ol>
  33. <h2>Creating Software Share</h2>
  34. <ol>
  35. <li>Log into a domain controller</li>
  36. <li>Create a folder somewhere to share for software distribution (ie c:\gpo_files)</li>
  37. <li>Right click on the created folder &gt; Properties &gt; Sharing tab &gt; Advanced Sharing...</li>
  38. <li>Click the Share this folder box</li>
  39. <li>Give the share a name (ie gpo_files)</li>
  40. <li>Click the Permissions button</li>
  41. <li>Remove the Everyone group</li>
  42. <li>Add Authenticated Users</li>
  43. <li>Click OK on all open dialog boxes</li>
  44. <li>Copy the Java .msi from earlier into the new shared folder</li>
  45. </ol>
  46. <h2>Creating the GPO to Push Java</h2>
  47. <ol>
  48. <li>Still logged into the domain controller, right click on the Start button &gt; Run &gt; type gpmc.msc &gt; Press Enter</li>
  49. <li>Expand Forest: %domainname% &gt; Domains &gt; %domainname%</li>
  50. <li>Right click on the domain name &gt; Create a GPO in this domain, and link it here...</li>
  51. <li>Name the new GPO Software Distribution</li>
  52. <li>Right click the Software Distribution GPO &gt; Edit...</li>
  53. <li>In the Group Policy Management Editor expand Computer Configuration &gt; Policies &gt; Software Settings &gt; Software installation</li>
  54. <li>Right click Software installation &gt; New&nbsp;&gt; Package...</li>
  55. <li>When the file dialog appears, point it to the Java .msi using the share created earlier (ie \\domain_controller\gpo_files\javax64.msi)</li>
  56. <li>Leave the deployment method as Assigned &gt; Click OK</li>
  57. <li>Close out of all open&nbsp;Group Policy Management Editor windows</li>
  58. <li>On client domain devices right click the Start button &gt; Run &gt; type gpupdate /force &gt; Press Enter</li>
  59. <li>After the group policy update completes, reboot the device</li>
  60. <li>During the boot process the Java from the software distribution GPO will be installed</li>
  61. </ol>
  62. </div>
  63. </div>
  64. </body>
  65. </html>