I need help creating a batch file that will map a network share as a different user name (i.e. "net use s: \\servername\share /user:domain\john"). The first part of my problem is that I'd like the user to be prompted to enter his password at this point.
Secondly, I'd like the batch file to generate a pop-up window with a disclaimer once the "net use" share has been mapped.
Lastly, I'd like the batch file to generate another pop-up window that asks "would you like to log off your windows session?" and when the user clicks "OK", the computer logs off (i.e. shutdown.exe -l).
Can anyone help me write this beast!!??