diff --git a/RemoveWindowsAi.ps1 b/RemoveWindowsAi.ps1 index f3d5ef9..c49c753 100644 --- a/RemoveWindowsAi.ps1 +++ b/RemoveWindowsAi.ps1 @@ -273,37 +273,46 @@ function Disable-Registry-Keys { $config = "$env:LOCALAPPDATA\Microsoft\Edge\User Data\Local State" if (Test-Path $config) { #powershell core bug where json that has empty strings will error - #$jsonContent = (Get-Content $config).Replace('""', '"_empty"') | ConvertFrom-Json - $jsonContent = (Get-Content $config -Raw) -replace '(?