Skip to content

Instantly share code, notes, and snippets.

# Run as administrator!
# Restore the Classic Taskbar in Windows 11
New-Item -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages" -ErrorAction Ignore
New-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell\Update\Packages" -Name "UndockingDisabled" -PropertyType DWord -Value "00000001" -Force -ErrorAction Ignore
# Disable Taskbar / Cortana Search Box on Windows 11
New-Item -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search" -ErrorAction Ignore
New-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Search" -Name "SearchboxTaskbarMode" -PropertyType DWord -Value "00000000" -Force -ErrorAction Ignore