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.


About Rohit R. Verlencar

I've written about myself here:

One response »

  1. […] (batch file) the process of moving files large files to your NAS which is not part of the domain, first click here to read my blog on using “NET USE” with authentication, then follow the below […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s