Skip to content

Instantly share code, notes, and snippets.

@gogromat
Last active June 18, 2024 00:21
Show Gist options
  • Save gogromat/6880ad6d407fac29abb35e640fa463fa to your computer and use it in GitHub Desktop.
Save gogromat/6880ad6d407fac29abb35e640fa463fa to your computer and use it in GitHub Desktop.
Show/Hide taskbar in Windows (11)
powershell -command "&{$p='HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3';$v=(Get-ItemProperty -Path $p).Settings;$v[8]=3;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer}"
powershell -command "&{$p= 'HKCU:SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StuckRects3' ;$v=(Get-ItemProperty -Path $p).Settings;$v[8]=2;&Set-ItemProperty -Path $p -Name Settings -Value $v;&Stop-Process -f -ProcessName explorer}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment