0055.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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="Windows,Active Directory,Group Policy,GPO,Software Distribution,Java,JDK,JRE,IT,Automation,i12bretro,How To,Tutorial">
  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. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  12. <script type="text/javascript" src="includes/js/steps.js"></script>
  13. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  14. </head>
  15. <body>
  16. <div id="gridContainer">
  17. <div class="topMargin"></div>
  18. <div id="listName" class="topMargin">
  19. <h1>Deploy Java Installation and Updates via Windows GPO</h1>
  20. </div>
  21. <div></div>
  22. <div id="content">
  23. <h2>Getting the Java .msi</h2>
  24. <ol>
  25. <li>Download the offline Java installer <a href="https://java.com/en/download/manual.jsp" target="_blank">Download</a></li>
  26. <li>Start the downloaded Java installer, but don&#39;t go past the initial screen</li>
  27. <li>Open Windows Explorer and navigate to&nbsp;%userprofile%\AppData\LocalLow\Oracle\Java\</li>
  28. <li>Open the folder for the version of Java and copy the Java .msi to a different folder (ie Downloads, Desktop, etc)</li>
  29. <li>Cancel the Java installation</li>
  30. </ol>
  31. <h2>Creating Software Share</h2>
  32. <ol>
  33. <li>Log into a domain controller</li>
  34. <li>Create a folder somewhere to share for software distribution (ie c:\gpo_files)</li>
  35. <li>Right click on the created folder &gt; Properties &gt; Sharing tab &gt; Advanced Sharing...</li>
  36. <li>Click the Share this folder box</li>
  37. <li>Give the share a name (ie gpo_files)</li>
  38. <li>Click the Permissions button</li>
  39. <li>Remove the Everyone group</li>
  40. <li>Add Authenticated Users</li>
  41. <li>Click OK on all open dialog boxes</li>
  42. <li>Copy the Java .msi from earlier into the new shared folder</li>
  43. </ol>
  44. <h2>Creating the GPO to Push Java</h2>
  45. <ol>
  46. <li>Still logged into the domain controller, right click on the Start button &gt; Run &gt; type gpmc.msc &gt; Press Enter</li>
  47. <li>Expand Forest: %domainname% &gt; Domains &gt; %domainname%</li>
  48. <li>Right click on the domain name &gt; Create a GPO in this domain, and link it here...</li>
  49. <li>Name the new GPO Software Distribution</li>
  50. <li>Right click the Software Distribution GPO &gt; Edit...</li>
  51. <li>In the Group Policy Management Editor expand Computer Configuration &gt; Policies &gt; Software Settings &gt; Software installation</li>
  52. <li>Right click Software installation &gt; New&nbsp;&gt; Package...</li>
  53. <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>
  54. <li>Leave the deployment method as Assigned &gt; Click OK</li>
  55. <li>Close out of all open&nbsp;Group Policy Management Editor windows</li>
  56. <li>On client domain devices right click the Start button &gt; Run &gt; type gpupdate /force &gt; Press Enter</li>
  57. <li>After the group policy update completes, reboot the device</li>
  58. <li>During the boot process the Java from the software distribution GPO will be installed</li>
  59. </ol>
  60. </div>
  61. </div>
  62. </body>
  63. </html>