--- title: 5065(S, F) A cryptographic context modification was attempted. (Windows 10) description: Describes security event 5065(S, F) A cryptographic context modification was attempted. ms.pagetype: security ms.prod: w10 ms.mktglfcycl: deploy ms.sitesec: library author: Mir0sh --- # 5065(S, F): A cryptographic context modification was attempted. **Applies to** - Windows 10 - Windows Server 2016 This event generates in [BCryptConfigureContext](https://msdn.microsoft.com/es-es/vstudio/aa375379)() function. This is a Cryptographic Next Generation (CNG) function. This event generates when configuration information was changed for existing CNG context. 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 Other Policy Change Events](audit-other-policy-change-events.md) ***Event Schema:*** *A cryptographic context modification was attempted.* *Subject:* > *Security ID:%1* > > *Account Name:%2* > > *Account Domain:%3* > > *Logon ID:%4* *Configuration Parameters:* > *Scope:%5* > > *Context:%6* *Change Information:* > *Old Value:%7* > > *New Value:%8* *Return Code:%9* ***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 cryptographic functions. If you need to monitor or troubleshoot actions related to specific cryptographic functions, review this event to see if it provides the information you need.