|
|
@ -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}" |
|
|
|