In this post will shows you how to add and remove windows credentials by using script, script must save as a file type of .vbs format with example.
Table of - Content
Code to add Windows Credentials
Remove using script
1 - Windows Credentials.
Add Windows Credentials using script.
2 - Code to add Windows Credentials.
Open up your notepad, copy and paste the code provided into your notepad and save it as a file format of .vbs.Example LiveConfig.vbs The sample code provided will add 2 new credential, line 2 and 3, to add third and above you just need to copy and paste either line 2 or 3 and change the add:xx ,user:xx and pass:xx .
3 - To Execute.
After you double click and run the script, all the credential you will entered in the script will add into the windows credentials. To Modify the script you just need to right click on the script and select Edit.
4 - Remove using script.
Code to remove you, just need to enter the Internet or network address and run the script. After you have run the script the entered network address in the script will be removed from the windows credentials.