I’ve got a solution now.
What creates this behaviour of your logon script not wanting to map drives?
If you have Windows 10, you want to use Edge, Calculator and PDF App. Microsoft says you need UAC enabled for that, otherwise it won’t work. So you enable UAC by GPO (Reg. Key