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.
Clear domain Cached Credentials has no reviews.
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!