title: How do I determine if Windows Credentials are disabled
body: <p>I am using the <code>CredRead()</code> and <code>CredWrite()</code> functions from the Windows Credential Manager API to store and retrieve user passwords, as outlined in <a href="https://stackoverflow.com/a/9228105/2407350">this StackOverflow answer</a>.</p>
  
  <p>However, I have read that it is possible to disable the Credential Manager by setting a Group Policy, or simply by stopping/disabling the Credential Manager service.  In this case, I would like to update my application's UI to reflect that Credential storage is not currently available.</p>
  
  <p>Is there a reliable way to determine programmably whether or not the Credential Manager has been disabled?</p>