Script to remove default application in Windows 10/11
- Download the file
remove_preinstalled_apps.ps1
- Execute
remove_preinstalled_apps.ps1
by doing right-click >Run with PowerShell
- Download the file
remove_preinstalled_apps.ps1
- open a terminal with shift + Right Click* >
Open PowerShell window here
(Open in Windows Terminal
for Windows 11) .\remove_preinstalled_apps.ps1
*You need to right click in an empty space on the explorer window, at the location of the downloaded file.
Usually no prerequisite are necessary.
However, in certain cases you can be prevent from running it by the Execution Policy.
In which case you need to run the following command in an Administrator
Powershell:
Set-ExecutionPolicy RemoteSigned
You can then restore the previous value with
Set-ExecutionPolicy Signed