For windows xp pro and later systems, the windows user name and password are stored in the network sharing verification, Intranet or proxy Domain Verification, runas/savecred, and other methods, you can manage the passwords of users and accounts in the control panel, or you can run control keymgr. dll.
Credentials and Protect in the user directory % appdata %/microsoft save these usernames and passwords. After deleting these two directories, restart the system to clear and save the dynamic password list.
Therefore, you can create a batch and add it to the user's logout script:
Copy codeThe Code is as follows: @ echo off
Rd "% appdata %/microsoft/Credentials"/q/s
Rd "% appdata %/microsoft/Protect"/q/s
However, these two directories also save the password for accessing the certificate. Use this method with caution. Otherwise, the user cannot use the password-added certificate.