Posted On July 17, 2019

Deploy MSI Using Group Policy

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Deploy MSI Using Group Policy

0. If the deployment package is in an .EXE format, it’s recommended that such file be converted into an MSI using this tool: https://www.exemsi.com/download/

1. Make MSI Accessible at Distribution Point
– Use a network share that is accessible to targeted domain users
– Copy the MSI executable into that share (e.g. “\\fs\software\Polycom\Polycom_BToE_Connector_4.0.0.0 (new for 2019-07-19)\Polycom_BToE_Connector_4.0.0.0.msi”

2. Create Group Policy
– Create New GP: Group Policy Management > navigate to Forest > Domains > {Domain Name} > Group Policy Objects > scan for any related policies; if none is found, right-click Group Policy Objects > New > follow the wizard to create a blank GP with a recognizable name
– Edit GP: Right-click on newly created GP > edit > Computer Configuration > Policies > Software Settings > right-click Software Installation > New > Package > input the UNC path toward MSI distribution > Open > select Assigned > OK > Click on Deployment tab > Advanced > put a check mark next to “Ignore language when deploying this package” > OK > OK

Repeat these steps to set User Configurations > Policies > Software Settings… Close GP Edit when done.

3. Apply GP toward Targets
– Navigate toward appropriate OU > right-click it > Link and Existing GPO > Select the correct GPO > OK
– ADUC > View > Advanced Settings > right-click domain name > Find > change the Find objects to Computers > input a value of targeted Windows machine in Computer Name > Find Now > right click on resulting object > move > relocate computer object into the Labs OU
– On the target PC, either reboot computer or run gpupdate/force, logout & re-login

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

PowerShell: Kill a Windows Service Forcefully

# killService.ps1 $serviceName='vmms' function killService($serviceName='Spooler',$restart=$false){ $processId=Get-WmiObject -Class Win32_Service -Filter "Name LIKE '$serviceName'"|Select-Object -ExpandProperty ProcessId if($processId.count…

Server Cleanup

Install msizap.exe by installing the SDK package . Run msizap to clean up temporary files…

Implement Docker & Portainer

Prerequisites:OS: base image Centos 7 Create network bridge from command line: # Network: x.x.x.128/26 Range:…
Other project: DragonCoin.com