Snausages August 4, 2009 at 10:41:14 Specs: Windows XP
I'm trying to write a batch file to map certain drives but some of the drives require a username and password. Is there a way to put this into in the batch file so no user intervention is required? IE. if I was trying to map a drive I would use net use g: \\server\foldername but what would I put after that to automatically enter the username and password?
We have two accounts here at work, one as a regular user and one with admin rights. For some reason, they gave us space on the server for our regular accounts but not for the account with admin rights. I just wanted to create a batch file that would automaticly map to my network drive with my admin account.
What, who is they? If you have admin rights then are you not the administrator of the domain? If you are the administrator of the domain then go to the file server right click the shared folder and go to the security tab click edit then click add and add the administrator group.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.