scripts/Windows/windoof-entry.ps1

18 lines
1.0 KiB
PowerShell

Set-ExecutionPolicy AllSigned -Scope Process
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
choco install git
cd ~
mkdir debloater
cd debloater
powershell
git clone https://github.com/Raphire/Win11Debloat
cd Win11Debloat
.\Win11Debloat.ps1
#############
alternate method:
& ([scriptblock]::Create((irm "https://win11debloat.raphi.re/")))
& ([scriptblock]::Create((irm "https://win11debloat.raphi.re/"))) -RunDefaults -RemoveApps -ClearStartAllUsers -DisableTelemetry -DisableCopilot -DisableRecall -Silent
& ([scriptblock]::Create((irm "https://win11debloat.raphi.re/"))) -RunDefaults -RemoveApps -ClearStartAllUsers -DisableTelemetry -DisableCopilot -DisableRecall -RemoveGamingApps -ForceRemoveEdge -DisableDVR -ClearStart -DisableBing -DisableSuggestions -DisableLockscreenTips -DisableWidgets -Silent