mirror of
https://github.com/Sycnex/Windows10Debloater.git
synced 2024-11-24 11:45:29 +00:00
Same Fix as Windows10Debloater.ps1 for Cloudstore
It allows to delete cloudstore without confirm needed
This commit is contained in:
parent
02963b6844
commit
12e321e5fe
@ -174,10 +174,10 @@ Function Protect-Privacy {
|
||||
|
||||
|
||||
Write-Output "Removing CloudStore from registry if it exists"
|
||||
$CloudStore = 'HKCUSoftware\Microsoft\Windows\CurrentVersion\CloudStore'
|
||||
$CloudStore = 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore'
|
||||
If (Test-Path $CloudStore) {
|
||||
Stop-Process Explorer.exe -Force
|
||||
Remove-Item $CloudStore
|
||||
Remove-Item $CloudStore -Recurse -Force
|
||||
Start-Process Explorer.exe -Wait
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user