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!

2000 / XP Map Drive to Server Not In Domain

Network Browsing

2000 / XP Map Drive to Server Not In Domain

by  airbourne  Posted    (Edited  )
Problem: On Windows 2000 / XP computer that is part of a domain, you try and map a drive to a server that is not a part of the domain, and use LOGON USING DIFFERENT CREDENTIALS, when you reboot, you will be prompted to supply a password again. However, instead of \\SERVER\USER, it will display \\DOMAIN\USER and will not connect because that username does not exist in the domain, does not have the same password, or has the same password but will not connect because \\DOMAIN\USER does not have access, but \\SERVER\USER does.

Example:
1. Windows 2000 Domain Environment
2. AS400 server not on the domain
3. A PC running Windows 2000 / XP with a user logged into domain.

When you map a drive to another computer using different credentials, Windows tries to use pass-through authentication first by looking at the local SAM on your computer for the username & password. If it does not find it, you will get a prompt for a password, but the credentials will say \\DOMAIN\USERNAME, which may not be the same as the credentials you supplied.

Solution: Create a local username with the same name and password as is on the share of the computer not in the domain that you want to map. When you map the drive and specify alternate credentials, simply put in USERNAME & PASSWORD, don't put \\SERVER\USER.

Windows will now use Peer to Peer pass-through authentication to remap that drive.

Bonus: If you are able, and do not use roaming profiles, map the drive using the above steps as the local administrator, log in as someone else with local admin rights, and copy the NTUSER.DAT, NTUSER.INI, NTUSER.DAT.LOG to the DEFAULT USER PROFILE. Now, that drive will map automatically with the credentials for every user that sits at that computer.

--------
Step by Step Format:

1. Where is drive mapped to?: \\AS400\SHARE1
2. What is the username on the AS400?: johnny
3. What is the password for that user?: rockets
4. Create a local username on your workstation to match the username and password as on the AS400.
5. Map the drive and connect using a different username. Put in:

username: johnny
password: rockets

6. (optional) log in as a different account but one that has admin rights. Copy the NTUSER.DAT, NTUSER.INI, NTUSER.DAT.LOG from the profile that you mapped the drive to the DEFAULT USER PROFILE.

WARNING: Step 6 will overwrite the DEFAULT USER PROFILE, WINDOWS SETTINGS & IE Settings to that of the profile you copied the files from.

As always, test before implementing any changes and make sure you understand how it works.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top