Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Map Network Drive password?

Status
Not open for further replies.

tjbennett

MIS
Feb 8, 2005
95
US
Why is Windows 7 asking for a username and password when I try to Map a Network drive?
 
Because probably the shared folder has a user rights that are different to the existing user in the computer you are trying to map from.

Say if [blue]PC1[/blue] with [COLOR=white green]share1[/color] has permissions for [COLOR=white #BB2200]user1[/color] to access the shared folder.

PC2 with [COLOR=#646464 #dddd00]user2[/color] trying to connect is not one of the users registered to access [COLOR=white green]share1[/color] in [blue]PC1[/blue].



----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
It's actually a SNAP SERVER, external hard drive on the network. The person does have access to it (previously on WindowsXP, with no problem).
 
Same user and password as the XP machine?
Does the Snap server have any file permissions set?
Does the same user from another machine exhibit the same issue?

Vista - Map Network drive fails user & password

You may need to change some security settings for Win7. The thread deals with Vista, but it should work with 7 to. Also this is for Business and upwards versions of 7. If the OS is a Home version you may need to disable User Account control (UAC).

Turn Off or Disable User Account Control (UAC)






----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
There also is an area for managing stored passwords.

You can add, delete or change the passwords that you store on your computer.

Open User Accounts via the Control Panel.

In the left pane, click Manage your Credentials.

Select the password you want to manage (or use the Add button to add a password and network location).

Click Edit , if you want to make any changes , and then click OK.
 
If I enter the administrators name and password, when it asks, I am then able to access the drive. However, doing so gives the user access to everything. There must be some security settings either on the Snap Server or Windows 7 that I'm missing. It just doesn't make since because when using Windows XP never had to enter anything.
 
Seems like the user is different now than it was in WinXP.

I'd look into thew SNAP Server permissions. Make sure they match the current user for whatever folders you want him to access.


----------------------------------
Phil AKA Vacunita
----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.

Behind the Web, Tips and Tricks for Web Development.
 
Need to enable older LM & NTLM authentication. Since Vista, this has been set to NTLM2 auth only. SNAP servers generally don't support NTLM2 auths.

1) Click Start
2) Click Control Panel (not classic view)
3) Click System & Maintenance
4) Click Administrative Tools
5) Double Click Local Security Policy
6) On the left pane, click to expand Local Policies
7) On the left pane, click on Security Options
8) Now, on the right pane, near the bottom, click on
Network Security LAN Manager Authentication Level
9) On the drop down, change the default setting (NTLMv2 only) to
Send LM & NTLM - use NTLMv2 session if negotiated.


You can also set this through Group Policy if you are on a domain.
 
I found the answer, it has to do with the Snap Server not Windows 7 so much. At least this worked, I had to create a user on the Snap Server (same as the Windows 7 user) and that enabled them to access it (thru the security of the Snap Server) instead of the Windows 7 security.
 
I have no experience of the Snap Server, but it is a general Windows situation too.

Generally, it is possible to map a network drive to drive letter "X" with pass-through permissions and security with the command line "net use", even if the drive or WORKGROUP PC is apparently inaccessible to a user.

syntax is net use X: \\computername\sharename /user username

running this will then ask for the password belonging to "username" for a password protected share and disallow access to other users' password protected folders where applicable.

(or net use X: \\computername\sharename /user username password -but this requires typing the password visibly in the console

The "/PERSISTENT:YES" or "/PERSISTENT:NO" can be made to reconnect or disconnect the mapping at subsequent startups or logins, I believe.

A nice resource is here: a little more friendly than some manuals or the commandline help.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top