Skip to content

Instantly share code, notes, and snippets.

@LesFerch
Last active March 10, 2024 03:56
Show Gist options
  • Save LesFerch/0ad5b9244aa860c79b0850b5e2e76405 to your computer and use it in GitHub Desktop.
Save LesFerch/0ad5b9244aa860c79b0850b5e2e76405 to your computer and use it in GitHub Desktop.
Make Explorer Remember its Window Size and Position
@echo off
taskkill /f /im explorer.exe
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\ShellBrowser" /f /v ITBar7Layout /t REG_BINARY /d 13000000000000000000000020000000100001000000000001000000010700005e01000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
start explorer.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment