Clear the code for storing the user name and password list using the batch processing/logout script

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.