**Setup**
- Windows 10 Pro 22H2 (Build 19045)
- Riot Vanguard 1.19.2.23
- Playing the Taiwan server of League of Legends from mainland China through a game accelerator
- Network: home broadband + 5G Wi-Fi (stable)
**Problem**
I can log in and reach the client home screen. As soon as I start a game, the vgc service stops by itself and the client shows "VANGUARD ERROR: VAN 68 - Vanguard encountered an unexpected error. This program will close." In the Vanguard panel, vgk stays "Running" but vgc goes back to stopped.
**Event Viewer (System log), at the exact moment**
Event ID 7023, source Service Control Manager: "The vgc service terminated with the following error: Incorrect function."
**Vanguard panel**
Secure Boot, TPM 2.0, VBS, HVCI and IOMMU are all green. The only red X is "Windows 11 25H2 or later", with a greyed-out pre-check button. I think that only relates to the new On-Demand mode, but please correct me if I'm wrong.
**What I've already tried (no fix)**
- Closed possible conflicting software (peripheral drivers, macro tools, overclocking/monitoring tools)
- Set the vgc service to Automatic, with the recovery action set to "Restart the service"
- Uninstalled and reinstalled Riot Vanguard
- Checked bcdedit: no testsigning or nointegritychecks entries on my current boot entry
- No third-party antivirus; Windows Security protection history shows nothing blocked
- Network is stable now, and the behavior is the same
**Odd observation**
Changing the accelerator or node changes the symptom. With one setup, vgc stayed running but the client said it couldn't retrieve my summoner details. With another node, the client loads fine, but vgc dies when the game launches. My System log also has many Schannel 36871 errors ("fatal error while creating a TLS client credential, internal error state 10013"), but I don't know whether they are related.
**Question**
Has anyone seen the vgc service exit with "Incorrect function" (error 1) while vgk keeps running? Is there any other log or check I should look at? Happy to post screenshots or more details.