Solved

Software installation via GPO failing

Posted on 2014-02-11
6
1,336 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

690 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