Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,439 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Restarting the service after opening the provider breaks the connection and forces you to restart the entire application.
Step by step:
NCryptOpenStorageProvider(myProvider, MS_KEY_STORAGE_PROVIDER, 0)
— will be "00000000" (ERROR_SUCCESS)CNG Key Isolation
serviceNCryptOpenStorageProvider(myProvider, MS_KEY_STORAGE_PROVIDER, 0)
— will be "80070006" (ERROR_INVALID_HANDLE)How to properly reopen the provider after restarting the service without restarting the application?