+ 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
    12

    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. #2
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32
    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

  3. Thanks to meastaugh1 from:

    Tricks (7th September 2009)

  4. #3

    Join Date
    Dec 2008
    Posts
    67
    Thank Post
    11
    Thanked 4 Times in 4 Posts
    Rep Power
    12
    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.

  5. #4


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,688
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    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!))

  6. Thanks to kmount from:

    Tricks (9th September 2009)

  7. #5

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,930
    Thank Post
    1,337
    Thanked 1,781 Times in 1,105 Posts
    Blog Entries
    19
    Rep Power
    594
    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.

  8. #6

    Join Date
    Dec 2008
    Posts
    67
    Thank Post
    11
    Thanked 4 Times in 4 Posts
    Rep Power
    12
    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.

  9. #7


    Join Date
    Mar 2009
    Location
    Leeds
    Posts
    6,580
    Thank Post
    228
    Thanked 853 Times in 732 Posts
    Rep Power
    294
    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

  10. Thanks to sted from:

    Tricks (9th September 2009)

  11. #8
    meastaugh1's Avatar
    Join Date
    Jul 2006
    Location
    London/Hertfordshire
    Posts
    890
    Thank Post
    69
    Thanked 85 Times in 70 Posts
    Rep Power
    32
    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}

  12. Thanks to meastaugh1 from:

    Tricks (9th September 2009)

  13. #9

    mattx's Avatar
    Join Date
    Jan 2007
    Posts
    9,240
    Thank Post
    1,058
    Thanked 1,068 Times in 625 Posts
    Rep Power
    740
    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.

  14. Thanks to mattx from:

    Tricks (9th September 2009)

  15. #10

    Join Date
    Dec 2008
    Posts
    67
    Thank Post
    11
    Thanked 4 Times in 4 Posts
    Rep Power
    12
    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 MrPstv 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
  •