scripts/script_win11-debloat.cmd aktualisiert

This commit is contained in:
2025-08-27 11:25:08 +00:00
parent 91eacfb974
commit cb381fc78a

View File

@@ -11,13 +11,16 @@ set VERS=2025.08.16
set BASEURL=https://github.com/Raphire/Win11Debloat/archive/refs/tags set BASEURL=https://github.com/Raphire/Win11Debloat/archive/refs/tags
set PROG=%VERS%.zip set PROG=%VERS%.zip
curl -kLO %BASEURL%/%PROG% :: --- Lade Programm herunter
curl -kLO %BASEURL%/%PROG%
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}" :: --- entpacke Programm
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}"
del %PROG% :: --- lösche .ZIP Datei
del %PROG%
cd Win11Debloat-%VERS% :: --- Starte Win11Debloater
cd Win11Debloat-%VERS%
powershell -ExecutionPolicy Bypass -Command "& Start-Process powershell.exe -PassThru -ArgumentList \"-executionpolicy bypass -File Win11Debloat.ps1 -Silent -RunDefaults\" -Verb RunAs " :: --- ...für aktuellen User
powershell -ExecutionPolicy Bypass -Command "& Start-Process powershell.exe -PassThru -ArgumentList \"-executionpolicy bypass -File Win11Debloat.ps1 -Silent -RunDefaults\" -Verb RunAs "
:: --- ..für zukünftige Benutzer
powershell -ExecutionPolicy Bypass -Command "& Start-Process powershell.exe -PassThru -ArgumentList \"-executionpolicy bypass -File Win11Debloat.ps1 -Silent -RunDefaults -Sysprep\" -Verb RunAs "