Automate Uninstall .Net SDK Framework Using msiexec /x

asked 2021-11-11T11:09:50.56+00:00
tushar sharma 1 Reputation point

I want to automate uninstalling of different .Net SDK Framework from Windows servers.

I found a way to do that using msiexec /x, but it asks for user confirmation to uninstall, and only when the user clicks on Yes does it proceed with the uninstall.

I want to avoid that interaction so that it will be completely automated. I tried adding /quiet but that doesn't help.

My question is related to this question Silently Uninstall .Net Framework On Windows Server using any script.
148581-capture.png

Windows Server 2012
Windows Server 2012
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,121 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2021-12-17T13:56:57.64+00:00
    Limitless Technology 37,291 Reputation points

    You may try below command to silently uninstall .net framework.

    64bit :
    Setup.exe /uninstall /x86 /x64 /q /norestart

    32 bit :
    Setup.exe /uninstall /x86 /q /norestart


    --If the reply was helpful, please don’t forget to upvote or accept as answer. --

    No comments