Automatically uninstall a program

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
MauricioDeAbreu
Posts: 43
Joined: 12 Dec 2021 06:45

Automatically uninstall a program

#1 Post by MauricioDeAbreu » 13 Feb 2023 20:16

Good afternoon friends.

I come to ask for your help to create a Batch that I automatically and silently uninstalled a program, this program is installed in both Windows 10 and Windows 7.

The program (I leave it here in a RAR) extracts the serials from the equipment. I have not created it, but I have to uninstall it daily from hundreds of computers.

I have dealt with:
- wmic product where name="HardwareComponents" call uninstall /nointeractive
-EchoY | wmic product where name="HardwareComponents" call uninstall /nointeractive
But I have not been successful, when doing so it tells me that "The instance was not found"

Please, I need help to expedite this process.

I thank you in advance for any help you can give me.

Excuse my English, I'm using a translator.
Attachments
Hardware1.rar
Program I need to uninstall
(405.5 KiB) Downloaded 231 times

MauricioDeAbreu
Posts: 43
Joined: 12 Dec 2021 06:45

Re: Automatically uninstall a program

#2 Post by MauricioDeAbreu » 15 Feb 2023 12:15

Does anyone have any idea or suggestion about it? :oops:

ShadowThief
Expert
Posts: 1166
Joined: 06 Sep 2013 21:28
Location: Virginia, United States

Re: Automatically uninstall a program

#3 Post by ShadowThief » 15 Feb 2023 23:16

Does it actually show up in wmic product list as HardwareComponents? Is there a .msi file associated with it? Both of these things are required to be able to do what you're trying to do.

Post Reply