Link to home
Start Free TrialLog in
Avatar of Peter_Fabri
Peter_Fabri

asked on

New users

I have setup a new user with an e-mail address, profile path and login bat file specifying paths to 3 drives, F,G and P. When I tried to logon as that user I was denied access to the the F & G drives and could not see the P drive. I did a little invesitgation and added several common groups to the users account. Logging on again I could access the F & G drives but still could not see the P drive! In order to show the P drive to my user I simply mapped the drive letter and selected reconnect at logon. Any reason why the P drive does not appear as the script file specifies it should!!

The part of bat file looks like:

net use p: \\server\user%
net use f: \\server\folder1
net use g: \\server\database$


Peter



Avatar of Microtech
Microtech
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi Peter_Fabri,

try net use p:\\server\%username%

Hope This helps
as long as the folders ae set up to be the usernames of your users and are already there this will work
Avatar of Peter_Fabri
Peter_Fabri

ASKER

In some cases the .bat files have net use P: \\server\name$ and in other cases it is
net use P:\\server\%username% but both show the P drive on logon! I'm a little confused as to why this is. Is it best to always use %username%?

Also, when I mentioned about being denied access to drives I was told by a network expert that I had to locate the path and allow permissions to the directories for the user to access the drives. How would you do this?

Peter
 
ASKER CERTIFIED SOLUTION
Avatar of ChrisDent
ChrisDent

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I thought the "net use P:\\server\%username%" creates a private drive (P) for the user, but I am unable to do this via the .bat file! How do I create a private drive for my users using login scripts?

Peter
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial