Have you made any recent updates that you are aware of on this device? If so try uninstalling them and check if this sorts out the issue
This workaround works only for the device that has network access at logon. If the device has not established a network connection by the time of logon, the startup script won't automatically reconnect network drives.
Copy the script file (MapDrives.cmd) to the following location:
Copy the script file (MapDrives.ps1) to the following location:
A log file (StartupLog.txt) will be created in the %TEMP%\ folder.
Log off, and then log back on to the device to open the mapped drives.
Script here https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/mapped-network-drive-fail-reconnect
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–