We help IT Professionals succeed at work.

Uninstall Windows Patch via GPO

Wataw
Wataw asked
on
268 Views
Last Modified: 2018-05-24
Dear Sir,

I would like to uninstall two windows patches for all PC. All PCs joined domain and normal users do not have privilege to install/uninstall software. The following batch file works when the user account logon locally and with local administrators right.

uninstall.bat
@echo off
wusa /uninstall /kb:4012204 /quiet /norestart
wusa /uninstall /kb:4012215 /quiet /norestart

I had created a computer group policy at the domain controller 00.cmd (i.e. computer configuration\policies\windows settings\scripts\startup\00.cmd) and call the uninstall.bat . But it's not working.

Any hints and advises for me?

Thank you.

Wataw
Comment
Watch Question

AntzsInfrastructure Services
CERTIFIED EXPERT

Commented:
Any error when it is not working?  Is the GPO applied to the Computer successfully?
Shaun VermaakSenior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019

Commented:
Add these commands to separate ZAP files and deploy via GPO Software Deployment

Author

Commented:
Dear Antzs,

No error at all. Restart and no pop up windows showing.

Dear Shaun,

How to create a ZAP for uninstall the windows package? And I should put it into Computer Configuration or User Configuration? If computer configuration is used, what windows account/credentials it will use?

Thank you.

With regards,
Wataw
Senior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
David Johnson, CDSimple Geek from the '70s
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions