Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8706449
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T03:37:01+00:00 2026-06-13T03:37:01+00:00

I have used Microsoft’s Credential Provider samples to put together a wrapper for the

  • 0

I have used Microsoft’s Credential Provider samples to put together a wrapper for the default Windows 7 logon screen.

All appears to be running well in terms of the new CP, but I am getting duplicate tiles appearing on my logon screen, namely the default Windows tile, and my ‘wrapped’ tile.

How can I remove the default Windows tile, as this does not incorporate my changes?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T03:37:02+00:00Added an answer on June 13, 2026 at 3:37 am

    There are two possible solutions:

    1. Take a closer look at GetCredentialCountfunction of your provider.
    In case of wrapping existing provider, in that function you should get a count of credentials from underlaying provider (that one being wrapped) and wrap them by yours credentials. Maybe, somehow (due to logical errors in code) you make several duplicates of credentials. (I’ve never wrote a wrapper, but this approach may have sense).

    2. Another way is to write your own CredentialProviderFilter by implementing ICredentialProviderFilter interface.
    !
    If you take a look at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication registry key, you will see that among other subkeys there are 2 interesting ones: Credential Providers and Credential Provider Filters.
    Thats how it looks on my PC:

    Under Credential Providers are listed all credential providers of your windows, and among them there is your own credential provider. The idea of Credential Provider Filter is to filter out all other credential providers, except yours one. You can distinguish your credential provider from others by GUID.
    The implementation of this is very simple — you have to implement just one method from ICredentialProviderFilter interface. This method is ICredentialProviderFilter::Filter.

    HRESULT MyProviderFilter::Filter(      
        CREDENTIAL_PROVIDER_USAGE_SCENARIO cpus,
        DWORD dwFlags,
        GUID *rgclsidProviders,
        BOOL *rgbAllow,
        DWORD cProviders)
    {
        UNREFERENCED_PARAMETER(dwFlags);
    
        for (DWORD dwI = 0; dwI < cProviders; dwI++)
        {
            if (!IsEqualGUID(rgclsidProviders[dwI], myProviderGUID))
            {
                rgbAllow[dwI] = FALSE;
            } else rgbAllow[dwI] = TRUE;
        }
        return S_OK;
    }
    

    So in result, all providers will be disallowed except yours one. You can implement ICredentialProviderFilter and ICredentialProvider in one module. As far as I remember there is a sample for credential provider filter in Microsoft Windows SDK.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have used the demo here. All works well. http://code.msdn.microsoft.com/Word-2010-Using-the-Drag-81bb5bff However, when I try
I have used Microsoft.Office.Interop.Excel namespace to create excel sheets using C# . I want
For those of you who have ever used Microsoft Excel in a manner that
I have used code like this: http://msdn.microsoft.com/en-us/library/dw70f090.aspx to access database before when working in
I have a few quick questions about the Microsoft Detours Library. I have used
I have used Microsoft.SqlServer.Smo.dll and Microsoft.SqlServer.ConnectionInfo.dll in a number of VS2008 projects but they
I have used microsoft system.security.cryptography to make md5 in c# application but I need
I have used this article Microsoft Article to use SSL for my existing site
I'm an ASP.NET developer who has used Microsoft SQL Server for all my database
I have used the silverlight control in CRM 2011.It also published on form but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.