Jump to content

Selectively Remove Cached Credentials


Recommended Posts

Under the user account section in the control panel is the "Manage Your Credentials" dialog, and it saves the username and password for various connections, sites, etc.

What I need to find is if there is a way to interact with these saved credentials programicaly. 

 

Much the way I may need to delete a bad cookie for a website, I need to delete a bad cached credential for a user for a terminal services connection saved under the Windows Credentials secction.  It's very hard for me to get the person on the phone, on the computer, and manually fix this issue when it happens (Fire Fighters) so once I know if I can interface to these via registry, com, files, etc I can start working on a script to automate the process.

Link to post
Share on other sites
  • Moderators

I typically use cmdkey for this:

Local $site = "www.msufcu.com"

ShellExecute("cmdkey", "/delete:" & $site)

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...