This post describes the usage of the command prompt (CMD) utility “NET USE” along with added authentication.
This is very handy, especially for those who are command prompt savvy or just someone who would like to create simple batch file to run some daily/weekly chores.
I personally use this along with FASTCOPY in a batch file to move daily database backups to a NAS which is not part of the domain.
N.B: FASTCOPY is an independent copy utility which does not use the OS resources. Click here to read more about this utility and how you can apply it to a batch file.
The command to use is
NET USE \\SERVERNAME or IP /user:<domain name>\<username> <password>
Now apply this a batch file and see it work its magic.
If you want to see an example of where NET USE can be handy, click here.
Like this:
Like Loading...