Uninstall Windows Patch via GPO

Wataw
Wataw used Ask the Experts™
on
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

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
AntzsInfrastructure Services

Commented:
Any error when it is not working?  Is the GPO applied to the Computer successfully?
Shaun VermaakTechnical Specialist
Awarded 2017
Distinguished Expert 2018

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
Technical Specialist
Awarded 2017
Distinguished Expert 2018
Commented:
Example below. Put it as computer configuration and it will run as system
[Application]
FriendlyName = "Microsoft Excel 97"
SetupCommand = "long folder\setup.exe" /unattend
SetupCommand = "setup.exe"
DisplayVersion = 8.0
Publisher = Microsoft

Open in new window

Top Expert 2016
Commented:
don't forget that these patches are also included in the March 2017 Security Monthly Quality Rollup http://bit.ly/2nWNpyY

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial