I have the same problem with Windows 10 2004.
Try to restart Workstation service. It takes about 5-10 mins for me. (But after reboot it doesnt work too.) so after the Workstation service restart delete your mapped drive with "net use drive /delete"
and create a script which will connect your mapped drive, and put it into "startup" folder: