Jump to content

Recommended Posts

Posted

I've looked over a couple of threads and have a couple of batch commands which on their own I believe should work. Before I spring them on a machine any advice on whether my mashing together of the 2 needs more finesse would be appreciated. Script so far below:

 

REGEDIT4

; @echo OFF
; CLS
; REGEDIT.EXE /S "%~f0"
; EXIT

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy\AppMgmt\{GPO reg key to remove}]

; wmic product where name="product to uninstall" call uninstall /nointeractive

 

Thanks in advance

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...