Oct 04, 2018
Aug 31, 2016 · net use X: \\10.0.0.200\Staff /user: // this will prompt for a username and password. Copy the file to each PC in the a directory called UTILS for example. Then create a shortcut on each users desktop that they can execute when necessary the points to the batch file in C:\UTILS. EXEC xp_cmdshell 'net use /USER:username x: \\ComputerName\ShareName password' Where you need to replace username and password with yours and \\ComputerName\ShareName with your server’s name and the name of shared folder you wan to use. Second step can be a Maintenance Plan for backup and as a third step is good to have command like this NET USE command can map a network printer to an LPT port (for DOS type applications that print to a port.) but this does not add the printer to the Control Panel. By default all mapped drives have a 15 minute idle session timeout , you can modify this with the NET CONFIG command. The white space in between breaks down the user name into two and affects the syntax structure i.e. net user username password.therefore the line: net user James Clark 12234, is the same as: user James, password: Clark 12234. in which the user James does not exist on the computer. try an underscore between the usernames e.g. net user James
Apr 17, 2018
[SOLVED] How to show mapped drive user credentials on Dec 02, 2015 Manage passwords - Computer - Google Chrome Help
Oct 13, 2014 · if not exist R net use R: /USER:"domain"\"user" \\"Server"\"Share"\"Folder" "password" If I leave out "password" and replace it with * I will be asked for the correct password and by typing it in the drive is connected properly.
May 18, 2011 · net help