J
Jim
I'm a computer tech for a non-profit organization. Our IS Staff is comprised
of 5 people that aren't even close to being experts. We just moved from a
workgroup setup to AD with multiple sites (one domain controller at each
site, one GC). We had help doing the initial setup but we've been running
into little problem after little problem since the switch (mostly permission
based). Making this switch has been no joke!
I'm trying to figure out how to make a logon script work that will map a
couple of drives automatically to our file server for our users. I read that
making a batch script like this will work (and it does when I manually run
it on a workstation):
net use z: /d>nul 2>&1
net use z: \\server\share /p:y
I don't know what the /d>nul 2>&1 does and I'm not completely clear about
the /persistance switch. I know that it works though (when ran manually).
I think my problem is setting it up in AD Users&Computers. I chose
properties of a user and go to the Profile tab. In the "Logon Script" field
I put the full path to the batch file. When I log onto the domain with that
account the drive does not get mapped. My goal is to map two drives to
different servers.
I'm really new in this area and I'd really appreciate some help.
Also, if there is a way to automatically set up a network printer (basic
\\server\printer type) in a logon batch file, that would rock!
Thanks!
of 5 people that aren't even close to being experts. We just moved from a
workgroup setup to AD with multiple sites (one domain controller at each
site, one GC). We had help doing the initial setup but we've been running
into little problem after little problem since the switch (mostly permission
based). Making this switch has been no joke!
I'm trying to figure out how to make a logon script work that will map a
couple of drives automatically to our file server for our users. I read that
making a batch script like this will work (and it does when I manually run
it on a workstation):
net use z: /d>nul 2>&1
net use z: \\server\share /p:y
I don't know what the /d>nul 2>&1 does and I'm not completely clear about
the /persistance switch. I know that it works though (when ran manually).
I think my problem is setting it up in AD Users&Computers. I chose
properties of a user and go to the Profile tab. In the "Logon Script" field
I put the full path to the batch file. When I log onto the domain with that
account the drive does not get mapped. My goal is to map two drives to
different servers.
I'm really new in this area and I'd really appreciate some help.
Also, if there is a way to automatically set up a network printer (basic
\\server\printer type) in a logon batch file, that would rock!
Thanks!