New
#30
In that case, give the tutorial on the first page a try to see if it may be able remove it. :)
In that case, give the tutorial on the first page a try to see if it may be able remove it. :)
I will. Thanks again
Danny
This is a great post and step by step. Works great. Does anyone know if it can be added to a Batch script to uninstall multiple programs at once? Is there a way to get by the question Y/N?
GD
Hello GD, and welcome to Seven Forums.
You would need to know the names of all the programs you wanted to uninstall as listed in step 5.
Afterwards, you could create a batch file with multiple commands for each program like in step 6. I would recommend to leave the Y/N to approve as a safety check to prevent uninstalling the wrong program by mistake.
Thanks for such a speedy reply. I am using this at work to uninstall 2 programs that I know the exact name, and want the uninstall to be silent. Have 400 users, and they would go nuts if they had to click Y. You know how users can be.
I am not certain of the syntax inside the script, I can call wmic, and the uninstall , but how to answer the question inside the script (I am a novice scripter)
GD
To not have the Y/N prompt, you can use the command below instead. I've also updated the tutorial to help. :)
product where name=”name of program” call uninstall /nointeractive
OK, I am experiencing difficulties. In my script I call the uninstall like this:
wmic:root\cli>product where name="Autodesk 360" call uninstall /nointeractive
I get an error
C:\Windows\system32>wmic:root\cli where name="Autodesk 360" call uninstall /nointeractive 1>product
The system cannot find the path specified.
When I call wmic first, wmic initiates, but then waits for input.
Can the command be modified in a way to be run in the script?
Thanks
GD
I think I figured it out, I the node info, and ran it liker this,
wmic product where name="Autodesk 360" call uninstall /nointeractive
This worked.
Thank you very much for the help.
GD