I am having a trouble launching Anki on my Windows 11 PC. I get this error when I open it:
An unexpected error occurred.
ImportError: DLL load failed while importing QtWidgets:
An Application Control policy has blocked this file.
I’ve already restarted my PC and reinstalled Anki, but the same error persists. And there’s no Anki-specific block in Windows Protection History. I don’t want to disable Smart App Control because I’m concerned I might not be able to re-enable it afterward. Has anyone encountered this issue or found a workaround that allows Anki to run while keeping Smart App Control enabled? Any help would be appreciated. Thanks!
Could you open Event Viewer → Applications and Services Logs → Microsoft → Windows → CodeIntegrity → Operational and look for Events 3077 or 3033 and send screenshots?
Anki crashes during startup on my Microsoft Surface Laptop (7th Edition) with a Snapdragon X processor (ARM64), running Windows 11 Home 25H2 (build 26200.9550).
The crash dialog ends with:
ImportError: DLL load failed while importing QtQml:
“An application control policy has blocked this file.”
The traceback points to aqt/qt/qt6.py while importing QtQml. Windows Security shows that Smart App Control is On. I can’t check the Anki version because the app crashes on startup.
Could you please advise whether this is a known issue and how I can run Anki on this Windows ARM device without turning off Smart App Control globally?
I’ve attached screenshots of the error and the Smart App Control setting.
I can see that the last version you synced with AnkiWeb was 26.09.3. Did this issue start immediately after you installed that? Did you download the ARM build of that version?
If you were upgrading from a non-Arm build, these steps might still help you –
Hello! After installing anki in Windows 11 I couldn’t use it because Smart app was blocking the app, I waited for the next update 26.9.4. And I still can’t use or even open anki.