Windows 10 preserve mapped drives

net use /p:yes

https://support.elliott.com/knowledgebase/articles/1818058-mapped-drives-disappear-after-logoff-or-reboot