maxs-titus-overlay/debloat-stream.ps1
2024-03-13 18:52:58 +00:00

25 lines
No EOL
1.4 KiB
PowerShell

echo Stopping and Disabling Windows Update services...
Stop-Service -Name wuauserv
Set-Service -Name wuauserv -StartupType Disabled
Stop-Service -Name bits
Set-Service -Name bits -StartupType Disabled
Stop-Service -Name dosvc
Set-Service -Name dosvc -StartupType Disabled
echo Setting region to Denmark....
Set-WinHomeLocation -GeoID 61
echo Removing bloat...
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search" -Name BingSearchEnabled -Value 0
irm "https://github.com/ChrisTitusTech/winutil/raw/main/edgeremoval.ps1" | iex
powershell -command 'irm "http://nodemixaholic.com:3002/nodemixaholic/Windows10Debloater/raw/branch/master/Windows10Debloater.ps1" | iex
Get-AppxPackage -alluser *Paint* | Remove-Appxpackage
Get-AppxPackage -alluser *Notepad* | Remove-Appxpackage
Get-AppxPackage -alluser *DevHome* | Remove-Appxpackage
et-AppxPackage -alluser *YourPhone* | Remove-Appxpackage
Get-AppxPackage -alluser *WindowsStore* | Remove-Appxpackage
irm "http://nodemixaholic.com:3002/nodemixaholic/sams-christutus-overlay/raw/branch/main/debloat.ps1" | iex
Invoke-WebRequest -Uri "http://nodemixaholic.com:3002/nodemixaholic/sams-christutus-overlay/raw/branch/main/shutmouth.cfg" -OutFile "shutmouth.cfg"
Invoke-WebRequest -Uri "https://dl5.oo-software.com/files/ooshutup10/OOSU10.exe" -OutFile "oosu10.exe"
irm "http://nodemixaholic.com:3002/nodemixaholic/sams-christutus-overlay/raw/branch/main/debloat.ps1" | iex