Uninstall Windows Patch via GPO

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.

@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.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AntzsInfrastructure ServicesCommented:
Any error when it is not working?  Is the GPO applied to the Computer successfully?
Shaun VermaakTechnical SpecialistCommented:
Add these commands to separate ZAP files and deploy via GPO Software Deployment
WatawAuthor 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,
Shaun VermaakTechnical SpecialistCommented:
Example below. Put it as computer configuration and it will run as system
FriendlyName = "Microsoft Excel 97"
SetupCommand = "long folder\setup.exe" /unattend
SetupCommand = "setup.exe"
DisplayVersion = 8.0
Publisher = Microsoft

Open in new window

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
David Johnson, CD, MVPRetiredCommented:
don't forget that these patches are also included in the March 2017 Security Monthly Quality Rollup http://bit.ly/2nWNpyY
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Active Directory

From novice to tech pro — start learning today.