Avatar of Wataw
Wataw
Flag for Hong Kong asked on

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.

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
Active DirectoryWindows Batch

Avatar of undefined
Last Comment
David Johnson, CD

8/22/2022 - Mon
Antzs

Any error when it is not working?  Is the GPO applied to the Computer successfully?
Shaun Vermaak

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

ASKER
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
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
Shaun Vermaak

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
David Johnson, CD

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.