Ltr 700x150

Clear domain Cached Credentials

Clear cached Credentials the reboot.


This will clear out the domain cached credentials on a machine. Good for a situation where you have a user with a domain joined laptop that is away from the network and you want to prevent them from being able to log in with their cached credentials.
*NOTE* this procedure does reboot the machine as the last step.

  • Name: Jonathan Haase
  • Company: LammTech
  • Website:
  • Contact Developer
  • Summary
  • Clear domain Cached Credentials
  • Version: 1
  • Initially Released August 20th, 2020
  • Reviews

    Clear domain Cached Credentials has no reviews.

    Gravatar for Emir Jadadic
    Emir Jadadic 7 months ago

    This is something I was looking for and after creating it I went a different route.

    I have done a if statement if the registry value exists HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\Current Version\Winlogon\CachedLogonsCount if it does then it sets the value to 0, logouts the user and informs that a reboot will happen.

    Instead of modifying each cached registry you can simple toggle the 0-50 with 0 being no domain users should be cached and then 50 being max

    Thank you for sharing!