Solved

Software installation via GPO failing

Posted on 2014-02-11
6
1,276 Views
Last Modified: 2014-02-11
Hello All,

Environment: Windows 7 clients, Windows Server 2008 DC

I am trying to install an MSI using GPO. This software deployment policy is configured on Computer Configuration.

I assign the GPO to test OU (with computer accounts) --> run gpupdate /force on computer and restart.

When the computer restarts the software does not install. The only log related to it is the following:  Event 7016 Completed Software Installation Extension Processing in 1796 miliseconds

When I do rsop.msc I can see that the policy its being applied but the Software installation policy is with a yellow exclamation mark.

Where else can I check for hints?
0
Comment
Question by:LuiLui77
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 12

Expert Comment

by:ktaczala
ID: 39851155
are you sure the msi is accessible by the client?  can't be on a mapped drive, gpo will run before drives get mapped.  Make sure path is UNC i.e. \\server\share\app.msi
0
 

Author Comment

by:LuiLui77
ID: 39851185
Yes is accessible by the client, I can even install the msi manually from the UNC path.
0
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 39851211
Have you checked Programs and Features to see if it got installed? I have always discouraged people from using software deployment because you now have to administer the application from the GP Management Console. I would prefer doing this in a startup script format (if you have to use GPO to deploy software).

You can use the below syntax to accomplish this...
@echo on

if exist "%programfiles%\SoftwareFolder\SubFolder\software.dll" goto _End

Pushd "\\server\sharename\SoftwareFolder\"
MSIEXEC.exe /i "Program.msi" /q
popd

:_End

exit

Open in new window

You will then need to add this as a startup script and make sure that everyone has read/execute to this Share you have the files in.

If you still would rather use the software deployment method you will want to check the event logs as it will provide the most detail for the failure.

Will.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:LuiLui77
ID: 39851248
Thanks Will, it does not even display in the Programs and features. Let me try the script. I will keep you posted.
0
 
LVL 9

Expert Comment

by:discgman
ID: 39851392
Also make sure it didnt detect a previous install or stalled at the wmi installation. Here are some commands to clear this.

http://social.technet.microsoft.com/Forums/windows/en-US/6c6a8b45-d2a7-4fd9-940e-41dd9e77fb7e/windows-installer-corrupted

Please please be careful when running anything in the registry, you do not want to make a mistake and cause more issues.


Thanks
0
 

Author Comment

by:LuiLui77
ID: 39851651
Will it worked Perfect, I will start on using this method, it seems a lot more controllable.

Thanks!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
A company’s centralized system that manages user data, security, and distributed resources is often a focus of criminal attention. Active Directory (AD) is no exception. In truth, it’s even more likely to be targeted due to the number of companies …
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question