Silent uninstallation for .Net Framework 4.8

Balbo 1 Reputation point
2020-10-27T02:56:28.07+00:00

Hi to all,

I'm trying to uninstall .Net Framework 4.8 SILENTLY but it doesn't work.I'm using this command : Wusa /uninstall /kb:4486153.

This command unistall correctly the 4.8 version but the problem is that the uninstallation of the package is prompting user interface and i need to do od silent uninstallation.

I tried to use /q or /quiet, and event /qn but all these switch don't work to silently uninstall the Framework.

Can anyone give me the exact command line ton uninstall silently the .Net Framework 4.8?

Thanks for help.

Regards,

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2020-10-27T06:59:07.427+00:00

    Hi,

    Please check if this works for you

    $package = Dism.exe /Online /Get-Packages | Where-Object {$_ -match "KB4486153"} | ForEach-Object {$_.replace("Package Identity : ","")}  
    $null = Dism.exe /Online /Remove-Package /PackageName:$package /quiet /norestart  
    

    Best Regards,
    Ian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    2 people found this answer helpful.

  2. abbodi86 4,036 Reputation points
    2020-10-27T21:10:05.057+00:00

    /quiet was removed from Windows 10 Wusa /uninstall /KB command
    it only works if you supplied the msu file path for the update you want to uninstall

    wusa.exe /uninstall <MSU_FILE_PATH> /quiet /norestart
    

  3. Lubdha Dolas 121 Reputation points
    2021-10-22T11:28:45.637+00:00

    I have the same problem. But I don't find the solution helpful. as what should I enter in place of MSU file path

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.