Stop removal of MSI package

Posted on 2007-08-02
Last Modified: 2013-11-05
We have rolled out an application using MSI packages with enforced scoping. However, once you take a PC out of the scope of the GPO the removal process does not complete and hangs the computer. Is there a way of manually removing a GPO enforcement off a PC or removing it from Active directory?

The MSI package was of an old application and was modified via transforms to get working. I know why the MSI is failing when requesting the application to be removed, but I can't fix the current version as it stands. I have manually removed the application from a test machine and it still wants to try to run the removal process on computer startup.

I can remove the GPO from the different areas, but that will just trigger the removal, same with deleting the GPO. I edited the GPO to uncheck the enforcement, but it's not sticking.

Any ideas?
Question by:VRBones
    LVL 8

    Assisted Solution

    If it is feasible, you can remove the assignment from the GPO. When you do this, you should be offered a choice of either uninstalling the software, or leaving it installed.

    If that does not work, it may be possible to make the removal process work with some script trickery. I have had MSIs in the past which have not uninstalled cleanly, and these have often been down to services that are not shut down priot to the removal process. I used a startup script to stop and disable the service on the required computers prior to removing the software assignment. If, as you say, you know why the removal is failing, it may be possible to script a way around it.
    LVL 5

    Accepted Solution

    Thanks for the suggestions. I had a ghost of the machines, so I reghosted the offending lab and it's all fixed now. I didn't try removing the package from the GPO, but that may have been a way out. I don't believe any scripting would have helped because I could remove the application manually and the GPO would still want to force an uninstall. The problem isn't so much in removing the application (in fact I needed the application back on after upgrading), more that the removal process itself needs to be halted or circumvented.

    Is there any documentation on how and where it stores what policies are in effect on a client system, so that it knows what packages need to be upgraded / removed?  

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    There are two modes of restricted groups GPOs. Replacing mode:   Additive mode:   How do they work? Replacing mode: Everything (users, groups, computers) that is member of the local administrators group will be cleared out. After th…
    Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
    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…
    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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

    754 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

    20 Experts available now in Live!

    Get 1:1 Help Now