Remember Explorer size and position

Page 1 of 2 12 LastLast

  1. Posts : 27
    Win 7 Pro, maybe Win 10 Pro
       #1

    Remember Explorer size and position


    Win 7 had a program that remembered Explorers size and position called ShellFolderFix that runs at start-up. Specifically I want a full height (height, NOT width) window to open every time I use File Explorer so I can see as many lines as possible instead of dragging the lower border every time which is really annoying. I did a search in Tutorials, but nothing turned up.

    Is there a program that works with W 10 or a Registry hack? (22N2)? It appears that Explorer remembers the position, but it doesn't remember the size.
      My Computer


  2. Posts : 5,025
    Windows 10/11 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #2

    Hi.

    Many solutions out there. I use this program and it's free:

    AquaSnap Window Manager: dock, snap, tile, organize

    Also worth mentioning:

    WinSize2 download | SourceForge.net

    Free, as well.

    HTH,

      My Computer


  3. Posts : 27
    Win 7 Pro, maybe Win 10 Pro
    Thread Starter
       #3

    I'll give them a try. Is WinSize 2 more to the point, I don't need a lot of extras?
      My Computer


  4. Posts : 5,025
    Windows 10/11 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #4

    videobruce said:
    I'll give them a try. Is WinSize 2 more to the point, I don't need a lot of extras?
    Choose what you feel is best. You can always uninstall it.

    No worries.

      My Computer


  5. Posts : 17,099
    Windows 10 Home x64 Version 22H2 Build 19045.5371
       #5

    I use a batch file to set it to the right-hand half of my display [1920x1080].
    I have to close all File explorer windows first or the change will not 'take'.
    I run it only when I feel like it.
    - Windows uses the values set by the position & size of the last File explorer window that was closed. So I need to re-run the batch file whenever I have moved or re-sized a File explorer window.
    - I could run it at every user logon as a Task scheduler task if I wanted to.
    - I imagine that I could run it at every restart by adding a shortcut to
    "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup"
    or
    "C:\Users\%UserName%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"

    Code:
    REG ADD "HKCR\Local  Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v  "WinPos1920x1080x96(1).top" /t REG_DWORD /d 0 /f
    REG ADD "HKCR\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v "WinPos1920x1080x96(1).left" /t REG_DWORD /d 960 /f
    REG ADD "HKCR\Local  Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v  "WinPos1920x1080x96(1).bottom" /t REG_DWORD /d 1080 /f
    REG ADD "HKCR\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell" /v "WinPos1920x1080x96(1).right" /t REG_DWORD /d 1920 /f
    960=1920/2

    Note A: I read the current HKCR\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell before first using this in order to find the names that are in use then I use their names in the code
    - In another computer I have to set the names to WinPos1920x1200x96(1).left etc because that's what I found it was using.
    - In another computer I have to set the names to iWindowPosX etc because that's what I found it was using.
    - I have never had to change the names used on any given computer.
    Note B: I used to fiddle about with the values to get it exactly like a WinKey-RightArrow but the values calculated from its resolution are just a few pixels off and I have not bothered experimenting to get it closer to a perfect result on my latest computer.

    Remember Explorer size and position-resetfewindow.png

    I started doing this after I was inspired by @KeithM in Folder Dimensions Preserved [KeithM] - TenForums


    All the best,
    Denis
    Last edited by Try3; 07 Mar 2023 at 11:23.
      My Computer


  6. Posts : 27
    Win 7 Pro, maybe Win 10 Pro
    Thread Starter
       #6

    That WinSize2 I couldn't figure how that gets "installed" or much else about it so that was out.
    AquaSnap has a regular installer, it seems to work ok, but at the cost of not one, but three Processes running at Start Up which is a high 'cost, considering how bloated W10 is already.

    Try3;
    Thank for all of that, but I do on occasion move Windows around for specific purposes (accessing my other PC's for example), so that wouldn't work.

    Update:
    Well, it looks like ShellFolderFix does work in W10 even thou there is nothing listed as doing so other then others listing the program in other articles/ Forums etc. Which I wasn't expecting. And this is using Open Shell!

    Program is here;
    Download ShellFolderFix - MajorGeeks
    Last edited by videobruce; 07 Mar 2023 at 12:39.
      My Computer


  7. Posts : 5,025
    Windows 10/11 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #7

    @Try3 -

    Since we are on the subject...

    Is there an easy way to make certain windows each open in a particular dimension?

    For example. My PC, Control Panel, Settings, etc.

    This way when I click on the selection each window will open to my preset defaults.

    TIA.

      My Computer


  8. Posts : 17,099
    Windows 10 Home x64 Version 22H2 Build 19045.5371
       #8

    Most, if not all, applications open their window at the size & position it was in when it was closed.
    Notepad windows can be set up in a similar way to File explorer. See Reset Notepad Default Open Position and Size - TenForumsTutorials I don't reset it to default; I set it to what I want using ResetNotepadWindow.bat for which you'd have to experiment to find the right coordinates for your computers & requirements.
    Other than that, I don't know of any method of achieving what you are after.

    Contents of ResetNotepadWindow.bat:-
    Code:
    :: Posted by Denis, Try3 in https://www.tenforums.com/general-support/203173-remember-explorer-size-position-post2519803.html#post2519803
    
    :: This sets the Notepad window to the right-hand half of the screen as if it had been WinKey-Righted
    :: No allowance has been made for the use of external monitors or display scaling.
    prompt $g
    Title Reset Notepad window
    
    GoTo %ComputerName%
    
    :COMPUTER1
    :COMPUTER2
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "fWrap" /t REG_DWORD /d 0 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "StatusBar" /t REG_DWORD /d 1 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosX" /t REG_DWORD /d 954 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosY" /t REG_DWORD /d 0 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosDX" /t REG_DWORD /d 973 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosDY" /t REG_DWORD /d 1055 /f
    GoTo EndResetNotepadWindow
    
    :COMPUTER3
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "fWrap" /t REG_DWORD /d 0 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "StatusBar" /t REG_DWORD /d 1 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosX" /t REG_DWORD /d 762 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosY" /t REG_DWORD /d 0 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosDX" /t REG_DWORD /d 779 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosDY" /t REG_DWORD /d 935 /f
    GoTo EndResetNotepadWindow
    
    :COMPUTER4
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "fWrap" /t REG_DWORD /d 0 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "StatusBar" /t REG_DWORD /d 1 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosX" /t REG_DWORD /d 675 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosY" /t REG_DWORD /d 0 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosDX" /t REG_DWORD /d 697 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosDY" /t REG_DWORD /d 745 /f
    GoTo EndResetNotepadWindow
    
    :COMPUTER5
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "fWrap" /t REG_DWORD /d 0 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "StatusBar" /t REG_DWORD /d 1 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosX" /t REG_DWORD /d 940 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosY" /t REG_DWORD /d 0 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosDX" /t REG_DWORD /d 988 /f
    REG ADD "HKCU\Software\Microsoft\Notepad" /v "iWindowPosDY" /t REG_DWORD /d 1177 /f
    GoTo EndResetNotepadWindow
    
    :EndResetNotepadWindow
    ::Pause at EndResetNotepadWindow during testing
    I always run this from a shortcut so I can set it to run minimised & with an icon of my choosing. It only takes the blink of an eye to complete.


    All the best,
    Denis
      My Computer


  9. Posts : 5,025
    Windows 10/11 Pro x64, Various Linux Builds, Networking, Storage, Cybersecurity Specialty.
       #9

    @Try3 -

    Just certain windows, not applications.

    Thanks, Denis.

      My Computer


  10. Posts : 17,099
    Windows 10 Home x64 Version 22H2 Build 19045.5371
       #10

    Compumind said:
    Just certain windows, not applications.
    Brian,

    Your earlier examples indicate that it's Windows components that you're interested in. I don't recall seeing any methods of controlling their windows [other than File explorer & Notepad].

    I'd bet there are third-party utilities to do the job in part. I wouldn't expect any of them to be able to cope with everything.

    Denis
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:12.
Find Us




Windows 10 Forums