Commit ef83b641 authored by Stefan Scherer's avatar Stefan Scherer
Browse files

Only remove defender and optimized updates

parent 30c0b3be
...@@ -3,18 +3,21 @@ $url="https://github.com/StefanScherer/Debloat-Windows-10/archive/master.zip" ...@@ -3,18 +3,21 @@ $url="https://github.com/StefanScherer/Debloat-Windows-10/archive/master.zip"
(New-Object System.Net.WebClient).DownloadFile($url, "$env:TEMP\debloat.zip") (New-Object System.Net.WebClient).DownloadFile($url, "$env:TEMP\debloat.zip")
Expand-Archive -Path $env:TEMP\debloat.zip -DestinationPath $env:TEMP -Force Expand-Archive -Path $env:TEMP\debloat.zip -DestinationPath $env:TEMP -Force
Write-Host Disable scheduled tasks #Write-Host Disable scheduled tasks
. $env:TEMP\Debloat-Windows-10-master\utils\disable-scheduled-tasks.ps1 #. $env:TEMP\Debloat-Windows-10-master\utils\disable-scheduled-tasks.ps1
Write-Host Block telemetry #Write-Host Block telemetry
. $env:TEMP\Debloat-Windows-10-master\scripts\block-telemetry.ps1 #. $env:TEMP\Debloat-Windows-10-master\scripts\block-telemetry.ps1
Write-Host Disable services #Write-Host Disable services
. $env:TEMP\Debloat-Windows-10-master\scripts\disable-services.ps1 #. $env:TEMP\Debloat-Windows-10-master\scripts\disable-services.ps1
Write-host Disable Windows Defender Write-host Disable Windows Defender
. $env:TEMP\Debloat-Windows-10-master\scripts\disable-windows-defender.ps1 #. $env:TEMP\Debloat-Windows-10-master\scripts\disable-windows-defender.ps1
Uninstall-WindowsFeature Windows-Defender-Features Uninstall-WindowsFeature Windows-Defender-Features
Write-host Optimize Windows Update Write-host Optimize Windows Update
. $env:TEMP\Debloat-Windows-10-master\scripts\optimize-windows-update.ps1 . $env:TEMP\Debloat-Windows-10-master\scripts\optimize-windows-update.ps1
Write-host Disable Windows Update #Write-host Disable Windows Update
Set-Service wuauserv -StartupType Disabled #Set-Service wuauserv -StartupType Disabled
Write-Host Remove OneDrive #Write-Host Remove OneDrive
. $env:TEMP\Debloat-Windows-10-master\scripts\remove-onedrive.ps1 #. $env:TEMP\Debloat-Windows-10-master\scripts\remove-onedrive.ps1
rm $env:TEMP\debloat.zip
rm -recurse $env:TEMP\Debloat-Windows-10-master
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment