Created
October 19, 2015 07:55
-
-
Save SubOptimal/c69d632c0f63444b0ac8 to your computer and use it in GitHub Desktop.
fix locked taskbar autohide in Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# sometimes the autohide of the Windows taskbar doesn't work anymore | |
# and the taskbar is showed permanently | |
# | |
# beside killing and restarting the explorer.exe process it's enough | |
# forcing to display a new tooltip | |
[reflection.assembly]::loadwithpartialname("System.Windows.Forms") | |
[reflection.assembly]::loadwithpartialname("System.Drawing") | |
$notify = new-object system.windows.forms.notifyicon | |
$notify.icon = [System.Drawing.SystemIcons]::Information | |
$notify.icon = [System.Drawing.SystemIcons]::Error | |
$notify.visible = $true | |
$notify.showballoontip(10,"fix balloontip hiccup ","auto hide should work again",[system.windows.forms.tooltipicon]::None) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment