[Request] Script for removing all apps on Windows 10 20H2

Discussion in 'Scripting' started by Hasefroch, Nov 17, 2020.

  1. Hasefroch

    Hasefroch MDL Senior Member

    Dec 24, 2018
    283
    170
    10
    Hello, this is what I am looking for, I used in the past Dism+++ but in 20H2 gives errors on removing apps (Cortana for example)
    Is there an command for removing all preinstalled apps in Windows 10? To get a LTSC-like feeling on 20H2 Enterprise version. I don't want to remove Edge chromium.
    Thanks in advance
     
  2. Hasefroch

    Hasefroch MDL Senior Member

    Dec 24, 2018
    283
    170
    10
    this command works in 20H2?
    Get-AppxPackage | Remove-AppxPackage
    Get-AppxPackage -allusers | Remove-AppxPackage
     
  3. kaljukass

    kaljukass MDL Guru

    Nov 26, 2012
    3,396
    1,322
    120
    You're a good boy otherwise, but I don't understand why you have to ask yourself questions through the forum.
    Basically - I ask myself, and I answer myself.
    Besides, as far as Chromium Edge is concerned, it's till now a completely standalone program and no one forbids removing it or using it.
    Cortana is also not mandatory, but removal by force is not wise. Just disable it and there is a completely official way to do it. Have always been.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...