V2 Credential Provider Sample

Demonstrates how to build a v2 credential provider that makes use of the new capabilities introduced to credential provider framework in Windows 8 and Windows 8.1.

C++ (80.8 KB)
 
 
 
 
 
4.7 Star
(3)
9,231 times
Add to favorites
10/17/2013
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • How to make it for domain user
    2 Posts | Last post April 30, 2019
    • I am trying it to work for domain user. But i am not able to find any information and also not able to figure out how can i make domain user login through custom provider. 
      
      How to add username/password/otp field ? I am able to enable it for other users but how can i add username there?
      
      or any other way? 
      
      thanks
    • Hi Vijay,
      
      Have you found any solution of your query?
  • How to add additional values in combo box?
    2 Posts | Last post April 30, 2019
    • Hi, Can anyone tell is there is any way to add more than three value in the combo box. When I was tried to add, the logon screen was displayed only with the cancel button.
      
      Thanks..
    • Hi, Have you found a solution for this?
  • How to add Custom Credential Provider to ALL USERS
    3 Posts | Last post April 27, 2019
    • Hello all !
      
      I have added Custom Credential Provider to Windows Logon Screen.
      I have 3 Users on my machine.
      But I have found that it (ICON) only appears under ONE USER TILE (Sign-in options) after run register.reg
      
      Now I would like to this ICON appears under ALL USER TILE.
      It will be great help if anyone help in resolving this issue.
      
      Thanks in advance.
      
      tienit
    • Can you please tell me how to run  register.reg
       because am not able to find it in my machine
      
    • @tienit did you solve this problem? If yes I am facing the same problem can you please help me out?
  • Sample Not Working in Win10 build with VS2017
    1 Posts | Last post April 04, 2019
    • Hi Guys
      I Build the Project using VS 2017 on Win 10 Running on Oracle Virtual Box.
      Windows has only one user with Administrative Priviliges.
      
      - VC++ redistributable is Installed
      - Set the Windows SDK to 10
      - Build Successfully 
      - Copied dll to Windows\System32
      - Ran register.reg as Administrator
      - Reboot
      Don't see Sign In Options. See default Password Screen.
      
      Tried the steps mentioned by folks in below questions for Win 10 + VS17, But Nothing Worked.
      Any help is appreciated.
      Regards
      progsec
  • How to call managed DLL (C#) from CCP
    2 Posts | Last post January 01, 2019
    • Hi Guys,
      
      I would like to call a managed DLL from UI of this Custom Credential Provider (CCP).
      And here are the steps I have taken:
      1. Follow the instructions in the example below
      https://support.microsoft.com/en-us/help/828736/how-to-call-a-managed-dll-from-native-visual-c-code-in-visual-studio-n
      => Success
      
      2. Perform with CCP instead of a Win32 Console Application.
      But when click on Command Link -> call to function
      HRESULT CSampleCredential::GetMyClass() 
      {
      	CoInitialize(NULL);
      
      	IMyClassPtr obj;
      	obj.CreateInstance(__uuidof(MyClass));
      	long lResult = obj->GetData();
      	//printf("data=%d\n", obj->GetData());
      	MessageBox(NULL, (LPCWSTR)lResult, L"OK", 0);
      
      	CoUninitialize();
      }
      An error dialog with information:
      C:\Windows\System32\LogonUI.exe
      This application has requested the runtime to terminate it in an unusual way...
      
      Any suggestions will be great help.
      
      Regards,
      tienit
    • Hi tienit !
                    
                 I know its an older post ,How are things going on your side.Did you find a solution? any help would be appreciated.
      
      Regards.
       
  • Building Solution in VS2015
    1 Posts | Last post October 04, 2018
    • Hi, I complied the code in VS2013 which the dll can successfully work in Window 10.  However, after I upgraded VS to 2015 and rebuild the dll. It cannot work in Window 10.  Can anyone has any solution on this case?
      
      Thanks!!
  • C# version of V2 Credential Provider
    1 Posts | Last post August 30, 2018
    • Hi Everyone,
      
      I would like to ask if there is a C# sample available for V2. I already have C# version of V1 but I am not able to find it for V2. So, is V2 available in C# also?
      
      Please help !!
      
      Thanks.
      Jack 
  • Tile not getting displayed
    3 Posts | Last post May 24, 2018
    • Hello All,
      
      Operating System: Windows 10
      I followed below steps:
      1.Downloaded this code.
      2.Imported in visual studio 2017.
      3.Build to generate .dll file.
      4.Copy pasted the .dll file into system32 folder of test machine.
      5.Ran register.reg file as administrator from command line.
      6.Reboot.
      
      But i cannot see any modifications on my login screen. Its the same. I see above that this source code is for Windows 8 and 8.1. Are there any modifications for Windows 10? If yes what are those?
      
      Thanks
      
      PythonCpp
    • you will VC++ redistributable DLL. Download from microsoft
    • you need to register at COM, there is a checkbox in Visual Studio Properties -> Register for COM interop or use the RegAsm.exe tool for this purpose.
      
      Regards
      Richard
  • where to find register.reg
    2 Posts | Last post April 09, 2018
    • Hi Guys,
      
      can some one guide me from where to find register.reg to execute it
      
      Thanks and regards,
      Joseph M G
      
    • should be in solutions (zip)
  • Authentication method changes to Password
    1 Posts | Last post March 15, 2018
    • Hi, 
      I used this code and i am using 2 method to sign-in, one is using pin and password.
      When i login first time with PIN and then logs out, it is supposed to show me the PIN field only next time(as default it remember previous login method),
      but it asks me for the password.
      Can anyone please help me, how can i make it remember the previous login method, i suspect there should be some change in the value of pdwDefault in Get CredentialCount method.
1 - 10 of 32 Items