Skip to content

Commit

Permalink
Added the new 20H2 Start Menu.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrEmpiricism committed Aug 23, 2020
1 parent d5f3ea9 commit 3d4a13c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Src/Public/Set-RegistryProperties.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,13 @@ Function Set-RegistryProperties
RegKey -Path "HKLM:\WIM_HKCU\Software\Microsoft\Windows\CurrentVersion\Search\Flighting\Override" -Name "ImmersiveSearchFull" -Value 1 -Type DWord
}

If ($InstallInfo.Build -eq '19041' -and (Get-ItemPropertyValue -Path "HKLM:\WIM_HKLM_SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name UBR) -ge 423)
{
$RegistryData.EnableNewStartMenu | Out-File -FilePath $RegistryLog -Encoding UTF8 -Append -Force
RegKey -Path "HKLM:\WIM_HKLM_SYSTEM\ControlSet001\Control\FeatureManagement\Overrides\0\2093230218" -Name EnabledState -Value 2 -Type DWord -Force
RegKey -Path "HKLM:\WIM_HKLM_SYSTEM\ControlSet001\Control\FeatureManagement\Overrides\0\2093230218" -Name EnabledStateOptions -Value 0 -Type DWord -Force
}

$RegistryData.EnableThisPCDesktop | Out-File -FilePath $RegistryLog -Encoding UTF8 -Append -Force
RegKey -Path "HKLM:\WIM_HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel" -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Value 0 -Type DWord
RegKey -Path "HKLM:\WIM_HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu" -Name "{20D04FE0-3AEA-1069-A2D8-08002B30309D}" -Value 0 -Type DWord
Expand Down Expand Up @@ -283,6 +290,8 @@ Function Set-RegistryProperties
"HKLM:\WIM_HKLM_SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{3ADD1653-EB32-4cb0-BBD7-DFA0ABB5ACCA}", "HKLM:\WIM_HKLM_SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{24AD3AD4-A569-4530-98E1-AB02F9417AA8}",
"HKLM:\WIM_HKLM_SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}", "HKLM:\WIM_HKLM_SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{F86FA3AB-70D2-4FC7-9C99-FCBF05467F3A}",
"HKLM:\WIM_HKLM_SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{A0953C92-50DC-43bf-BE83-3742FED03C9C}", "HKLM:\WIM_HKLM_SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\{F86FA3AB-70D2-4FC7-9C99-FCBF05467F3A}") | Purge
RegKey -Path "HKLM:\WIM_HKLM_SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag" -Name "ThisPCPolicy" -Value "Hide" -Type String
RegKey -Path "HKLM:\WIM_HKLM_SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\FolderDescriptions\{31C0DD25-9439-4F12-BF41-7FF4EDA38722}\PropertyBag" -Name "ThisPCPolicy" -Value "Hide" -Type String

$RegistryData.IncreaseIconCache | Out-File -FilePath $RegistryLog -Encoding UTF8 -Append -Force
RegKey -Path "HKLM:\WIM_HKLM_SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" -Name "Max Cached Icons" -Value 8192 -Type String
Expand Down
1 change: 1 addition & 0 deletions Src/Public/en-US/Set-RegistryProperties.strings.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ EnableCombineSmallIcons = Enabling TaskBar Icon Combining with Small
DisableOpenFilePrompt = Disabling the Open File Prompt.
EnableClassicPersonalizationPanel = Enabling the Classic Personalization Panel.
EnableFloatingImmersiveControlPanel = Enabling the Floating Immersive Control Panel.
EnableNewStartMenu = Enabling the 20H2 New Start Menu.
EnableThisPCDesktop = Enabling This PC Desktop Icon.
RemoveEditPaintPrintContextMenu = Removing Edit with Paint 3D and 3D Print from the Context Menu.
RestoreWindowsPhotoViewer = Restoring Windows Photo Viewer.
Expand Down

0 comments on commit 3d4a13c

Please sign in to comment.