+ Post New Thread
Results 1 to 10 of 10
Windows Server 2008 Thread, Uninstalling software (Active Directory) in Technical; Hello, I have removed some software that was deployed via a Group Policy, and had chosen to "Allow users to ...
  1. #1

    Join Date
    Dec 2008
    Posts
    67
    Thank Post
    11
    Thanked 4 Times in 4 Posts
    Rep Power
    10

    Uninstalling software (Active Directory)

    Hello,

    I have removed some software that was deployed via a Group Policy, and had chosen to "Allow users to continue to use the software" (was hoping to upgrade the software). I have now decided I should have uninstalled the software when I removing from the policy. Can anyone recommend a way to the uninstall software?

    Window Server 2008 / Windows XP clients

    Thanks

  2. IDG Tech News
  3. #2
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    868
    Thank Post
    63
    Thanked 78 Times in 65 Posts
    Rep Power
    29
    Yes, you could use a batch file or script as a startup script to run the MSI uninstall routine.

    For example a batch file might look like:
    Code:
    if not exist "c:\program files\program x\program x.exe" goto end
    %windir%\system32\msiexec.exe /x {GUID}/path to MSI /qn
    :end

  4. Thanks to meastaugh1 from:

    Tricks (7th September 2009)

  5. #3

    Join Date
    Dec 2008
    Posts
    67
    Thank Post
    11
    Thanked 4 Times in 4 Posts
    Rep Power
    10
    Thanks meastaugh1.

    On a related note I have another issue I'd appreciate some help with.

    I have a package I removed from a group policy (selected to uninstall from clients) but the uninstall is failing on some machines. This isn't really a problem, other than every time these machines boot up it tries to uninstall this package again. Is there anyway to cancel the uninstall, so to speak.

    Thanks
    Last edited by Tricks; 8th September 2009 at 12:28 PM.

  6. #4


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,571
    Thank Post
    345
    Thanked 765 Times in 691 Posts
    Rep Power
    280
    Ah, sticky spot

    How many machines are you talking about for this? Might be easier to try and log onto one of them and manually uninstall it to see if this clears it up. (or use msizap to clean up the cruft in the msi database if it's removed the app but cried over some file that's changed (windows update is a classic for this!))

  7. Thanks to kmount from:

    Tricks (9th September 2009)

  8. #5

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Kettering, Northants
    Posts
    10,118
    Thank Post
    1,278
    Thanked 1,689 Times in 1,062 Posts
    Blog Entries
    19
    Rep Power
    552
    The other option (depending on speed) is to reapply the package via GPO, leave it for a few days until you are sure all machines have it installed, then remove it again via GPO but without the option to leave available for users.

    Many ways to skin a cat.

  9. #6

    Join Date
    Dec 2008
    Posts
    67
    Thank Post
    11
    Thanked 4 Times in 4 Posts
    Rep Power
    10
    To be more specific (and you are going to put your head in your hands with this one) but the package in question is one of the .Net frameworks and the reason it's failing is some machines had a newer version and won't allow the older version to uninstall as it depends on it.

    Due to the quantity of machines (and staff laptops) I'm keen for a registry hack to stop the uninstall.

  10. #7


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    4,919
    Thank Post
    172
    Thanked 657 Times in 569 Posts
    Rep Power
    207
    Quote Originally Posted by Tricks View Post
    Thanks meastaugh1.

    On a related note I have another issue I'd appreciate some help with.

    I have a package I removed from a group policy (selected to uninstall from clients) but the uninstall is failing on some machines. This isn't really a problem, other than every time these machines boot up it tries to uninstall this package again. Is there anyway to cancel the uninstall, so to speak.

    Thanks
    if its only a few pcs the microsoft installed cleanup tool usually fixes it Description of the Windows Installer CleanUp Utility

  11. Thanks to sted from:

    Tricks (9th September 2009)

  12. #8
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    868
    Thank Post
    63
    Thanked 78 Times in 65 Posts
    Rep Power
    29
    Quote Originally Posted by sted View Post
    if its only a few pcs the microsoft installed cleanup tool usually fixes it Description of the Windows Installer CleanUp Utility
    Even if it is more than a few (and it sounds like there are), you'd use the msizap portion of the WICU as Kim suggested. Afaik msicuu is just a front-end for msizap anyway. As with the msiexec command line above it accepts the path to the source MSI or the product code GUID to identify the package. For instance msizap.exe TW! {.net Product Code GUID}

  13. Thanks to meastaugh1 from:

    Tricks (9th September 2009)

  14. #9

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    8,990
    Thank Post
    991
    Thanked 1,019 Times in 600 Posts
    Rep Power
    698
    As already stated - the windows clean up Util [ part of the admin bar - see below ] - check out: MSI Manager - [ only installs but may help in the future ]

    MSI Manager: Reinstall Applications Assigned by Group Policy teknotes.wordpress.com

    This will go on the next admin bar when I get round to updating it.

  15. Thanks to mattx from:

    Tricks (9th September 2009)

  16. #10

    Join Date
    Dec 2008
    Posts
    67
    Thank Post
    11
    Thanked 4 Times in 4 Posts
    Rep Power
    10
    Thanks guys, will give your suggestions a shot.

SHARE:
+ Post New Thread

Similar Threads

  1. Need software to allow people to change Active Directory through web
    By itschad in forum Network and Classroom Management
    Replies: 0
    Last Post: 8th April 2009, 03:00 AM
  2. Replies: 0
    Last Post: 6th April 2009, 10:26 PM
  3. active directory
    By Hamzah in forum Windows Server 2000/2003
    Replies: 5
    Last Post: 26th March 2009, 07:26 PM
  4. Active Directory
    By Neville in forum Windows
    Replies: 6
    Last Post: 25th June 2008, 03:24 PM
  5. Replies: 7
    Last Post: 31st January 2008, 12:17 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •