Browse Source
Merge pull request #307 from chamele0n/master
Update optimize-user-interface.ps1
pull/309/head
Alex Hirsch
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
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 "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}" |
|
|
|