This patch will allow users of Credential Provider to not require typing the domain name before their credentials during log in, i.e., instead of requiring:


DOMAN\Username


The user can opt to type:


Username


And Credential Provider will assume the user belongs to the default domain the server/computer belongs to.



Installation


Open Windows Explorer window. Navigate to C:\Windows\System32.


Rename MiTokenCredProvider.dll to MiTokenCredProvider.dll.bak


Download MiTokenCredProvider.dll from this article and copy it to C:\Windows\Windows32



Rollback


Open Windows Explorer window. Navigate to C:\Windows\System32.


Remove MiTokenCredProvider.dll


Rename MiTokenCredProvider.dll.bak to MiTokenCredProvider.dll



Testing


Usually there is no need to restart the server/computer after the DLL is replaced. It is reloaded live when the user locks or closes the session.


Lock/close the user session and try to login again without typing the domain name before the username. Type the AD password and the OTP or bypass code to log in.