Backup and Restore Folder View Settings in Windows 10  

Page 6 of 12 FirstFirst ... 45678 ... LastLast

  1. Posts : 134
    Windows 10 PRO
       #50

    Does this script backup the "save/open" window view as well?
      My Computers


  2. Posts : 61,836
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #51

    bl00keRs said:
    Does this script backup the "save/open" window view as well?
    Hello bl00keRs,

    It does now. Just updated the .bat for them.
      My Computers


  3. Posts : 134
    Windows 10 PRO
       #52

    I have my own script, without save/open window entries, so I will simply borrow these lines from you

    I've another 2 cents to say/ask.
    Do the ShellNoRoam entries even exist in Windows 10? I thought they were for XP... I don't have them on my 1909 and actually never seen them on any Windows 10 build. As I told you earlier, I've my own script and these 2 lines weren't included there either, and I've never run into any problem or missing settings after restoring without them.

    I can't either find the string below. I mean it's there but without the last \Defaults path.
    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults

    Maybe you could add this entry to the backup script of yours? Just a suggestion... It's for increasing the MRU size from I guess standard 5000 or 6000 entries to 15000. There isn't any problem when applying and missing entries. I've increased it from 5000-6000 to 8000, then to 10000 and finally to the 15000 which I'm on now. Nothing has been lost.
    [HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell]
    "BagMRU Size"=dword:00003a98
      My Computers


  4. Posts : 61,836
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #53

    bl00keRs said:
    I have my own script, without save/open window entries, so I will simply borrow these lines from you

    I've another 2 cents to say/ask.
    Do the ShellNoRoam entries even exist in Windows 10? I thought they were for XP... I don't have them on my 1909 and actually never seen them on any Windows 10 build. As I told you earlier, I've my own script and these 2 lines weren't included there either, and I've never run into any problem or missing settings after restoring without them.

    I can't either find the string below. I mean it's there but without the last \Defaults path.
    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults

    Maybe you could add this entry to the backup script of yours? Just a suggestion... It's for increasing the MRU size from I guess standard 5000 or 6000 entries to 15000. There isn't any problem when applying and missing entries. I've increased it from 5000-6000 to 8000, then to 10000 and finally to the 15000 which I'm on now. Nothing has been lost.
    [HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell]
    "BagMRU Size"=dword:00003a98


    The "Streams\Defaults" keys is only there if you use "Apply to Folders".

    I'll leave the MRU size as a separate tutorial since this setting can vary per personal preference.

    General - How to Increase Folder View Settings Cache Memory Size in Windows | Windows Questions
    Last edited by Brink; 09 Dec 2020 at 15:32. Reason: added tutorial link for more info
      My Computers


  5. Posts : 134
    Windows 10 PRO
       #54

    Didn't know it since I'm not using the "Apply to Folders" although I should... I'll though... Just need to backup everything, rearrange, and apply folder templates for once so things go hell faster than manually setting every folder up as I did until now. Looks like I'll be fine by backup "Streams" strain only, and leave it as it is, as it applies to everything after this too.

    Do you know of any more explorer settings which can be backed up?
      My Computers


  6. Posts : 61,836
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #55

    bl00keRs said:
    Didn't know it since I'm not using the "Apply to Folders" although I should... I'll though... Just need to backup everything, rearrange, and apply folder templates for once so things go hell faster than manually setting every folder up as I did until now. Looks like I'll be fine by backup "Streams" strain only, and leave it as it is, as it applies to everything after this too.

    Do you know of any more explorer settings which can be backed up?
    There are a ton of File Explorer settings. May be best to post a new thread for that.
      My Computers


  7. Posts : 134
    Windows 10 PRO
       #56

    I'm missing in my backup; folder options, folder size, saved folders in the navigation panel, navigation window settings, and libraries settings/icons/folders attached.
    Last edited by bl00keRs; 08 Dec 2020 at 18:49.
      My Computers


  8. Posts : 7,484
    Windows 10 Home 20H2
       #57

    @Brink, in your batch file, you have used %userprofile%\Desktop, which does not apply to a relocated desktop. I suggest using the following code, which applies to both the default desktop and a relocated desktop.
    Code:
    Set "+=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
    For /F "tokens=3" %%# in ('Reg Query "%+%" /V Desktop') Do (Set "#=%%#")
    For /F "delims="  %%# in ('Echo "%#%"') Do (Set "#=%%#")
    Set "[Desktop]=%#:~1,-1%"
    echo The desktop folder is %[Desktop]%
    Pause
    The highlighted variable %[Desktop]% stands for the correct desktop folder whether it has been relocated or not. The original code was written by Try3.
      My Computer


  9. Posts : 61,836
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #58

    Matthew Wai said:
    @Brink, in your batch file, you have used %userprofile%\Desktop, which does not apply to a relocated desktop. I suggest using the following code, which applies to both the default desktop and a relocated desktop.
    Code:
    Set "+=HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
    For /F "tokens=3" %%# in ('Reg Query "%+%" /V Desktop') Do (Set "#=%%#")
    For /F "delims="  %%# in ('Echo "%#%"') Do (Set "#=%%#")
    Set "[Desktop]=%#:~1,-1%"
    echo The desktop folder is %[Desktop]%
    Pause
    The highlighted variable %[Desktop]% stands for the correct desktop folder whether it has been relocated or not. The original code was written by Try3.
    Good point. Bat file now updated.
      My Computers


  10. Posts : 279
    Windows 10 21H1
       #59

    Hi Shawn,

    I've written a totally new version of this script with several enhancements, such as... registry keys are only listed one time in the code, backup data now goes to a single file, added a new option to just clear settings to return to Windows defaults, added a 1 second delay between stopping and starting Explorer (fixes issue where it would sometimes get stuck on a gray screen), and added a fix for fail if Desktop path contains a space. Please let me know if I should just post it here or send it to you first or whatever. I don't want to do anything that's not in keeping with protocol.

    BTW, I noticed your script was reposted without credit at TheWindowsClub. I can email the URL if you like.

    Les
      My Computer


 

Tutorial Categories

Backup and Restore Folder View Settings in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 03:25.
Find Us




Windows 10 Forums