Compare commits

...

3 Commits

Author SHA1 Message Date
Alex Hirsch 7270dc7700
Merge pull request #307 from chamele0n/master
Update optimize-user-interface.ps1
1 year ago
chamele0n ffc5d9752e Update optimize-user-interface.ps1
Update HKCU to HKLM for trending searches
1 year ago
chamele0n 4a99dc7481 Update optimize-user-interface.ps1
Remove "Trending Searches" from windows search bar
1 year ago

@ -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 "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
Remove-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}"

Loading…
Cancel
Save