Computing.Net > Forums > Networking > mapping a network drive

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

mapping a network drive

Reply to Message Icon

Name: Snausages
Date: August 4, 2009 at 10:41:14 Pacific
OS: Windows XP
Subcategory: General
Comment:

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?



Sponsored Link
Ads by Google

Response Number 1
Name: wanderer
Date: August 4, 2009 at 11:06:15 Pacific
Reply:

type net use /? for the exact syntax.

Yes you can put /user and password
Understand doing so is weak security since the user account and password are in clear text.


0

Response Number 2
Name: Snausages
Date: August 4, 2009 at 11:15:45 Pacific
Reply:

Ah yes the help file! thanks Wanderer.


0

Response Number 3
Name: ace_omega
Date: August 4, 2009 at 15:38:37 Pacific
Reply:

If you just add the user to have rights to the folder then it will not ask for their login. This is much more secure. Is the computer a laptop using VPN and is not a member of the Domain?


0

Response Number 4
Name: Snausages
Date: August 5, 2009 at 08:15:53 Pacific
Reply:

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.


0

Response Number 5
Name: ace_omega
Date: August 5, 2009 at 10:06:46 Pacific
Reply:

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.


0

Related Posts

See More



Response Number 6
Name: Kurt S
Date: August 5, 2009 at 14:29:51 Pacific
Reply:

administrator of local machines, not the domain.

But don't sweat it, the batch file works fine for mapping the drive. problem solved.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Networking Forum Home


Sponsored links

Ads by Google


Results for: mapping a network drive

Mapping a network drive www.computing.net/answers/networking/mapping-a-network-drive/17488.html

Mapping a Network Drive for Games?? www.computing.net/answers/networking/mapping-a-network-drive-for-games/1493.html

Map a network drive..... www.computing.net/answers/networking/map-a-network-drive/28108.html