I normally have a .bat file with
net use f: /delete
net use f: \\192.168.1.2\share /USER:user password
load in the startup folder
but I have a problem when the .bat file runs, networking has not been established yet, so not connection to the server is done after boot.
Is there a solution or a better way. I want to use a script to make sure the connection is established.