Browse Source

Update optimize-user-interface.ps1

Remove "Trending Searches" from windows search bar
pull/307/head
chamele0n 1 year ago
parent
commit
4a99dc7481
  1. 5
      scripts/optimize-user-interface.ps1

5
scripts/optimize-user-interface.ps1

@ -55,6 +55,11 @@ Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
Write-Output "Setting default explorer view to This PC"
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" "LaunchTo" 1
# 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
Write-Output "Removing user folders under This PC"
# Remove Desktop from This PC
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}"

Loading…
Cancel
Save