.
i think you’re correct that domain cached credentials are stored under HKLM\Security\Cache, and setting CachedLogonsCount to 0 only prevents new cached credentials from being stored—it doesn’t remove any existing ones. To fully clear the cached credentials, you can use a startup script or Intune remediation script to delete the NL$# entries directly, or use nltest /SC_REMOVE:<domain> followed by a reboot to break the domain trust and flush cached credentials.
Additionally, ensuring that the user’s account is disabled in Active Directory and that the device performs a successful sync with Intune/Entra ID will help enforce sign-in restrictions once the cached data is cleared. For high-security scenarios, you can also consider leveraging Autopilot Reset or Fresh Start to reprovision the device cleanly.