I am trying to find out a way to persist the mapped drive connections .
I have the following script: -
NET USE \\Server\Share password /USER
omain Name\Username.
Can I put this script in the autoexec.bat file so that every time the server is rebooted, the share would automatically be mapped and we would not require to supply the username / password for the share.
In your opinion, is there a better way to handle this or any other recommended solution.
I have the following script: -
NET USE \\Server\Share password /USER
Can I put this script in the autoexec.bat file so that every time the server is rebooted, the share would automatically be mapped and we would not require to supply the username / password for the share.
In your opinion, is there a better way to handle this or any other recommended solution.