4 replies
I dont know about the batch file, but if you create an identical account (id+pw) for the user you can use the passtrough feature of windows, so he wont be prompt for a username and pw anymore.
Leopold
by joseph moore
Say your user needs to map drives to a machine called \\SERVER1 and say you made a user account on that machine called BOB for your user to log in with (and a password of "password"). Put this line at the beginning of the BAT file the user is using:
NET USE \\SERVER1\IPC$ /U:BOB "password"
You see, if you manually authenticate to the IPC$ on the machine that has the shared folders you user wants to map to, then you can make any subsequent NET USE drive mappings to that machine, and you won't be asked for username/password.
If your user is mapping to more than 1 machine, then just manually authenticate to the IPC$ share on each one the same was as I listed above.
hope this helps
by jsarinana
Thanks Joseph Moore
OK, user is bob password is pass, server is ksn3 is this may command:
net use \\ksn3\ipc$ /u:bob pass
?
by jsarinana
This discussion is closed to new replies.
Trending Networks posts
Sort by Trending