What worked for me was to enter DOMAIN\username as the username when first being asked for logon details for the mapped share. Make sure the DOMAIN is the same workgroup or domain the computer is a part of. Otherwise the credentials get lost on reboot.