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

Posted on 2006-06-07
Last Modified: 2010-03-19
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.
Question by:LVGICT
    LVL 95

    Accepted Solution

    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.
    LVL 3

    Expert Comment

    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.

    LVL 26

    Expert Comment

    by:Leon Fester
    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 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

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Suggested Solutions

    What’s a web proxy server? A proxy server is a server that goes between clients and web servers, used in corporate to enforce corporate browsing policy and ensure security. Proxy servers are commonly used in three modes. A)    Forward proxy …
    If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now