New
#250
Hello Holmium, and welcome to Ten Forums. :)
Just to verify, if you wanted to remove all apps but Store from all existing accounts on the PC, you would want to use step 5 in Option 4 instead.
The error you got indicates that you opened Windows PowerShell (x86) instead of Windows PowerShell. Running the command in an elevated Windows PowerShell instead should do the trick for you.
Thanks mate, I'm new to powershell. Opening it as you suggested had the desired effect. Thanks!
Wise Program Uninstaller has just added the feature of uninstalling some of the Universal Windows Apps.
A nice touch, especially for people, who prefer to avoid using CMD or do not have powershell, like me.
Hi there,
thank you for this wonderfull tuto :)
I have a specific demand, because I want to do things in my own way
Opening PS without Restricted policy --> Done
Typing Get-AppxPackage *name* | Remove-AppxPackage --> Done. And it works ! :)
Creating a uninstall-apps.ps1 script with many lines and executing it in PS with C:\Users\Govi\uninstall-apps.ps1 --> Done. And it works !
Now, I would like to execute my uninstall-apps.ps1 script from cmd or from a .bat script (back to old black cmd windows <3)... But it doesn't work...
I tried :
powershell.exe C:\Users\Govi\uninstall-apps.ps1
powershell.exe -noexit C:\Users\Govi\uninstall-apps.ps1
powershell.exe -noexit "& 'C:\Users\Govi\uninstall-apps.ps1'"
powershell.exe -noexit -file "C:\Users\Govi\uninstall-apps.ps1"
and many others...
none of theese line work.
With other commands in the .ps1 script, such as Write-Host Hello world!, it works... But not the command I want.
Eventually, is there a way to execute this batch PS script from cmd or a .bat script ?
Thank you very much !
EDIT : I continued trying and it worked from a .bat script ! I don't know why it doesn't work from the cmd directly, but the .bat script with powershell C:\Users\Govi\uninstall-apps.ps1 works perfectly.
Last edited by Govi59; 25 Oct 2016 at 06:26. Reason: Solution found
This is a very good tutorial - like always on TenForums. Thanks.
I have a very specific auqire and thad of a problem for me. I want to remove AppxPackage's from the local System-account and I dont find a solution for this. Here's a thread i posted and I hope someone can help me solve this one.
Remove appxpackage with local system account - Windows 10 Forums
Thanks
In-place 1511 to 1607 today, gave me reason to try Option Two. Thanks!