Programs - Uninstall using Command Prompt in Windows

Page 4 of 7 FirstFirst ... 23456 ... LastLast

  1. Posts : 71,977
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #30

    In that case, give the tutorial on the first page a try to see if it may be able remove it. :)
      My Computer


  2. Posts : 3
    Windows 8.1 64 bit
       #31

    I will. Thanks again

    Danny
      My Computer


  3. Posts : 71,977
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #32

    You're welcome. Please let us know how it went. :)
      My Computer


  4. Posts : 5
    Windows 7 Ultimate x64
       #33

    Automation?


    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
      My Computer


  5. Posts : 71,977
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #34

    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.
      My Computer


  6. Posts : 5
    Windows 7 Ultimate x64
       #35

    Automation


    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
      My Computer


  7. Posts : 71,977
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #36

    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
      My Computer


  8. Posts : 5
    Windows 7 Ultimate x64
       #37

    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
      My Computer


  9. Posts : 71,977
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #38

    You might see if issuing the WMIC command, have a timeout command for a few seconds, then have the uninstall command may work.
      My Computer


  10. Posts : 5
    Windows 7 Ultimate x64
       #39

    Automation


    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
      My Computer


 
Page 4 of 7 FirstFirst ... 23456 ... LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:18.
Find Us