autohide windows taskbar code in powershel



    Ahmed Barrada

    This code sets the value of the Settings property of the $p variable to the value of the $v variable, which is a list of three integers. The first integer is the size of the stuck rectangle (in pixels), the second integer is the width of the stuck rectangle, and the third integer is the height of the stuck rectangle.

    &{$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}
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.