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

Discussion in 'Scripting' started by Ramiro Pistoia, Nov 17, 2020.

  1. Ramiro Pistoia

    Ramiro Pistoia MDL Member

    Joined:
    Dec 24, 2018
    Messages:
    229
    Likes Received:
    113
    Trophy Points:
    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. Ramiro Pistoia

    Ramiro Pistoia MDL Member

    Joined:
    Dec 24, 2018
    Messages:
    229
    Likes Received:
    113
    Trophy Points:
    10
    this command works in 20H2?
    Get-AppxPackage | Remove-AppxPackage
    Get-AppxPackage -allusers | Remove-AppxPackage
     
  3. kaljukass

    kaljukass MDL Guru

    Joined:
    Nov 26, 2012
    Messages:
    2,436
    Likes Received:
    883
    Trophy Points:
    90
    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.