Windows 8 and ICredentialProviderCredential::GetBitmapValue


  • Hello!

    - Question 1, User tile size:

    As you can figure out in the title i have a custom Credential provider.

    The goal of provider and it's purpose is furfilled (everything works), however I have problem with the provided image. (User tile.)

    On windows 7 it looks as it should. On windows 8 the tile is 'shrinked' to 128x128 even if i provide a larger bitmap.

    I havn't found what sizes i should provide, but it looks like the oter tiles in win8 is 200x200.

    I have tried to provide different images in ICredentialProviderCredential::GetBitmapValue, but the image is shrinked to 128x128 pixels.

    - Question 2, User tile origin:

    I used the document:

    To get the actual user tile.

    Basically: %SystemDrive%\Users\<username>\AppData\Local\Temp\<domain>+<user>.bmp

    And it works ok even if win8 sometimes not updating the file. The test clients is domain joined etc, works.

    However, the tile provided (file) is in 128x128 size.

    Inside ICredentialProviderCredential::GetBitmapValue i did stretch the image to 200x200 but it is still shrinked tp 127x127. (As of question 1.)

    (I tested my function by saving the image from within ICredentialProviderCredential::GetBitmapValue and it is a valid 200x200 image.)


    Stefan Ullgren

    Tuesday, November 20, 2012 10:58 AM

All replies

  • I got the same problem.

    who can help me?

    Wednesday, January 09, 2013 5:10 AM
  • Hello guys,

    your question and the thread seem to be a bit old and maybe you've found a solution. But did you developed a CredentialProviderv2?

    Like specified in this document:

    If not the provided document may explain you, where your problem is.

    Wednesday, June 10, 2015 9:43 AM