Fix: ERROR_INVALID_PARAMETER 87 (0x57)

Updating drivers and reconfiguring Registry are the quickest fixes

Reading time icon 4 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

fix ERROR_INVALID_PARAMETER
A message from our partner

To fix various driver issues on your PC, you will need a dedicated tool to find the freshest and the original drivers. You can use PC HelpSoft Driver Updater to do it in 3 easy steps:

  • Download PC HelpSoft Driver Updater and install it on your PC
  • Start the scanning process to search for outdated or missing drivers that cause problems
  • Right-click on Update Now to allow the update process.
Download now PC HelpSoft has been downloaded by 0 readers this month

The ERROR_INVALID_PARAMETER issue, with code 87 (0x57), can be encountered when mapping a drive, launching an app/game, running a service, or even starting a VPN. The error message reads, Error 87: The parameter is incorrect.

The problem with Error Invalid Parameter is that it doesn’t list what went wrong. But based on previously observed cases, it’s usually outdated/buggy drivers, corrupt system files, conflicts triggered by third-party programs, or improper app installation to blame for the system error.

Before you start troubleshooting, reboot the PC, install pending Windows updates, and disable any third-party antivirus or security software.

How do I fix ERROR_INVALID_PARAMETER in Windows?

Tip icon Tip
These solutions are curated for regular users and not programmers. If you have designed a code or script that throws ERROR_INVALID_PARAMETER, double-check the script, inspect the paths involved, and verify the buffer size.

1. Update the graphics driver

  1. Press Windows + X to open the Power User menu, and select Device Manager from the list of options.
  2. Expand the Display adapters entry, right-click on the graphics adapter, and select Update driver.graphics driver update to fix ERROR_INVALID_PARAMETER
  3. Click on Search automatically for drivers to let Windows install the best locally available version.automatic update
  4. Reboot the PC and check for improvements.

When you get the LoadLibrary failed with error 87: The parameter is incorrect pop-up, updating the graphics driver will fix things. Also, if Windows can’t find a better version, go to the manufacturer’s website, check for new releases, and manually install the driver.

In case there are no newer versions available, you can always roll back the driver update!

2. Repair the corrupt system files

  1. Press Windows + S to open Search, type Command Prompt in the text field, and click on Run as administrator.cmd
  2. Click Yes in the UAC prompt.
  3. Paste the following DISM commands individually and hit Enter after each: DISM /Online /Cleanup-Image /CheckHealth DISM /Online /Cleanup-Image /ScanHealth DISM /Online /Cleanup-Image /RestoreHealth
  4. Now, execute this command to run the SFC scan: sfc /scannowsfc scan to fix ERROR_INVALID_PARAMETER
  5. Once done, restart the computer to apply the changes.

In 2 out of 5 cases, The operating system reported error 87: The parameter is incorrect message appears due to corrupted system files. Here, running the SFC (System File Checker) and DISM (Deployment Image Servicing and Management) scans will get things up and running!

3. Enable service via Registry Editor

  1. Press Windows + R to open Run, type regedit in the text field, and hit Enter.
  2. Click Yes in the UAC prompt.
  3. Paste the following path in the address bar and hit Enter: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servicespath
  4. Select the service you are having trouble configuring from the list of keys in the navigation pane.
  5. Double-click the Start DWORD.
  6. Enter one of the following values in the Value data field depending on the Startup type you want to set for the service:
    • Automatic (Delayed Start): 1
    • Automatic: 2
    • Manual: 3
    • Disabled: 4modify value data to fix ERROR_INVALID_PARAMETER
  7. Finally, click on OK to save the changes.

If you are getting Error 87: The parameter is incorrect (ERROR_INVALID_PARAMETER) when starting a service or changing the startup type, make the changes via the Registry Editor. For instance, if you want to stop the service, set the Value data to 4, or to run the service, set it to 2, and then reboot the PC.

4. Reinstall the affected program

  1. Press Windows + R to open Run, type appwiz.cpl in the text field, and hit Enter.
  2. Select the affected application from the list, and click on Uninstall.uninstall apps
  3. Follow the on-screen instructions to complete the process.
  4. Reboot the PC, and then reinstall the app.

Often, when you see The parameter is incorrect. 0x80070057 (Win32: 87 ERROR_INVALID_PARAMETER) error while launching an application, say the AMD Radeon Software, Minecraft, or Intune, uninstalling the app and then reinstalling it from the official source will do the trick.

If a quick removal doesn’t work, use a top-rated software uninstaller to get rid of all leftover files and Registry entries, and then proceed with the reinstallation!

5. Perform a system restore

  1. Press Windows + R to open Run, type rstrui.exe, and hit Enter.
  2. Select the Choose a different restore point option, and click Next.restore to fix ERROR_INVALID_PARAMETER
  3. Pick the oldest restore point from the list and click Next.oldest rstore point
  4. Verify the restore details and click on Finish.

When nothing else works, a system restore will fix ERROR_INVALID_PARAMETER 87 (0x57) by reverting recent changes to the PC.

If this, too, fails, get in touch with the support team for the app that is throwing the error. Or, if it’s with a built-in Windows component, contact Microsoft support.

Before you leave, discover expert tips to make your PC faster than ever!

For any queries or to share which fix worked for you, drop a comment below.

More about the topics: Services, System Errors

User forum

0 messages