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 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,562 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,354 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 29,486 Reputation points Microsoft Vendor
    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 3,776 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