Net Use in batch file

27 Sep

Recently had to map network drives for an offsite working using VPN on a non domain laptop

To do this we used the net use O: \\bass\Departments /user:[domain\username] [password] command within the batch file to use the users domain creds

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: