0
0
ABAhmed 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}