Commit 5776191e authored by Stefan Scherer's avatar Stefan Scherer

Debloat windows

parent e7c4fe96
Write-Host Downloading debloat zip
$url="https://github.com/StefanScherer/Debloat-Windows-10/archive/master.zip"
(New-Object System.Net.WebClient).DownloadFile($url, "$env:TEMP\debloat.zip")
Expand-Archive -Path $env:TEMP\debloat.zip -DestinationPath $env:TEMP -Force
Write-Host Debloating
. $env:TEMP\Debloat-Windows-10-master\utils\disable-scheduled-tasks.ps1
. $env:TEMP\Debloat-Windows-10-master\scripts\block-telemetry.ps1
. $env:TEMP\Debloat-Windows-10-master\scripts\disable-services.ps1
. $env:TEMP\Debloat-Windows-10-master\scripts\disable-windows-defender.ps1
. $env:TEMP\Debloat-Windows-10-master\scripts\optimize-windows-update.ps1
. $env:TEMP\Debloat-Windows-10-master\scripts\remove-onedrive.ps1
......@@ -116,6 +116,12 @@
"./scripts/enable-rdp.bat"
]
},
{
"type": "powershell",
"scripts": [
"./scripts/debloat-windows.ps1"
]
},
{
"type": "windows-restart"
},
......@@ -125,6 +131,7 @@
"scripts": [
"./scripts/pin-powershell.bat",
"./scripts/set-winrm-automatic.bat",
"./scripts/compile-dotnet-assemblies.bat",
"./scripts/uac-enable.bat",
"./scripts/compact.bat"
]
......
......@@ -106,6 +106,17 @@
"scripts": [
"./scripts/vm-guest-tools.bat",
"./scripts/enable-rdp.bat",
]
},
{
"type": "powershell",
"scripts": [
"./scripts/debloat-windows.ps1"
]
},
{
"type": "windows-shell",
"scripts": [
"./scripts/compile-dotnet-assemblies.bat",
"./scripts/uac-enable.bat",
"./scripts/compact.bat"
......
......@@ -120,6 +120,12 @@
"./scripts/enable-rdp.bat"
]
},
{
"type": "powershell",
"scripts": [
"./scripts/debloat-windows.ps1"
]
},
{
"type": "windows-restart"
},
......
......@@ -47,6 +47,12 @@
"./scripts/enable-rdp.bat"
]
},
{
"type": "powershell",
"scripts": [
"./scripts/debloat-windows.ps1"
]
},
{
"type": "windows-restart"
},
......
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