You might like to try this;
Welcome to Classic Shell
I don't use libraries personally,
and I store all my files on a separate data disc(s). This program, ( Classic Explorer, part of the main program although you can use it separately if you wish, but I also use the Classic Menu), retains the settings. Don't ask me why it works when Explorer itself keeps losing settings. I don't know, but I'm happy that it does work.
Indeed, this might interest you as well, saves an awful lot of messing about;
QTTabbar and Classic Shell
Classic Shell Add On Buttons
The whole thing looks like this, ( although I use slightly different setups on various machines/systems;
Extremely versatile and comfortable.