Question

Deploying MSI Packages via Group Policy

Asked by: DVation191

I'm trying to to deploy XP SP2 through group policy.
Following the instructions here...
Guide for Installing and Deploying Microsoft® Windows® XP Service Pack 2
http://www.microsoft.com/technet/prodtechnol/winxppro/deploy/spdeploy.mspx

..it explains how to do this. I extracted the network install of SP2. I put it on a shared folder on the DC. I built a new OU called Test Environment and put a user and their machine account in there. I built a new group policy under the "Computer Configuration" part of the GPE and pointed to the network path of the Update.msi. Once I had that set up I ran SECEDIT /REFRESHPOLICY to propogate the policy through the domain. I went to the machine I am using to test it with and rebooted a few times...nothing is happening. What am I missing here?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-11-04 at 10:18:04ID21194831
Tags

msi

,

new

,

package

,

propogate

,

sp2

Topic

Operating Systems Miscellaneous

Participating Experts
3
Points
500
Comments
21

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Can't deploy MSI Packages
    I got a MSI package that I want to deploy through Group Policy so I don't have to install it on each individual pc. My goal is this, as soon the user puts in her username/password for my MSI package to automatically install it for them. Or, is it possible before they are pr...
  2. Deploying software
    I have a windows 2000 active directory domain, and about 100 clients, I want to deploy an icon to all the users start-up menu or desktop. Is there a way I can do this with group policy or some other way? Also being able to deploy software to all people in a specific OU would ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: jmelikaPosted on 2004-11-04 at 10:20:12ID: 12496446

If you go to Add/Remove Programs, does it show up under Add New Programs?

 

by: DVation191Posted on 2004-11-04 at 10:22:50ID: 12496477

No. Unless it was the fastest SP2 install I've ever seen, it isn't installed. System properties also refllect the OS is only at SP1

 

by: ViRoyPosted on 2004-11-04 at 10:38:13ID: 12496663


eh, SP2 seems to cause more problems than fix
our new policy is not to install office xp sp2 :(

 

by: Debsyl99Posted on 2004-11-04 at 10:38:21ID: 12496666

Hi

Download and install the GPMC on an XP client (It will work on an XP SP1 client with .net framework installed and will work on a pure 2000 server based domain) - It will tell you what policies are being applied, what aren't and any issues and is generally massively useful for administering group policy and it's results. You also need to make sure that Domain Computers have permissions to access the network share containing the MSI, and you also need to make sure that Domain Computers have read and apply rights on the group policy object. You don't need a user in there I don't think as this is a assigned to a machine, and on the policy itself it may help to disable the user configuration part as this can sometimes conflict. You'll also need to make sure the policy for "Always wait for the network at startup and logon" is configured on the workstations, as the fast logon optimisation feature can cause policy not to apply,

Once all this is set, from the XP workstation type this from a command prompt - gpupdate /force - It should then prompt for a reboot,

Description of the Windows XP Professional Fast Logon Optimization Feature
http://support.microsoft.com/default.aspx?scid=kb;en-us;305293
Enterprise Management with the Group Policy Management Console
http://www.microsoft.com/windowsserver2003/gpmc/default.mspx

Deb :))

 

by: jmelikaPosted on 2004-11-04 at 10:47:08ID: 12496760

DVation,

Did you choose to "Assign" or "Publish" the MSI package?  Here are the key points that I can think of:

- Is the Package setup correctly or not?  That includes the "Auto Install"
- Is the package available to the client over UNC?  Is the path to the package defined as UNC or regular path in GPO?
- Is the client in the correct OU that has the GPO assigned to?
- Does the isntallation even start?  It's possible that it starts but then it fails.  You could probably create a verbose output in the setup to test this one.

JM

 

by: DVation191Posted on 2004-11-04 at 10:52:55ID: 12496825

I've disabled Fast Logon Optimization through group policy to eliminate that possibility. I granted full read/write permissions to the share and the gpo for the time being to eliminate the possibility of it being a permissions issue. I have also left only the machine account in the testing OU. I removed the user account to avoid any conflicts.

I ran gpupdate /force  on the client. The command completed sucessfully. Upon reboot, nothing happened.

I am going to see what I can find out from the GPMC. In the meantime I'm open to more suggestions.

 

by: jmelikaPosted on 2004-11-04 at 10:57:34ID: 12496877

DVation,

Try to create some new setting in the same GPO, for instance to "Run these programs at user login" and have it run a CMD.exe for example.  Do the secedit thing to enforce your GP changes and reboot.  If CMD starts up, then we know that it's either bad package, bad path, or something other than GPO is just not running.

I try to eliminate what I can in troubleshooting to easily figure out where to look.

Let us know.

JM

 

by: DVation191Posted on 2004-11-04 at 10:58:01ID: 12496884

"Did you choose to "Assign" or "Publish" the MSI package? "
Per the MS document I was reading, I choose "Assign" ...should the be "Publish" ? What's the difference?

"Is the Package setup correctly or not?  That includes the "Auto Install"
I am using the Update.msi that came with XP SP2. I don't know what you are referring to when you say "Auto Install". I know there are parameters I can pass an .msi file to make an install silent, but I have no idea how to do this when deployed via group policy. That was going to be something I was going to tackle once I got this working :)

"Is the package available to the client over UNC?  Is the path to the package defined as UNC or regular path in GPO?"
From the client I can access the share using the UNC, that is correct. The GPO had the UNC define, not the local path. I was warned about that in the documentation I was reading and was careful about that.

"Is the client in the correct OU that has the GPO assigned to?"
I right-click the Test OU and go to properties, then edit the group policy tab. This Test OU has the one machine account I am traying to make this work on. So to answer your question...I think so :)

"Does the isntallation even start?  It's possible that it starts but then it fails.  You could probably create a verbose output in the setup to test this one."
If it starts, it fails too quickly for me to even tell.

 

by: DVation191Posted on 2004-11-04 at 11:23:14ID: 12497139

" Try to create some new setting in the same GPO, for instance to "Run these programs at user login" and have it run a CMD.exe for example. "

I don't know if I did this right, in the GPE
User Configuration > Admin Templates > System > Logon/Logoff > Run these programs at user login > enabled
I added C:\WINDOWS\SYSTEM32\cmd.exe
I forced a refresh on the client and rebooted. CMD.EXE did *not* show up.

I'd like to add that the GPO for the domain (Default Domain Policy) *is* working because my firewall settings and automatic update settings are unchangable and managed by group policy. So I know my domain policy is working...but I can't get this policy for this particular OU working. Maybe I did something wrong in creating it?

I right clicked domain.local in AD Users and Computers, went to New > Organizational Unit
I called it "Test Environment". I then found the computer I was testing  in the Computers OU and right clicked it, choose "Move..." and moved it to the new OU. To edit it's GP, I right click the new OU, go to properties, Group Policy tab, then I added the default policy and edit from there. Hopefully this will help you experts diagnose my problem here! Thanks for all the effort so far!

 

by: jmelikaPosted on 2004-11-04 at 11:29:01ID: 12497189

Bingo.  We have a thread now.  We know that this GPO is not being applied.  Before we go any further, do you happen to have multiple domain controllers?  It's likely in that case that you're authenticating to the other DC which does not have the changes replicated to it yet.  If you don't, then it can't be that.  Go to command prompt on this client and do
ECHO %LOGONSERVER%
it should display the name of the domain controller you're logging on to.  It's worth a shot.

 

by: DVation191Posted on 2004-11-04 at 11:29:58ID: 12497199

No, there is one one DC.

 

by: DVation191Posted on 2004-11-04 at 11:31:40ID: 12497215

"No, there is only one DC"

I don't really know how inheritance works...could that have something to do with it? There is an option to block inheritance although I don't think I want to do that because then the client would not get all the other domain-wide policies applied.

Also,
"Did you choose to "Assign" or "Publish" the MSI package? "
Per the MS document I was reading, I choose "Assign" ...should the be "Publish" ? What's the difference?

 

by: jmelikaPosted on 2004-11-04 at 11:36:05ID: 12497251

Assign will let execute the isntallation package upon login.  Publish will place it in the Add/Remote Programs under the Add New Programs list.  That is the reason I asked if you saw it there, but you answered no, so you assigned it which is the right thing to do.

We can tell that the entire GPO is not being executed for some reason.  That's why I asked you to test running the CMD file in the same GPO.  We know it's not the "Package" but it's the GPO itself.

Let's try to block inheritance.  It could possibly be something in the domain wide GPO that's causing this not to run.  It's worth a shot since we're playing around on a test machine and not domain wide.

 

by: DVation191Posted on 2004-11-04 at 11:43:50ID: 12497339

I have something interesting here. I ran the GPMC on the client. It turns out that the OU Policy is being denied.

Name: {049E9C8D-A22D-4C55-A610-F3FF061AD957}
Link: domain.local/Test Environment
Location:
Reason Denied: Inaccessible

So the question is, why is the GP inaccessible and how do I fix it?

 

by: jmelikaPosted on 2004-11-04 at 11:50:35ID: 12497409

 

by: DVation191Posted on 2004-11-04 at 11:52:26ID: 12497429

I think I got it... I went to the properties og the GPO and added the computer name with full permissions. When I ran the gpupdate /force on the client, it actually said it needed to reboot to apply the settings (it hadn't done that unitl now)...i think that may have done the trick...ill let you know how it goes!

 

by: DVation191Posted on 2004-11-04 at 11:54:12ID: 12497449

Holy Sh*t it's working! lol
Before I could even log on....XP is showing me a window...
"Installing managed software Windows XP Service Pack 2 (1033)"

Its working! Now I need to figure out what permissions I can make just read only so this works without full permissions.

 

by: jmelikaPosted on 2004-11-04 at 11:55:28ID: 12497463

Right On!

Read Only to the folder should work.  Glad to hear it's working for ya now.

JM

 

by: DVation191Posted on 2004-11-04 at 12:12:12ID: 12497667

SP2 installed but interestingly enough, cmd.exe didn't run. I think I know why though...because it was configured under "User Configuration" and the only object in the OU was a computer account right?

 

by: DVation191Posted on 2004-11-04 at 12:29:55ID: 12497823

Alright, well anyway...thanks for all your help jmelika. I have to award Debsyl99 some points too since the GPMC is what tipped me off. Thanks to both of you!

 

by: jmelikaPosted on 2004-11-04 at 13:14:54ID: 12498310

Great to hear you're all done!  Thanks for the points.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...