Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use batch processing to clear and save the list of active passwords

Shulou Source: shulou.com Published: 2022-06-03 08:20:22 11月15日 Update

Editor to share with you how to use batch processing to clear and save the password list, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article. Let's take a look at it!

For systems above windows xp pro, the windows usernames and passwords stored in network sharing verification, intranet or proxy domain authentication, runas / savecred, etc., can be managed in the password management of "users and accounts" in the control panel, or you can run control keymgr.dll to manage.

Credentials and Protect in the user directory% appdata%/microsoft save these saved usernames and passwords. Restart after deleting these two directories, you can clear the list of saved active passwords.

So you can create a batch and add it to the user's logout script:

The code is as follows:

@ echo off

Rd "% appdata%/microsoft/Credentials" / Q / s

Rd "% appdata%/microsoft/Protect" / Q / s

However, these two directories also hold the password to access the certificate. Use this method carefully, otherwise the user will not be able to use the certificate with a password.

The above is all the contents of the article "how to use batch processing to clear and save dynamic password list". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Password user directory article administration two content user name certificate authentication not much code intranet most way more this method knowledge system network Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Shulou Tech Info MySQL vpn Redmi