diff --git a/wingetui/resources/uninstall_scoop.cmd b/wingetui/resources/uninstall_scoop.cmd index c449024b7..d09aef5a2 100644 --- a/wingetui/resources/uninstall_scoop.cmd +++ b/wingetui/resources/uninstall_scoop.cmd @@ -3,7 +3,7 @@ echo This script will remove scoop from your machine. echo Removing scoop implies removing all scoop installed packages, buckets and preferences, and might also erase vaulable user data related to the affected packages echo|set/p="Press to continue or CLOSE this window to abort this process"&runas/u: "">NUL echo Installing scoop... -powershell -NoProfile -Command "scoop uninstall scoop" +powershell -NoProfile -Command "scoop uninstall -p scoop" echo Reverting ExecutionPolicy powershell -NoProfile -Command "Set-ExecutionPolicy Restricted -Scope CurrentUser" echo Done!