Solved

Software installation via GPO failing

Posted on 2014-02-11
6
1,179 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
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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

914 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now