?
Solved

How to get XP Pro to forget network share username and password?

Posted on 2009-12-29
11
Medium Priority
?
810 Views
Last Modified: 2012-06-27
Hi,

I have a XP Pro SP3 system, in a workgroup, not a domain, with simple file sharing enabled.

I'm trying to access a share on 2008 Server. The server has a domain account that matches the username and password of a local Power User account on the XP Pro system. (The PC will be joined to the domain eventually, but I can't do this just yet).

Now according to the rules, if you are accessing a share with a username and password that has the correct permissions on the server, it works. And it does, on several other PC's. If log into the local user account and go to \\SERVER, I see all the shares, and I can access each one that the domain account has access to, and map drives. I don't even get the username and password prompt.

Except on this one PC.

As soon as I go to \\SERVER in My Computer, up comes the username and password prompt. And it keeps putting it up, even if I use the correct username and password

If I try net use z: \\server\share  /user:theuser, enter the password at the prompt, I get "system error 1326 has occurred"

I've checked and double-checked the password and permissions, and they are correct.

My theory is that when I connect to the server for the first time using the local user account, it works. But if I connect using another account first, XP is remembering the first account I used, and not allowing a subsequent connection using another account - even if the connection is not persistent!

The first time I connected on this PC, I used the Administrator account. It (correctly) asked for a password, because the local Administrator account password does not match the domain Administrator password. And I can still connect with the Administrator account. But now I can't connect any more with the Power User account, even after a reboot.

Short of reinstalling Windows, how do you beat the PC over the head and get it to forget the Administrator account and connect with the Power User account?

I've tried:
rundll32.exe keymgr.dll, KRShowKeyMgr
there are no entries, for either account. The connections were not persistent.

The network access local security policies are set correctly, and are the same on all the PC's.

I'm aware of a workaround, to create a CNAME on the server and access the share using that, or use the server's IP address.

I'm not looking for a workaround.

Want I want to do is find out what's wrong with this PC and fix it.

Can anyone tell me why I can't connect on this PC, and how to go about troubleshooting and fixing it? Where and how is it remembering the username that last connected to the server?

Thanks in advance.

PS: I know how to use Google. Please reply only if you know the solution. Thanks.


0
Comment
Question by:danmb
  • 6
  • 4
11 Comments
 
LVL 3

Expert Comment

by:ad4m1
ID: 26142770
One thing to try is look if you have a cached password for this server listed in your Password store. You can access that by going into the control panel and click on User Accounts. If your an admin on the machine you;ll go right in or if your only using a user-level access it'll pop up with a username and password for the administrator. Either way you need to look for a link that says "Manage My Passwords"
On the "User-Level" scenario it's a hyperlink on the login box that appears but if your an admin it's under the Advanced tab and there should be a button that says Manage Passwords. Click on it and see if your server is listed in there on the machine that your having trouble on. If it is highlight it and click Remove.
I'm fairly sure this will resolve your issue.
0
 
LVL 1

Author Comment

by:danmb
ID: 26142800
That is the same as running

rundll32.exe keymgr.dll, KRShowKeyMgr

And as I've said, there are no entries, for either account.

The connections were not persistent. There are no entries in the cache.
0
 
LVL 3

Expert Comment

by:ad4m1
ID: 26142838
Ah sorry, I didn't realise they were the same. I presume there are no persistant entries in your mapped network drives. I find sometimes that it keeps a connection open even though there are no mapped drives present. My-Computer - Disconnect Network Drive. Are there any entries eithin there ?
The other thing to try this from the command line:
net use * /DELETE
that can also help.
Also on the server itself can you see the active session and what happens if you try to kill the session from the server manager console ?

0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 1

Author Comment

by:danmb
ID: 26142844
I tried net use * /DELETE. Did not help.

How do I see the active session on the server? I doubt there will be an active session, since the problem persists despite a reboot on the XP machine, and a reboot would kill any active sessions. i.e. the session is not persistent, but the problem is. Such is life, I suppose.

It's got to be something in the registry on the XP machine.


0
 
LVL 3

Expert Comment

by:ad4m1
ID: 26142875
On windows server 2008 I suspect it's the server iteself keeping the session alive although your right a reboot of the XP machine should clear the active session. It's worth a check though.
On server you need to go into the "Share and Storage Management" console.
From there you should be able to highlight the shares and see what sessions are currently open.
There is a Techrepublic topic at http://blogs.techrepublic.com.com/datacenter/?p=365 which may offer some advice on this as I don';t have access to a server 2008 console at present.
0
 
LVL 1

Author Comment

by:danmb
ID: 26142946
OK, well, thanks, but I still think it's beside the point, if the problem persists after a reboot. I'll check it out when I'm onsite tomorrow.

There's something on the XP side that is causing this.
0
 
LVL 1

Author Comment

by:danmb
ID: 26142967
Actually come to think of it, I didn't leave the server on over the holiday weekend, and the problem was there when I turned the server on monday morning. so it's not the session on the server either.

it's on XP.
0
 
LVL 3

Expert Comment

by:ad4m1
ID: 26142980
damn, ok. I'll have to give this one some thought as it's getting late here. It's gotta be something odd going on somewhere like you say on the XP side of things. I presume the machine that's giving you trouble is setup in exactly the same way as the other machines which work, ie not joined to the domain but are stand-alone machines etc. Also might be worth just checking the account on the local machine to make sure it's setup the same way too. Perhaps delete the power-user account then recreating it ?
Sorry that my advice hasn't yeilded much sucess so far.
0
 
LVL 1

Author Comment

by:danmb
ID: 26142989
ok. mañana.
0
 
LVL 3

Expert Comment

by:essam_142
ID: 26143355

Put off the Windows Firewall and try again ; it interferes with authentication sometimes
0
 
LVL 1

Accepted Solution

by:
danmb earned 0 total points
ID: 26147207
never mind.

the account got locked out.

don't i have egg all over my face.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), 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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

850 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