3e779be6f3
CI / lint (push) Failing after 13m4s
CI / test (3.11, ubuntu-latest) (push) Failing after 2m4s
CI / test (3.13, ubuntu-latest) (push) Successful in 13m30s
CI / test (3.14, ubuntu-latest) (push) Successful in 17m21s
CI / test (3.12, ubuntu-latest) (push) Successful in 17m55s
CI / discover-apps-ps (push) Successful in 1m56s
CI / test (3.9, ubuntu-latest) (push) Successful in 13m17s
CI / test (3.10, ubuntu-latest) (push) Successful in 26m21s
CI / audit (push) Successful in 13m38s
Deploy site / deploy (push) Has been cancelled
CI / test (3.14, ubuntu-24.04-arm) (push) Has been cancelled
19 lines
970 B
PowerShell
19 lines
970 B
PowerShell
# SPDX-License-Identifier: MIT
|
|
# winpodx debloat UNDO: Cortana + Start menu web search lookups
|
|
|
|
Write-Host "[web_search] Restoring Cortana + Start menu web search lookups..."
|
|
|
|
$webValues = @(
|
|
@{Path="HKLM:\Software\Policies\Microsoft\Windows\Windows Search"; Name="AllowCortana"},
|
|
@{Path="HKLM:\Software\Policies\Microsoft\Windows\Windows Search"; Name="BingSearchEnabled"},
|
|
@{Path="HKLM:\Software\Policies\Microsoft\Windows\Windows Search"; Name="ConnectedSearchUseWeb"},
|
|
@{Path="HKCU:\Software\Policies\Microsoft\Windows\Explorer"; Name="DisableSearchBoxSuggestions"},
|
|
@{Path="HKCU:\Software\Microsoft\Windows\CurrentVersion\Search"; Name="BingSearchEnabled"},
|
|
@{Path="HKCU:\Software\Microsoft\Windows\CurrentVersion\Search"; Name="CortanaConsent"},
|
|
@{Path="HKCU:\Software\Policies\Microsoft\Edge"; Name="WebWidgetAllowed"}
|
|
)
|
|
|
|
foreach ($item in $webValues) {
|
|
Remove-ItemProperty -Path $item.Path -Name $item.Name -Force -ErrorAction SilentlyContinue
|
|
}
|