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

Error Code error-bad-arguments — Windows 11

ERROR_BAD_ARGUMENTS = 160

65% úspěšnost
👥 0+ uživatelů ověřilo
📅 Aktualizováno: 2026-08-12
⏱️ 30 min čtení
Oprava založena na komunitních zprávách a expertní analýze. Naposledy ověřeno: 2026-08-12 · Jak ověřujeme opravy
Error Codeerror-bad-arguments
Affected SystemWindows 11 (Microsoft)
DifficultyMedium
Estimated Time30 min
Requires Admin Rights⚠️ Yes

Postup řešení

  1. 1 First, identify the exact command or action that triggers the error. If you're using a command-line tool, double-check the syntax. For example, if you're using a command like 'myapp -option value', ensure the option is valid and the value is in the correct format. Consult the tool's documentation.
  2. 2 If the error occurs when launching a program, try running it with default settings. Right-click the program's shortcut, select 'Properties', and check the 'Target' field. Remove any extra arguments that might be invalid. For example, if it says 'C:\Program Files\App\app.exe -badarg', change it to just 'C:\Program Files\App\app.exe'.
  3. 3 Check for corrupted configuration files. Many applications store settings in the registry or in AppData. Press Windows key + R, type '%appdata%', and press Enter. Look for the folder of the problematic application. If you find a settings file (like 'config.ini' or 'settings.json'), rename it to 'settings.old' and try launching the app again. This forces the app to recreate default settings.
  4. 4 Run the System File Checker to repair any corrupted system files that might be affecting argument handling. Press Windows key + R, type 'cmd', press Ctrl+Shift+Enter, type 'sfc /scannow', and press Enter.
  5. 5 If the error is related to a specific program, reinstall it. Go to Settings > Apps > Installed apps, find the program, click the three dots, and select 'Uninstall'. Then download the latest version from the official website and install it.
  6. 6 If the error occurs in a script, check the script for errors. Open the script in a text editor and look for lines that pass arguments to functions. Ensure all arguments are correctly defined and within expected ranges.

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

🔧 Stále máte problémy?

Popište svůj přesný problém Error Buddymu a získejte personalizovanou opravu během několika sekund.

🛠️ Vyzkoušet Error Buddy — Zdarma