?
Solved

Software installation via GPO failing

Posted on 2014-02-11
6
Medium Priority
?
1,407 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 2000 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
Suggested Courses

770 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