scripts/script_win11-debloat.cmd aktualisiert
This commit is contained in:
@@ -11,13 +11,16 @@ set VERS=2025.08.16
|
||||
set BASEURL=https://github.com/Raphire/Win11Debloat/archive/refs/tags
|
||||
set PROG=%VERS%.zip
|
||||
|
||||
curl -kLO %BASEURL%/%PROG%
|
||||
|
||||
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}"
|
||||
|
||||
del %PROG%
|
||||
|
||||
cd Win11Debloat-%VERS%
|
||||
|
||||
powershell -ExecutionPolicy Bypass -Command "& Start-Process powershell.exe -PassThru -ArgumentList \"-executionpolicy bypass -File Win11Debloat.ps1 -Silent -RunDefaults\" -Verb RunAs "
|
||||
:: --- Lade Programm herunter
|
||||
curl -kLO %BASEURL%/%PROG%
|
||||
:: --- entpacke Programm
|
||||
powershell.exe "& {Expand-Archive %PROG% -Force -DestinationPath .}"
|
||||
:: --- lösche .ZIP Datei
|
||||
del %PROG%
|
||||
:: --- Starte Win11Debloater
|
||||
cd Win11Debloat-%VERS%
|
||||
:: --- ...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 "
|
||||
|
||||
|
Reference in New Issue
Block a user