mei_liu
asked on
where to supply password for user1 in logonscript
Could anyone let us know where to supply the password in the following statement?
net use e: \\appsvr\D$ /user:appsvr\user1
Thanks
net use e: \\appsvr\D$ /user:appsvr\user1
Thanks
Why are you trying to connect to an administrative share in a logon script?
This is not the correct way of doing things.
If you need to, reshare the root as something else, then you won't need to administratively connect
This is not the correct way of doing things.
If you need to, reshare the root as something else, then you won't need to administratively connect
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Both Leew and RobWill have a very valid point. This is a ts enviornment, and we have some customized code that uses drive E:\ on the old app server. When we moved the application to a new TS server, we couldn't customize it since we don't have the source code, but we needed to map d: to e: which would make our application to work properly.
Since RobWill's statement works, we will give him the points.
Thanks all!
Since RobWill's statement works, we will give him the points.
Thanks all!
Why not just use SUBST instead of mapping back to a drive?
Thanks mei_liu,
--Rob
--Rob
net use x: \\server\share /user:username *
Where * = password