1 reply
by joseph moore
I'm sorry, but it is late Friday evening for me, I am tired, it has been a long week, and your question is not making much sense.
What are you trying to do, exactly? Are you asking how to map drives like USERX when USERY runs the app?
If so, then you can do this from withing a BAT file. You can use the NET USE command with the /U switch to specify a username/password to mape the drives as.
For example, when BOB is logged in, he can run a script that maps drive G to \\SERVER1\SHARE1. Normally, it looks like this:
NET USE G: \\SERVER1\SHARE1
Now,that will run with BOB's permissions. Now, say that BOB wants to map the drive, but use TOM's account, since TOM has more rights then BOB. Now, the security issues asside, it would be done like this:
NET USE G: \\SERVER1\SHARE1 /U:DOMAINNAME\TOM "TOM's password"
That's it.
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending