Domain login info cached?

Posted on 2009-02-16
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
    LVL 47

    Expert Comment

    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

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

    Expert Comment

    Set it to 0 and that should clear it out

    Author Comment

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

    Accepted Solution

    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

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…
    Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
    As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
    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). …

    729 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