Medium Operating Systems ✓ Solution Verified by Community (0+ upvotes)

How to fix error error-invalid-verify-switch in Windows 11

ERROR_INVALID_VERIFY_SWITCH = 118

65% success rate
👥 0+ users verified
📅 Updated: 2026-08-12
⏱️ 15 min read
Fix based on community reports and expert analysis. Last verified: 2026-08-12 · How we verify fixes
Error Codeerror-invalid-verify-switch
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time15 min
Requires Admin Rights⚠️ Yes

Solution Steps

  1. 1 Check the syntax of the command you're using. Open Command Prompt or PowerShell and type 'help ' or ' /?' to see the correct syntax. Ensure you're using valid switches.
  2. 2 If you're running a script, review the script for typos or incorrect flags. Correct any errors and rerun.
  3. 3 Update the software or tool that's giving the error. Check the developer's website for updates that might fix the bug.
  4. 4 If the error occurs with a built-in Windows command, run System File Checker: Open Terminal (Admin) and run 'sfc /scannow'. This repairs corrupted system files that might cause the command to malfunction.
  5. 5 As a last resort, restart your computer to clear any temporary glitches.

🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:

🔧 Still having issues?

Describe your exact problem to Error Buddy and get a personalized fix in seconds.

🛠️ Try Error Buddy — It's Free