Domain login info cached?

Posted on 2009-02-16
Medium Priority
Last Modified: 2012-05-06
I have a xp pro laptop that is taken off the domain and connects back using VPN. The proglem is his password is not getting cached correctly. Can anyone tell me how to clear the cached logins and passwords?
Question by:microsymplex
  • 3
  • 2
LVL 47

Expert Comment

by:Donald Stewart
ID: 23650579
Look under
Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options\
 Interactive logon: Number of previous logons to cache (in case domain controller is not available)

Author Comment

ID: 23650591
is there a way to clear it out and start over?
There is a bad password cached somewhere.
LVL 47

Expert Comment

by:Donald Stewart
ID: 23650683
Set it to 0 and that should clear it out

Author Comment

ID: 23650935
Do you know where it caches mapped drive usernames and passwords?
LVL 47

Accepted Solution

Donald Stewart earned 1500 total points
ID: 23650991
You could add this to your logon script

'Disconnect ALL mapped drives
Dim  WshNetwork
Set WshNetwork = CreateObject("WScript.Network")
Set clDrives = WshNetwork.EnumNetworkDrives
For i = 0 to clDrives.Count -1 Step 2
    WSHNetwork.RemoveNetworkDrive clDrives.Item(i), True, True

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article is about my experience upgrading my consulting machine to Windows 10 Version 1709 (The Fall 2017 Creator Update)
It is a real story and is one of my scariest tech experiences. Most users think that IT experts like us know how to fix all computer problems. However, if there is a time constraint and you MUST not fail the task or you will lose your job, a simple …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

809 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