• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

Is there a way of mapping a network drive so that the password will be accepted when re-logging on?

I have set up a mapped network drive to a server in format \\ipaddress\sharedfolder using an the administrator username and password, however, if you log out and then log back on it says: Incorrect pasword for\ipaddress\sharedfolder.

Running Windows 2000 and Server 2003.
1 Solution
Lee W, MVPTechnology and Business Process AdvisorCommented:
Yes, use a domain.  If you use and make these machines members of the domain and you can easily control access and you will never be asked for a password.

Otherwise - and this is a HUGE security risk, you would use:
NET USE X: \\ServerNameOrIP\sharedfolder password /user:ServerNameOrIP\username

You may also be able to get around it by creating an identical account with identical password on the target (sharing) machine.
Where do you have maden this sharefolder & from which machine you logon.
& Throw which username you logon to the machine.
Have you added that user in the sharing & Security of that folder.

Leon FesterCommented:
When creating shares on a workgroup, it is advised that you create a duplicate account, i.e. same username/same password on each machine that shares resources on the network.

server:       Server2000 --- Server2003
username:  this_user    --- this_user
password:   this_pass   --- this_pass

The reason is that the Security database is not shared amongst all server/workstations, but are stored on the individual machines. Having the same username/passwords on each server, allows you to specify the account in the permission/security sections of the shared folder.

The above is one of the most important reasons why domain-based central administration is preferred to the older workgroup domain model.

Additionally, remember that when you logoff...you discard all logon token that was held by your previous session, any drives mapped during your previous session using an alternative username/password are discarded as well, so when you logon to the server again and try accessing the shared resource you will then get an error mesasge. Because your previous session was lost and now a sessions is being requested using only the logged on users credentials.

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now