Update Windows10Debloater.ps1

pull/82/head
Richard Newton 6 years ago committed by GitHub
parent f5e795dd04
commit 8e137a2e2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -293,11 +293,15 @@ Function Protect-Privacy {
Stop-Service "DiagTrack" Stop-Service "DiagTrack"
Set-Service "DiagTrack" -StartupType Disabled Set-Service "DiagTrack" -StartupType Disabled
Write-Output "Removing CloudStore from registry if it exists" Write-Output "Removing CloudStore from registry if it exists"
$CloudStore = 'HKCUSoftware\Microsoft\Windows\CurrentVersion\CloudStore'
If (Test-Path $CloudStore) {
Stop-Process Explorer.exe -Force Stop-Process Explorer.exe -Force
Remove-Item "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore" Remove-Item $CloudStore
Start-Process Explorer.exe -Wait Start-Process Explorer.exe -Wait
} }
}
Function DisableCortana { Function DisableCortana {
Write-Host "Disabling Cortana" Write-Host "Disabling Cortana"

Loading…
Cancel
Save