{"id":7400,"date":"2024-08-22T02:44:29","date_gmt":"2024-08-21T19:44:29","guid":{"rendered":"https:\/\/www.ablenet.co.th\/?p=7400"},"modified":"2024-08-22T02:49:44","modified_gmt":"2024-08-21T19:49:44","slug":"how-to-deploy-software-exe-via-gpo","status":"publish","type":"post","link":"https:\/\/www.ablenet.co.th\/en\/2024\/08\/22\/how-to-deploy-software-exe-via-gpo\/","title":{"rendered":"\u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23 Deploy Software (.exe) \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 Group Policy Object (GPO)"},"content":{"rendered":"<p>\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\u0e04\u0e23\u0e31\u0e1a\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e19\u0e46<\/p>\n<p>\u0e08\u0e32\u0e01\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e1b\u0e47\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e01\u0e31\u0e1a \u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23 Deploy Software (.msi) \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 Group Policy Object (GPO) \u0e42\u0e14\u0e22\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2d\u0e48\u0e32\u0e19\u0e44\u0e14\u0e49 \u0e15\u0e32\u0e21\u0e25\u0e34\u0e07\u0e04\u0e4c\u0e19\u0e35\u0e49\u0e44\u0e14\u0e49\u0e40\u0e25\u0e22\u0e04\u0e23\u0e31\u0e1a<a href=\"https:\/\/www.ablenet.co.th\/en\/2024\/07\/25\/how-to-deploy-msi-files-via-gpo\/\"> https:\/\/www.ablenet.co.th\/2024\/07\/25\/how-to-deploy-msi-files-via-gpo\/<\/a><\/p>\n<p>\u0e21\u0e32\u0e43\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49 \u0e08\u0e30\u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23 Deploy Software (.exe) \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 GPO \u0e40\u0e0a\u0e48\u0e19\u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e19\u0e04\u0e23\u0e31\u0e1a \u0e40\u0e1e\u0e35\u0e22\u0e07\u0e41\u0e15\u0e48\u0e17\u0e48\u0e32\u0e17\u0e35\u0e48 Config \u0e2d\u0e32\u0e08\u0e41\u0e15\u0e01\u0e15\u0e48\u0e32\u0e07\u0e40\u0e25\u0e47\u0e01\u0e19\u0e49\u0e2d\u0e22 \u0e41\u0e25\u0e30\u0e21\u0e35\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19 powershell script \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23 Deploy Software \u0e42\u0e14\u0e22\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e19\u0e46 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e17\u0e33\u0e15\u0e32\u0e21\u0e44\u0e14\u0e49 \u0e40\u0e1b\u0e47\u0e19 Step by Step \u0e44\u0e14\u0e49\u0e40\u0e25\u0e22\u0e04\u0e23\u0e31\u0e1a<\/p>\n<p><strong>\u0e42\u0e14\u0e22 Lab \u0e08\u0e30\u0e21\u0e35 Diagram \u0e14\u0e31\u0e07\u0e23\u0e39\u0e1b\u0e04\u0e23\u0e31\u0e1a<\/strong><\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"wp-image-7401 aligncenter\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-21-155231.png\" alt=\"\" width=\"332\" height=\"371\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-21-155231.png 874w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-21-155231-269x300.png 269w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Screenshot-2024-08-21-155231-768x858.png 768w\" sizes=\"(max-width: 332px) 100vw, 332px\" \/><\/p>\n<p><strong>Pre-requisite (\u0e2a\u0e34\u0e48\u0e07\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e40\u0e15\u0e23\u0e35\u0e22\u0e21)<\/strong><\/p>\n<p>1.) Windows server \u0e17\u0e35\u0e48 Promote AD \u0e41\u0e25\u0e49\u0e27<\/p>\n<p>2.) Windows 10\/11 \u0e17\u0e35\u0e48 Join AD \u0e41\u0e25\u0e49\u0e27<\/p>\n<p>3.) \u0e2a\u0e23\u0e49\u0e32\u0e07 OU (\u0e17\u0e33\u0e15\u0e32\u0e21\u0e44\u0e14\u0e49\u0e43\u0e19\u0e02\u0e49\u0e2d 1.1 <a href=\"https:\/\/www.ablenet.co.th\/en\/2024\/07\/25\/how-to-deploy-msi-files-via-gpo\/\" target=\"_blank\" rel=\"noopener\">\u0e43\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e04\u0e23\u0e31\u0e1a)<\/a><\/p>\n<p>4.) UNC Share Folder (\u0e17\u0e33\u0e15\u0e32\u0e21\u0e44\u0e14\u0e49\u0e43\u0e19\u0e02\u0e49\u0e2d 1.2 <a href=\"https:\/\/www.ablenet.co.th\/en\/2024\/07\/25\/how-to-deploy-msi-files-via-gpo\/\" target=\"_blank\" rel=\"noopener\">\u0e43\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e04\u0e23\u0e31\u0e1a)<\/a><\/p>\n<p>5.) \u0e44\u0e1f\u0e25\u0e4c\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 .exe \u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e08\u0e30\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07<\/p>\n<p>&nbsp;<\/p>\n<p><strong>\u0e42\u0e14\u0e22 Step \u0e08\u0e30\u0e41\u0e1a\u0e48\u0e07\u0e44\u0e27\u0e49 \u0e14\u0e31\u0e07\u0e19\u0e35\u0e49\u0e04\u0e23\u0e31\u0e1a<\/strong><\/p>\n<p>1.) \u0e42\u0e22\u0e19\u0e44\u0e1f\u0e25\u0e4c .exe \u0e44\u0e1b\u0e44\u0e27\u0e49\u0e43\u0e19 UNC Folder<\/p>\n<p>2.) \u0e2a\u0e23\u0e49\u0e32\u0e07 Power Shell Script \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23 Install Software<\/p>\n<p>3.) \u0e2a\u0e23\u0e49\u0e32\u0e07 GPO \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23 Deploy Software<\/p>\n<p>4.) \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32 Software Deployed \u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22\u0e41\u0e25\u0e49\u0e27<\/p>\n<p>&nbsp;<\/p>\n<h3><strong>1.) \u0e42\u0e22\u0e19\u0e44\u0e1f\u0e25\u0e4c .exe \u0e44\u0e1b\u0e44\u0e27\u0e49\u0e43\u0e19 UNC Folder<br \/>\n<\/strong><\/h3>\n<p>Log-on \u0e40\u0e02\u0e49\u0e32\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 Windows server \u0e41\u0e25\u0e30\u0e19\u0e33\u0e44\u0e1f\u0e25\u0e4c .exe \u0e44\u0e1b\u0e27\u0e32\u0e07\u0e43\u0e19 UNC Folder \u0e42\u0e14\u0e22\u0e08\u0e32\u0e01\u0e43\u0e19 LAB \u0e08\u0e30\u0e2d\u0e22\u0e39\u0e48\u0e17\u0e35\u0e48<\/p>\n<blockquote><p>C:\\SoftwareDeployment\\<\/p><\/blockquote>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-7405\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-17-09-47.png\" alt=\"\" width=\"1546\" height=\"959\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-17-09-47.png 1546w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-17-09-47-300x186.png 300w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-17-09-47-1024x635.png 1024w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-17-09-47-768x476.png 768w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-17-09-47-1536x953.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/p>\n<p>\u0e40\u0e0a\u0e47\u0e04\u0e27\u0e48\u0e32 \u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 Client \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07 Folder \u0e19\u0e35\u0e49\u0e44\u0e14\u0e49 \u0e42\u0e14\u0e22\u0e40\u0e02\u0e49\u0e32\u0e44\u0e1b\u0e17\u0e35\u0e48 Client \u0e41\u0e25\u0e49\u0e27 Browse \u0e44\u0e1b\u0e17\u0e35\u0e48<\/p>\n<blockquote><p>\\\\ADDS01\\SoftwareDeployment$<\/p><\/blockquote>\n<p>\u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e27\u0e48\u0e32 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 Browse \u0e44\u0e14\u0e49 \u0e41\u0e25\u0e30\u0e40\u0e08\u0e2d\u0e44\u0e1f\u0e25\u0e4c\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e08\u0e30 Install<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-7406\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-21-17-13-57.png\" alt=\"\" width=\"1546\" height=\"959\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-21-17-13-57.png 1546w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-21-17-13-57-300x186.png 300w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-21-17-13-57-1024x635.png 1024w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-21-17-13-57-768x476.png 768w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-21-17-13-57-1536x953.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/p>\n<h3><strong>2.) \u0e2a\u0e23\u0e49\u0e32\u0e07 Power Shell Script \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23 Install Software<br \/>\n<\/strong><\/h3>\n<p>\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e43\u0e19 LAB \u0e19\u0e35\u0e49 \u0e08\u0e30 Install \u0e40\u0e1b\u0e47\u0e19\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Foxit Reader \u0e04\u0e23\u0e31\u0e1a \u0e42\u0e14\u0e22\u0e08\u0e30\u0e43\u0e0a\u0e49 PowerShell Script \u0e15\u0e32\u0e21\u0e19\u0e35\u0e49\u0e40\u0e25\u0e22\u0e04\u0e23\u0e31\u0e1a<\/p>\n<blockquote>\n<div>\n<div>\n<div>$folder = &#8216;C:\\Program Files (x86)\\Foxit Software\\Foxit PDF Reader&#8217;<\/div>\n<div>if (-not (Test-Path -Path $folder)) {<\/div>\n<div>\u00a0 \u00a0 Start-Process -FilePath &#8220;\\\\ADDS01\\SoftwareDeployment$\\FoxitPDFReader202423_enu_Setup_Prom.exe&#8221; -ArgumentList &#8216;\/silent&#8217;<\/div>\n<div>\u00a0 \u00a0 $report = &#8216;\\\\ADDS01\\SoftwareDeployment$\\report.txt&#8217;<\/div>\n<div>\u00a0 \u00a0 Add-Content -Path $report -Value &#8220;$(hostname) `t`t$(Get-Date)&#8221;<\/div>\n<div>}<\/div>\n<div>else {<\/div>\n<div>}<\/div>\n<\/div>\n<\/div>\n<\/blockquote>\n<div>\n<h3><strong>3.) \u0e2a\u0e23\u0e49\u0e32\u0e07 GPO \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23 Deploy Software<\/strong><\/h3>\n<\/div>\n<div>\u0e1d\u0e31\u0e48\u0e07 Windows Server \u0e17\u0e33\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 GPO \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e14\u0e39\u0e15\u0e31\u0e27\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e44\u0e14\u0e49\u0e43\u0e19\u0e02\u0e49\u0e2d 1.3 <a href=\"https:\/\/www.ablenet.co.th\/en\/2024\/07\/25\/how-to-deploy-msi-files-via-gpo\/\">\u0e02\u0e2d\u0e07\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a<\/a><\/div>\n<div><\/div>\n<div>\u0e42\u0e14\u0e22\u0e08\u0e30\u0e44\u0e14\u0e49\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c\u0e14\u0e31\u0e07\u0e23\u0e39\u0e1b\u0e04\u0e23\u0e31\u0e1a \u0e42\u0e14\u0e22\u0e43\u0e19 LAB \u0e08\u0e30\u0e17\u0e33\u0e01\u0e32\u0e23\u0e2a\u0e23\u0e49\u0e32\u0e07 GPO \u0e44\u0e27\u0e49\u0e1a\u0e19 OU IT \u0e04\u0e23\u0e31\u0e1a<\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-7411 aligncenter\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-00-04.png\" alt=\"\" width=\"1546\" height=\"959\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-00-04.png 1546w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-00-04-300x186.png 300w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-00-04-1024x635.png 1024w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-00-04-768x476.png 768w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-00-04-1536x953.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/div>\n<div><\/div>\n<div>3.1 \u0e04\u0e25\u0e34\u0e01\u0e02\u0e27\u0e32\u0e17\u0e35\u0e48 Foxit Reader \u0e41\u0e25\u0e49\u0e27\u0e40\u0e25\u0e37\u0e2d\u0e01 Edit<\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-7412 aligncenter\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-21-25.png\" alt=\"\" width=\"1546\" height=\"959\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-21-25.png 1546w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-21-25-300x186.png 300w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-21-25-1024x635.png 1024w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-21-25-768x476.png 768w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-21-25-1536x953.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/div>\n<div><\/div>\n<div>3.2 \u0e04\u0e25\u0e34\u0e01 Computer Configuration \u0e2b\u0e23\u0e37\u0e2d\u0e08\u0e30\u0e04\u0e25\u0e34\u0e01 User Configuration \u0e01\u0e47\u0e44\u0e14\u0e49\u0e04\u0e23\u0e31\u0e1a \u0e41\u0e25\u0e49\u0e27\u0e41\u0e15\u0e48\u0e08\u0e30 Design \u0e04\u0e23\u0e31\u0e1a \u0e43\u0e19 LAB \u0e19\u0e35\u0e49 \u0e40\u0e25\u0e37\u0e2d\u0e01\u0e43\u0e0a\u0e49\u0e27\u0e34\u0e18\u0e35\u0e40\u0e1b\u0e47\u0e19 Computer Configuration \u0e04\u0e23\u0e31\u0e1a<\/div>\n<blockquote>\n<div>Computer Configuration &#8211;&gt; Policies &#8211;&gt; Windows Settings &#8211;&gt; Scripts (Startup\/Shutdown) &#8211;&gt; Logon<\/div>\n<\/blockquote>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7426\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-00-47-13.png\" alt=\"\" width=\"1546\" height=\"959\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-00-47-13.png 1546w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-00-47-13-300x186.png 300w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-00-47-13-1024x635.png 1024w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-00-47-13-768x476.png 768w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-00-47-13-1536x953.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/div>\n<div><\/div>\n<div><\/div>\n<div>3.3 \u0e40\u0e25\u0e37\u0e2d\u0e01 Browse \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e40\u0e25\u0e37\u0e2d\u0e01 Script<\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7427\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-03-48.png\" alt=\"\" width=\"1546\" height=\"959\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-03-48.png 1546w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-03-48-300x186.png 300w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-03-48-1024x635.png 1024w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-03-48-768x476.png 768w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-03-48-1536x953.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/div>\n<div><\/div>\n<div>3.4 Copy \u0e44\u0e1f\u0e25\u0e4c PS script \u0e44\u0e1b\u0e27\u0e32\u0e07\u0e44\u0e27\u0e49\u0e43\u0e19 Default PATH \u0e17\u0e35\u0e48\u0e40\u0e1b\u0e34\u0e14\u0e21\u0e32\u0e04\u0e23\u0e31\u0e49\u0e07\u0e41\u0e23\u0e01 <strong>(\u0e2b\u0e49\u0e32\u0e21\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19 PATH \u0e40\u0e14\u0e47\u0e14\u0e02\u0e32\u0e14) \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e04\u0e25\u0e34\u0e01 Open<br \/>\n<\/strong><\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-7418 aligncenter\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-45-37.png\" alt=\"\" width=\"1546\" height=\"959\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-45-37.png 1546w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-45-37-300x186.png 300w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-45-37-1024x635.png 1024w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-45-37-768x476.png 768w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-21-21-45-37-1536x953.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/div>\n<div><\/div>\n<div>3.5 \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19\u0e04\u0e25\u0e34\u0e01 OK \u0e41\u0e25\u0e30 Apply \u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e27\u0e48\u0e32 \u0e21\u0e35 powershell script \u0e16\u0e39\u0e01 add \u0e44\u0e27\u0e49\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19 Startup \u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22\u0e41\u0e25\u0e49\u0e27<\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7428\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-06-11.png\" alt=\"\" width=\"1546\" height=\"959\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-06-11.png 1546w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-06-11-300x186.png 300w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-06-11-1024x635.png 1024w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-06-11-768x476.png 768w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-06-11-1536x953.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/div>\n<div><\/div>\n<div>3.6 \u0e40\u0e1b\u0e34\u0e14 CMD &#8211;&gt; \u0e1e\u0e34\u0e21\u0e1e\u0e4c\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 gpupdate \u0e40\u0e1e\u0e37\u0e48\u0e2d Update GPO \u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e1e\u0e36\u0e48\u0e07\u0e08\u0e30 Config<\/div>\n<div><\/div>\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7429\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-14-20.png\" alt=\"\" width=\"1546\" height=\"959\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-14-20.png 1546w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-14-20-300x186.png 300w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-14-20-1024x635.png 1024w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-14-20-768x476.png 768w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-Server-2022-2024-08-22-01-14-20-1536x953.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/div>\n<div><\/div>\n<h3><strong>4.) \u0e15\u0e23\u0e27\u0e08\u0e2a\u0e2d\u0e1a\u0e27\u0e48\u0e32 Software Deployed \u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22\u0e41\u0e25\u0e49\u0e27<br \/>\n<\/strong><\/h3>\n<p>\u0e43\u0e2b\u0e49\u0e17\u0e33\u0e01\u0e32\u0e23 Restart \u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 Client \u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e08\u0e30 Deploy Software \u0e17\u0e35\u0e48\u0e2d\u0e22\u0e39\u0e48\u0e43\u0e19 OU \u0e17\u0e35\u0e48\u0e40\u0e23\u0e32\u0e41\u0e1b\u0e30 GPO \u0e25\u0e07\u0e44\u0e1b<\/p>\n<p>\u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e27\u0e48\u0e32 Foxit Reader \u0e21\u0e35\u0e01\u0e32\u0e23 Install \u0e25\u0e07\u0e44\u0e1b\u0e43\u0e19\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 Client \u0e40\u0e23\u0e35\u0e22\u0e1a\u0e23\u0e49\u0e2d\u0e22<\/p>\n<p>\u0e41\u0e25\u0e30\u0e08\u0e32\u0e01 PS Script \u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e27\u0e48\u0e32 \u0e21\u0e35\u0e01\u0e32\u0e23\u0e43\u0e2b\u0e49\u0e40\u0e02\u0e35\u0e22\u0e19 hostname \u0e02\u0e2d\u0e07\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 \u0e41\u0e25\u0e30\u0e40\u0e27\u0e25\u0e32\u0e17\u0e35\u0e48 Install Software \u0e25\u0e07\u0e44\u0e1b\u0e43\u0e19\u0e44\u0e1f\u0e25\u0e4c report.txt \u0e0b\u0e36\u0e48\u0e07\u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e27\u0e48\u0e32 Script \u0e44\u0e14\u0e49 Run \u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08\u0e41\u0e25\u0e49\u0e27<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7430\" src=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-22-02-11-14.png\" alt=\"\" width=\"1546\" height=\"959\" srcset=\"https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-22-02-11-14.png 1546w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-22-02-11-14-300x186.png 300w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-22-02-11-14-1024x635.png 1024w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-22-02-11-14-768x476.png 768w, https:\/\/www.ablenet.co.th\/wp-content\/uploads\/2024\/08\/Windows-10-x64-2024-08-22-02-11-14-1536x953.png 1536w\" sizes=\"(max-width: 1546px) 100vw, 1546px\" \/><\/p>\n<p><strong>Remark<\/strong><\/p>\n<p>1.) UNC Folder \u0e15\u0e49\u0e2d\u0e07\u0e40\u0e1b\u0e34\u0e14 Permission \u0e43\u0e2b\u0e49\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e17\u0e35\u0e48\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e44\u0e14\u0e49 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16 Write \u0e44\u0e14\u0e49 \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e08\u0e30 Write Logs \u0e25\u0e07\u0e44\u0e1b<\/p>\n<p>2.) \u0e15\u0e31\u0e27\u0e41\u0e1b\u0e23 $folder \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2b\u0e32\u0e44\u0e14\u0e49\u0e42\u0e14\u0e22 install software \u0e25\u0e07\u0e44\u0e1b\u0e01\u0e48\u0e2d\u0e19 \u0e41\u0e25\u0e30\u0e14\u0e39\u0e01\u0e32\u0e23\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e41\u0e1b\u0e25\u0e07 \u0e27\u0e48\u0e32\u0e21\u0e35 Folder \u0e44\u0e2b\u0e19 \u0e17\u0e35\u0e48\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e02\u0e49\u0e2d\u0e07\u0e01\u0e31\u0e1a Software \u0e19\u0e31\u0e49\u0e19\u0e46\u0e1a\u0e49\u0e32\u0e07<\/p>\n<p>3.) Arguement \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23\u0e17\u0e33 Silent Install \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2b\u0e32\u0e44\u0e14\u0e49\u0e08\u0e32\u0e01 website \u0e1c\u0e39\u0e49\u0e1c\u0e25\u0e34\u0e15 Software \u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a<\/p>\n<p>4.) \u0e16\u0e49\u0e32\u0e43\u0e0a\u0e49\u0e17\u0e48\u0e32\u0e19\u0e35\u0e49 \u0e43\u0e19\u0e01\u0e32\u0e23 Deploy Software \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a Users , User \u0e19\u0e31\u0e49\u0e19 \u0e15\u0e49\u0e2d\u0e07\u0e21\u0e35 role \u0e40\u0e1b\u0e47\u0e19 admin \u0e40\u0e1e\u0e23\u0e32\u0e30\u0e08\u0e30\u0e15\u0e34\u0e14 UAC \u0e04\u0e23\u0e31\u0e1a\u0e1c\u0e21<\/p>\n<p>&nbsp;<\/p>\n<p>\u0e08\u0e1a\u0e44\u0e1b\u0e41\u0e25\u0e49\u0e27\u0e04\u0e23\u0e31\u0e1a\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e19\u0e46 \u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21 \u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23 Deploy Software (.exe) \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 Group Policy Object (GPO) \u0e2b\u0e27\u0e31\u0e07\u0e27\u0e48\u0e32\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49 \u0e08\u0e30\u0e40\u0e1b\u0e47\u0e19\u0e1b\u0e23\u0e30\u0e42\u0e22\u0e0a\u0e19\u0e4c\u0e41\u0e01\u0e48\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e19\u0e46\u0e17\u0e35\u0e48\u0e2a\u0e19\u0e43\u0e08 \u0e41\u0e25\u0e30\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e19\u0e33\u0e44\u0e1b\u0e1b\u0e23\u0e30\u0e22\u0e38\u0e01\u0e15\u0e4c \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e2b\u0e49\u0e07\u0e32\u0e19\u0e2a\u0e33\u0e40\u0e23\u0e47\u0e08\u0e44\u0e14\u0e49\u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a<\/p>\n<p>\u0e02\u0e2d\u0e1a\u0e04\u0e38\u0e13\u0e04\u0e23\u0e31\u0e1a\u0e1c\u0e21<\/p>\n<p>Ref. for trobleshooting:<\/p>\n<p><a href=\"https:\/\/medium.com\/@bonguides25\/how-to-deploy-an-exe-file-using-group-policy-5606107ee644\">https:\/\/medium.com\/@bonguides25\/how-to-deploy-an-exe-file-using-group-policy-5606107ee644<\/a><\/p>\n<p><a href=\"https:\/\/activedirectorypro.com\/deploy-software-exe-using-group-policy-part-2\/\">https:\/\/activedirectorypro.com\/deploy-software-exe-using-group-policy-part-2\/<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>\u0e2a\u0e27\u0e31\u0e2a\u0e14\u0e35\u0e04\u0e23\u0e31\u0e1a\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e19\u0e46 \u0e08\u0e32\u0e01\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e1b\u0e47\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e40\u0e01\u0e35\u0e48\u0e22\u0e27\u0e01\u0e31\u0e1a \u0e27\u0e34\u0e18\u0e35\u0e01\u0e32\u0e23 Deploy Software (.msi) \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 Group Policy Object (GPO) \u0e42\u0e14\u0e22\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e2d\u0e48\u0e32\u0e19\u0e44\u0e14\u0e49 \u0e15\u0e32\u0e21\u0e25\u0e34\u0e07\u0e04\u0e4c\u0e19\u0e35\u0e49\u0e44\u0e14\u0e49\u0e40\u0e25\u0e22\u0e04\u0e23\u0e31\u0e1a https:\/\/www.ablenet.co.th\/2024\/07\/25\/how-to-deploy-msi-files-via-gpo\/ \u0e21\u0e32\u0e43\u0e19\u0e1a\u0e17\u0e04\u0e27\u0e32\u0e21\u0e19\u0e35\u0e49 \u0e08\u0e30\u0e40\u0e1b\u0e47\u0e19\u0e01\u0e32\u0e23 Deploy Software (.exe) \u0e42\u0e14\u0e22\u0e43\u0e0a\u0e49 GPO \u0e40\u0e0a\u0e48\u0e19\u0e40\u0e14\u0e35\u0e22\u0e27\u0e01\u0e31\u0e19\u0e04\u0e23\u0e31\u0e1a \u0e40\u0e1e\u0e35\u0e22\u0e07\u0e41\u0e15\u0e48\u0e17\u0e48\u0e32\u0e17\u0e35\u0e48 Config \u0e2d\u0e32\u0e08\u0e41\u0e15\u0e01\u0e15\u0e48\u0e32\u0e07\u0e40\u0e25\u0e47\u0e01\u0e19\u0e49\u0e2d\u0e22 \u0e41\u0e25\u0e30\u0e21\u0e35\u0e01\u0e32\u0e23\u0e40\u0e02\u0e35\u0e22\u0e19 powershell script \u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e43\u0e0a\u0e49\u0e43\u0e19\u0e01\u0e32\u0e23 Deploy Software \u0e42\u0e14\u0e22\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e19\u0e46 \u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e17\u0e33\u0e15\u0e32\u0e21\u0e44\u0e14\u0e49 \u0e40\u0e1b\u0e47\u0e19 Step by Step \u0e44\u0e14\u0e49\u0e40\u0e25\u0e22\u0e04\u0e23\u0e31\u0e1a \u0e42\u0e14\u0e22 Lab \u0e08\u0e30\u0e21\u0e35 Diagram \u0e14\u0e31\u0e07\u0e23\u0e39\u0e1b\u0e04\u0e23\u0e31\u0e1a Pre-requisite (\u0e2a\u0e34\u0e48\u0e07\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e40\u0e15\u0e23\u0e35\u0e22\u0e21) 1.) Windows server \u0e17\u0e35\u0e48 Promote AD \u0e41\u0e25\u0e49\u0e27 2.) Windows [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":7433,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[117,23,570,605,599,598,314],"class_list":["post-7400","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-article","tag-active-directory","tag-ad","tag-deployment","tag-exe","tag-gpo","tag-group-policy-objects","tag-windows-server"],"_links":{"self":[{"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/posts\/7400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/comments?post=7400"}],"version-history":[{"count":19,"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/posts\/7400\/revisions"}],"predecessor-version":[{"id":7434,"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/posts\/7400\/revisions\/7434"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/media\/7433"}],"wp:attachment":[{"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/media?parent=7400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/categories?post=7400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ablenet.co.th\/en\/wp-json\/wp\/v2\/tags?post=7400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}