Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Uninstall msi using GPO?

Posted on 2014-04-07
29
Medium Priority
?
4,176 Views
Last Modified: 2014-04-22
0
Comment
Question by:CHI-LTD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 14
  • 9
  • 3
  • +2
29 Comments
 
LVL 6

Accepted Solution

by:
xeroxzerox earned 400 total points
ID: 39982663
0
 
LVL 22

Assisted Solution

by:Haresh Nikumbh
Haresh Nikumbh earned 800 total points
ID: 39982669
you need to create script to uninstall software with GPO

by the way which software/client do you want to uninstall ?
0
 
LVL 22

Assisted Solution

by:Haresh Nikumbh
Haresh Nikumbh earned 800 total points
ID: 39982672
Every software has some parameters for uninstall, so you can create batch file to referring those parameters and run that batch file using GPO
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 1

Author Comment

by:CHI-LTD
ID: 39982724
i presume that http://www.symantec.com/business/support/index?page=content&id=HOWTO55432 will remove the msi from all machines that is getting this GPO?
0
 
LVL 56

Assisted Solution

by:McKnife
McKnife earned 400 total points
ID: 39982722
No script is needed if the software was deployed as MSI using GPO's native software deployment. In the GPO, select to remove the package and select to uninstall it immediately.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39982730
i can only select uninstall this application when it fails out of the scope of management.
0
 
LVL 38

Assisted Solution

by:Mahesh
Mahesh earned 400 total points
ID: 39982994
Check The 3rd point in Symantec link.

On the Advanced tab, check Uninstall this application when it falls out of the scope of management, and then click OK.

You don't have to remove Software installation package, just select above checkbox in deployed package

Now run gpupdate /force on server

Then just move required client computers from OU where GPO is applied to new OU where GPO is not applied and run gpupdate /force on client computers

Then reboot client computer and hopefully your software will get removed from clients

Mahesh.
0
 
LVL 56

Expert Comment

by:McKnife
ID: 39983000
> i can only select uninstall this application when it fails out of the scope of management.
Right click the package, click on "all tasks", now select remove and then immediately uninstall.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39983123
>Right click the package, click on "all tasks", now select remove and then immediately uninstall.
Surely this is for when the clients have uninstalled automatically as per Mahesh solution?
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39983283
the msi is still there after i have cliented the uninstall tick box.
is this sufficient or should i also right click on the software application and select remove?
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39983286
sorry, im being thick.

i need to run step 5 also dont i?!

In the Remove Software dialog box, check Immediately uninstall the software from users and computers, and then click OK.
0
 
LVL 56

Expert Comment

by:McKnife
ID: 39983289
It is not clear what you want. Mahesh's option should be used if the package needs to be automatically uninstalled at some computers, not all. That would mean for those computers that they would need to leave the OU they are in. To my mind, this is not desirable.

My solution is applicable if you would like to automatically uninstall the application from all machines it had been deployed to without changing OU membership.

Decide for yourself.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39983304
sorry.

want to remove it from all computers.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39983305
so remove the software from GPO which will uninstall it.?
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39983380
odd.  i now have a blank GPO and clients with the software/msi installed..
0
 
LVL 38

Expert Comment

by:Mahesh
ID: 39983388
Ya, that's right

Please remove software as indicated above.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39983395
so how do i get it to uninstall automatically?
0
 
LVL 56

Expert Comment

by:McKnife
ID: 39983406
If you selected "uninstall immediately", then it will be uninstalled on next reboot...if the clients have already taken note of the policy change via GPO background refresh. If they haven't, it will be uninstalled on the reboot after the next reboot.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39983414
well its not uninstalling after a few reboots when selecting the uninstall immediately..
0
 
LVL 56

Expert Comment

by:McKnife
ID: 39983423
Then it was not installed usig that GPO! As simple as that. As I told you right from the start it only works if the software was installed using that same GPO.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39983428
it is though, im 100% proved its installed via GPO...
So right clicking on the software package and removing is no different to removing the gpo link or deleting the gpo...
0
 
LVL 56

Expert Comment

by:McKnife
ID: 39983500
Sorry, you are wrong. If that makes no difference, while you are sure that this was the very GPO that installed the software, then it would mean that the updated GPO did not apply yet. Please look at the client event log to see if it applied or start rsop.msc at the client and see if that software is still targeted at the client.

I use this system and that's how Microsoft would do it themselves. It works.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39983551
i just followed mahesh and then your solutions which neither worked.   i have now added it back and will not even install.
0
 
LVL 56

Expert Comment

by:McKnife
ID: 39983604
I asked for some actions. Instead you reapply the package... please don't make it worse.
0
 
LVL 38

Expert Comment

by:Mahesh
ID: 39983619
Check below article for more details

http://support.microsoft.com/kb/816102#method6
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39988696
i have clearly upset machines that have installed the msi.

now the machines that have used the gpo fail to install/uninstall.
0
 
LVL 56

Expert Comment

by:McKnife
ID: 39990172
How to proceed?

You wanted the way to uninstall via GPO and you got it the way Microsoft wants it. If that does not work, we would have to analyze what went wrong, but by now, you say you have another problem.
Re-assigning a package will not do harm to current installations, normally. So we would have to analyze carefully. If you need help, then you need to supply information - failing installations/failing de-installations produce logs.
0
 
LVL 1

Author Comment

by:CHI-LTD
ID: 39998423
as i removed the msi and readded it, its now not uninstalling automatically from machines as i hoped.
0
 
LVL 56

Expert Comment

by:McKnife
ID: 39998580
So...?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
Wouldn't it be nice if objects in Active Directory automatically moved into the correct Organizational Units? This is what AutoAD aims to do and as a plus, it automatically creates Sites, Subnets, and Organizational Units.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

609 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