Browse Source

Update optimize-user-interface.ps1

Update HKCU to HKLM for trending searches
pull/307/head
chamele0n 1 year ago
parent
commit
ffc5d9752e
  1. 4
      scripts/optimize-user-interface.ps1

4
scripts/optimize-user-interface.ps1

@ -57,8 +57,8 @@ Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer
# This removes the "Trending Searches" results shown when you click on the windows search bar
Write-Output "Disabling Trending Searches"
New-FolderForced -Path "HKCU:\Software\Policies\Microsoft\Windows\Explorer"
Set-ItemProperty -Path "HKCU:\Software\Policies\Microsoft\Windows\Explorer" "DisableSearchBoxSuggestions" 1
New-FolderForced -Path "HKLM:\Software\Policies\Microsoft\Windows\Explorer"
Set-ItemProperty -Path "HKLM:\Software\Policies\Microsoft\Windows\Explorer" "DisableSearchBoxSuggestions" 1
Write-Output "Removing user folders under This PC"
# Remove Desktop from This PC

Loading…
Cancel
Save