Okta Verify on Windows Shows a Black Screen Prompt and Access to the Path C:\[Path]Okta\OktaVerify is Denied
Last Updated:
Overview
Okta Verify on Windows shows a black screen prompt and an unauthorized access exception occurs in Okta Verify on Windows when the application lacks the necessary permissions to access its program data directory. Resolving this issue requires granting the appropriate read and write permissions to the user or the local Users group for the Okta Verify folder. When this permission issue occurs, Okta Verify fails to launch or function correctly, and the following error is recorded in the Okta Verify logs:
OktaVerifyApplicationBase.ProcessUnhandledException: Unhandled Dispatcher exception: System.InvalidOperationException: The configuration is invalid. Creating the instance for type IPluginSignalManagerFactory failed. Access to the path 'C:\ProgramData\Okta\OktaVerify' is denied. ---> SimpleInjector.ActivationException: Access to the path 'C:\ProgramData\Okta\OktaVerify' is denied. ---> System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\Okta\OktaVerify' is denied.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Okta Verify for Windows
Cause
The user account running the Okta Verify application does not have the required permissions to access, read, or write to the C:\ProgramData\Okta\OktaVerify directory.
Solution
How is the Okta Verify unauthorized access error resolved?
Grant the necessary folder permissions to the user or the local Users group by following these steps:
- Navigate to the
C:\ProgramData\Oktadirectory in Windows File Explorer. - Right-click the OktaVerify folder and select Properties.
- Select the Security tab.
- Select Edit to change permissions.
- Select the specific user or the Users group.
- Select the Allow checkbox for Full control or ensure Read & execute, List folder contents, Read, and Write are selected.
- Select Apply and then OK to save the changes.
- Relaunch Okta Verify.
