Environment
OS: Windows 10 amd64
wechat-cli version: v1.6.20 (installed via release zip + install.ps1)
WeChat version: tried both 4.1.11.55 and 4.1.10.53
Install path: D:\Weixin
Data path: D:\WeChat\xwechat_files<wxid>
DB count: 25 .db files under db_storage/ (message_0~3, session, contact, etc.)
WCDB: available (status reports wcdb.available: true)
What I did
[Environment]::SetEnvironmentVariable("WECHAT_CLI_DB_ROOT", "D:\WeChat\xwechat_files<wxid>", "User")
wechat-cli.exe cache refresh --force
Expected
Keys extracted, metadata cache built, sessions returns results.
Actual
{
"ok": false,
"error": {
"code": "tool_error",
"message": "wxkey setup failed: no usable Windows WeChat raw keys found after scanning 5 process(es)..."
}
}
wechat-cli status shows readiness: blocked, blocked_by: key_config_missing.
What I've tried
✓ Confirmed WeChat is logged in and a chat window is open
✓ WECHAT_CLI_DB_ROOT points to the correct account directory (verified by cache status showing source_db_count: 25)
✓ Tried specifying WECHAT_CLI_WECHAT_PID to each of the 14 WeChat-related processes (5x Weixin.exe + 9x WeChatAppEx.exe) — all return 0 keys
✓ Tried with admin privileges
✓ Set WECHAT_CLI_KEY_SCAN_TIMEOUT=5m
✓ Downgraded WeChat from 4.1.11.55 to 4.1.10.53, re-logged in, re-tried — same result
Additional context
The WeChat 4.x installation on this machine does not have WeChatWin.dll. The main process modules include a 215 MB flue.dll instead. Other tools (wx-cli, PyWxDump) also fail because they hardcode WeChatWin.dll in their memory scan — but I assumed wechat-cli handled this since it correctly identifies the 25 source databases.
Logs
[2026-07-21T10:24:02.9848580Z] [wechat-cli] no schema-2 DB keys cached — running wxkey key setup...
No further diagnostic output available.
Happy to provide any additional debug info — let me know what you need.
Environment
OS: Windows 10 amd64
wechat-cli version: v1.6.20 (installed via release zip + install.ps1)
WeChat version: tried both 4.1.11.55 and 4.1.10.53
Install path: D:\Weixin
Data path: D:\WeChat\xwechat_files<wxid>
DB count: 25 .db files under db_storage/ (message_0~3, session, contact, etc.)
WCDB: available (status reports wcdb.available: true)
What I did
[Environment]::SetEnvironmentVariable("WECHAT_CLI_DB_ROOT", "D:\WeChat\xwechat_files<wxid>", "User")
wechat-cli.exe cache refresh --force
Expected
Keys extracted, metadata cache built, sessions returns results.
Actual
{
"ok": false,
"error": {
"code": "tool_error",
"message": "wxkey setup failed: no usable Windows WeChat raw keys found after scanning 5 process(es)..."
}
}
wechat-cli status shows readiness: blocked, blocked_by: key_config_missing.
What I've tried
✓ Confirmed WeChat is logged in and a chat window is open
✓ WECHAT_CLI_DB_ROOT points to the correct account directory (verified by cache status showing source_db_count: 25)
✓ Tried specifying WECHAT_CLI_WECHAT_PID to each of the 14 WeChat-related processes (5x Weixin.exe + 9x WeChatAppEx.exe) — all return 0 keys
✓ Tried with admin privileges
✓ Set WECHAT_CLI_KEY_SCAN_TIMEOUT=5m
✓ Downgraded WeChat from 4.1.11.55 to 4.1.10.53, re-logged in, re-tried — same result
Additional context
The WeChat 4.x installation on this machine does not have WeChatWin.dll. The main process modules include a 215 MB flue.dll instead. Other tools (wx-cli, PyWxDump) also fail because they hardcode WeChatWin.dll in their memory scan — but I assumed wechat-cli handled this since it correctly identifies the 25 source databases.
Logs
[2026-07-21T10:24:02.9848580Z] [wechat-cli] no schema-2 DB keys cached — running wxkey key setup...
No further diagnostic output available.
Happy to provide any additional debug info — let me know what you need.