Please check your DNS & DHCP is working properly. When mapping a network drive, you can tell the computer to remember your mapping after you restart the computer. If you want to make all future connections are persistent (auto-reconnect at login), use the following in .bat file:
NET USE X:\\servername\sharefolder name /Persistent:Yes
or
NET USE X:\\servername\sharefolder name /P:Yes
X=: you may put any drive letter