New
#50
Does this script backup the "save/open" window view as well?
Does this script backup the "save/open" window view as well?
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 16:32. Reason: added tutorial link for more info
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?
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 19:49.
@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.
The highlighted variableCode: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
%[Desktop]%
stands for the correct desktop folder whether it has been relocated or not. The original code was written by Try3.
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