win10-debloat
This commit is contained in:
parent
5ab4f60b0b
commit
7af9c89a19
19
win10-debloat/1_DelPackages.ps1
Normal file
19
win10-debloat/1_DelPackages.ps1
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.3DBuilder | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.Getstarted | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.MicrosoftOfficeHub | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.MicrosoftSolitaireCollection | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.SkypeApp | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.WindowsMaps | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.BingWeather | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.Office.OneNote | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.ZuneMusic | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.ZuneVideo | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.BingSports | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.BingNews | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.WindowsPhone | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.BingFinance | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.WindowsSoundRecorder | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.Windows.Photos | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.WindowsCamera | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.WindowsAlarms | Remove-AppxPackage
|
||||||
|
Get-AppxPackage -AllUsers -Name Microsoft.People | Remove-AppxPackage
|
27
win10-debloat/2_DelOneDrive.cmd
Normal file
27
win10-debloat/2_DelOneDrive.cmd
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
@echo off
|
||||||
|
cls
|
||||||
|
|
||||||
|
set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe"
|
||||||
|
set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe"
|
||||||
|
|
||||||
|
echo Closing OneDrive process.
|
||||||
|
taskkill /f /im OneDrive.exe > NUL 2>&1
|
||||||
|
ping 127.0.0.1 -n 5 > NUL 2>&1
|
||||||
|
|
||||||
|
echo Uninstalling OneDrive.
|
||||||
|
if exist %x64% (
|
||||||
|
%x64% /uninstall
|
||||||
|
) else (
|
||||||
|
%x86% /uninstall
|
||||||
|
)
|
||||||
|
ping 127.0.0.1 -n 5 > NUL 2>&1
|
||||||
|
|
||||||
|
echo Removing OneDrive leftovers.
|
||||||
|
rd "%USERPROFILE%\OneDrive" /Q /S > NUL 2>&1
|
||||||
|
rd "C:\OneDriveTemp" /Q /S > NUL 2>&1
|
||||||
|
rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1
|
||||||
|
rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1
|
||||||
|
|
||||||
|
echo Removing OneDrive from the Explorer Side Panel.
|
||||||
|
REG DELETE "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
|
||||||
|
REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
|
10
win10-debloat/3_DelCortonaTelBiometrics.reg
Normal file
10
win10-debloat/3_DelCortonaTelBiometrics.reg
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search]
|
||||||
|
"AllowCortana"=dword:00000000
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\TapiSrv]
|
||||||
|
"Start"=dword:00000004
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WbioSrvc]
|
||||||
|
"Start"=dword:00000004
|
4
win10-debloat/4_DelTouchLockScreen.reg
Normal file
4
win10-debloat/4_DelTouchLockScreen.reg
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization]
|
||||||
|
"NoLockScreen"=dword:00000001
|
2
win10-debloat/5_DelTracking.ps1
Normal file
2
win10-debloat/5_DelTracking.ps1
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
Stop-Service DiagTrack
|
||||||
|
Set-Service DiagTrack -StartupType Disabled
|
5
win10-debloat/README.md
Normal file
5
win10-debloat/README.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
1. Start a console with admin rights (right click on start menu button).
|
||||||
|
2. Run Powershell if not already.
|
||||||
|
3. Ensure correct execution policy: `Set-ExecutionPolicy Unrestricted`
|
||||||
|
4. Run the scripts you want. "reg" files can be run and will set registry keys.
|
||||||
|
5. Reset execution policy: `Set-ExecutionPolicy AllSigned`
|
Loading…
Reference in a new issue