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,10 +293,14 @@ Function Protect-Privacy {
Stop-Service "DiagTrack"
Set-Service "DiagTrack" -StartupType Disabled
Write-Output "Removing CloudStore from registry if it exists"
Stop-Process Explorer.exe -Force
Remove-Item "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\CloudStore"
Start-Process Explorer.exe -Wait
Write-Output "Removing CloudStore from registry if it exists"
$CloudStore = 'HKCUSoftware\Microsoft\Windows\CurrentVersion\CloudStore'
If (Test-Path $CloudStore) {
Stop-Process Explorer.exe -Force
Remove-Item $CloudStore
Start-Process Explorer.exe -Wait
}
}
Function DisableCortana {

Loading…
Cancel
Save