--- title: 5057(F) A cryptographic primitive operation failed. (Windows 10) description: Describes security event 5057(F) A cryptographic primitive operation failed. ms.pagetype: security ms.prod: w10 ms.mktglfcycl: deploy ms.sitesec: library author: Mir0sh --- # 5057(F): A cryptographic primitive operation failed. **Applies to** - Windows 10 - Windows Server 2016 This event generates in case of CNG primitive operation failure. For more information about Cryptographic Next Generation (CNG) visit these pages: - - - - This event is mainly used for Cryptographic Next Generation (CNG) troubleshooting. There is no example of this event in this document. ***Subcategory:*** [Audit System Integrity](audit-system-integrity.md) ***Event Schema:*** *A cryptographic primitive operation failed.* *Subject:* > *Security ID%1* > > *Account Name:%2* > > *Account Domain:%3* > > *Logon ID:%4* *Cryptographic Parameters:* > *Provider Name:%5* > > *Algorithm Name%6* *Failure Information:* > *Reason:%7* > > *Return Code:%8* ***Required Server Roles:*** None. ***Minimum OS Version:*** Windows Server 2008, Windows Vista. ***Event Versions:*** 0. ## Security Monitoring Recommendations - Typically this event is required for detailed monitoring of CNG-related actions with cryptographic keys. If you need to monitor or troubleshoot actions related to specific cryptographic keys and operations, review this event to see if it provides the information you need.