Logon Script

  • Thread starter Thread starter Nate
  • Start date Start date
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
 
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
 
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}]
 
Back
Top