Skip to content

Commit

Permalink
(LeDragoX#70) Fixed path not found when disabling Bing search suggest…
Browse files Browse the repository at this point in the history
…ions
  • Loading branch information
LeDragoX committed Oct 20, 2022
1 parent 937d567 commit 7c079b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/scripts/personal-tweaks.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ function Register-PersonalTweaksList() {
Write-Status -Types $EnableStatus[0].Symbol, $TweakType -Status "$($EnableStatus[0].Status) Bing Search in Start Menu..."
Set-ItemProperty -Path "$PathToCUWindowsSearch" -Name "BingSearchEnabled" -Type DWord -Value $Zero
Set-ItemProperty -Path "$PathToCUWindowsSearch" -Name "CortanaConsent" -Type DWord -Value $Zero

If (!(Test-Path "$PathToCUPoliciesExplorer2")) {
New-Item -Path "$PathToCUPoliciesExplorer2" -Force | Out-Null
}
Set-ItemProperty -Path "$PathToCUPoliciesExplorer2" -Name "DisableSearchBoxSuggestions" -Type DWord -Value $One

Write-Section -Text "Ease of Access"
Expand Down

0 comments on commit 7c079b3

Please sign in to comment.