WinScript

Build your Windows script from scratch.

Debloat
Privacy
Tweaks
Install
Remove Windows Apps
Disable Windows Features
Disable Telemetry & Data Collection
Configure 3rd-party Apps Telemetry
Disable app access
Set as DNS
Clean-up
Gaming Settings
Misc Options
Drivers
Browsers
Compression
Gaming
Utilities
Pro Tools
Microsoft Tools
Multimedia
Communication
Imaging
Documents
Security
For Developers
:: WinScript 
@echo off
setlocal EnableExtensions DisableDelayedExpansion
echo -- Creating a restore point:
powershell -command "Enable-ComputerRestore -Drive $env:SystemDrive ; Checkpoint-Computer -Description "RestorePoint1" -RestorePointType "MODIFY_SETTINGS""
echo -- Installing Chocolatey:
powershell -command "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'))"
echo -- Running MAS
powershell -command "irm https://get.activated.win | iex"
echo -- Refresh environment: 
call "%ProgramData%\chocolatey\bin\RefreshEnv.cmd"
call RefreshEnv.cmd
echo -- Installing these apps: 
echo -- 
:: Pause the script
pause
:: Restore previous environment
endlocal
:: Exit the script
taskkill /f /im explorer.exe & start explorer & exit /b 0