Logon Script

N

Nate

I want to create a logon script for a group of users that
will map a drive for them at logon, but I want to include
the logon credentials in the script(they won't have
rights to the drive and there is no other way to set this
up) Anything would help, I search the internet and I
couldn't find anything.
Thanks,
Nate
 
N

Nate

I'm using net use to map the drive:
net use z: \\Server 1\pc\Apps

But I don't know what to do after that, Somehow I guess
that I have to incorporate a user name and password in
there, but I don't know how, I'm really new to scripting,
this will probably one of the few that I have to do. VB
is a little above me also, I'm hoping I can just do this
in a regular batch file
 
R

RC

Use the good ol ?. Type net use ? in the command prompt. It gives you the
syntax for it.

NET USE [devicename | *] [\\computername\sharename[\v
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top