About
Pricing
Community
Teams
Start Free Trial
Log in
techgenious
asked on
3/19/2012
Deploying MSI via group policies
I want to deploy a software package [MSI], via group policy.
Right now it is: assigned / Computers in a test OU.
When I apply this does the test computer have to be rebooted for the GPO to take affect?
Windows Server 2008 R2.
Thanks
Windows Server 2008
8
1
Last Comment
techgenious
8/22/2022 - Mon
IT-Shrek
3/19/2012
no, just wait some time or force manual refresh with gpupdate /force in a cmd window.
chakko
3/19/2012
You can do a gpupdate /force and then it should install during the boot/Windows startup process (before the logon screen appears).
Don
3/19/2012
GPO software installs *Only* take place during the startup process.
So yes you will need to reboot
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
techgenious
3/19/2012
ASKER
can I do a automatic install without rebooting using a batch file:
msiexec.exe \\xyz.com\gpo$\Inventory\T
EST.msi /qn /norestart
Put it in the GPO, and this will push out automatically to all the servers I have in an OU, without user intervention and server reboots?
Don
3/19/2012
Would you be using the .bat as a logon script ?
Do users have admin rights ?
techgenious
3/19/2012
ASKER
Do I need more than this?
Yes Administrative rights, etc.
msiexec.exe \\xyz.com\gpo$\Inventory\T
EST.msi /qn /norestart
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
ASKER CERTIFIED SOLUTION
BigRedRPB
3/20/2012
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
techgenious
3/20/2012
ASKER
It has to be done via PowerShell Script, so I was able to do the MSIE command which I have to embed into PS.
msiexec /i "\\xyz.com\gpo$\TestInvent
ory\Test Inventory.msi" /quiet /norestart
That worked when I tried it @ the command line.
Now I have to put that into a PowerShell script which I have as:
$script = {
$args = "/i "\\xyz.com\gpo$\TestInvent
ory\Test Inventory.msi" /quiet /norestart
[diagnostics.process]::sta
rt("msiexe
c.exe", $args).WaitForExit()
}
I am going to try this script and see if it works from Power Shell ISE