Skip to content

Instantly share code, notes, and snippets.

@hydrz
Last active August 22, 2022 06:53
Show Gist options
  • Save hydrz/0139b32404df65a01989455f27e3d817 to your computer and use it in GitHub Desktop.
Save hydrz/0139b32404df65a01989455f27e3d817 to your computer and use it in GitHub Desktop.
How to Restore Classic Start Menu in Windows 11 with Classic Taskbar
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine -Force
# Restore the Classic Taskbar in Windows 11
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages" -Name "UndockingDisabled" -PropertyType DWord -Value "00000001";
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages" -Name "UndockingDisabled" -Value "00000001";
# Disable Taskbar / Cortana Search Box on Windows 11
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search" -Name "SearchboxTaskbarMode" -PropertyType DWord -Value "00000000";
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search" -Name "SearchboxTaskbarMode" -Value "00000000";
# Ungroup Taskbar Icons / Enable Text Labels in Windows 11
New-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Name "NoTaskGrouping" -PropertyType DWord -Value "00000001";
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Name "NoTaskGrouping" -Value "00000001";
#Restart Explorer to see the changes
taskkill /f /im explorer.exe;
CMD /Q /C START /REALTIME explorer.exe;
#Run this to reverse the changes
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages" -Name "UndockingDisabled" -Value "00000000"
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search" -Name "SearchboxTaskbarMode" -Value "00000001";
Set-ItemProperty -Path "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer" -Name "NoTaskGrouping" -Value "00000000";
#Restart Explorer to see the changes
taskkill /f /im explorer.exe;
CMD /Q /C START /REALTIME explorer.exe;
@hydrz
Copy link
Author

hydrz commented Aug 22, 2022

Open Powershell -> Start Menu -> Run -> taskmgr -> File -> Run new Task -> %SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -> Select "Create this task with administrative privileges." -> Click OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment