Share via

ShellExecuteEx failed; code 1 incorrect fucntion

Anonymous
2025-02-14T07:19:15+00:00

i got problem ShellExecuteEx failed; code 1 incorrect fucntion when installing a game

Windows for home | Windows 11 | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-02-15T05:48:01+00:00

    Hello galung cornelius

    Welcome to the Microsoft Community.

    Sorry to hear that you are faced with this failure when installing a game. Could you specify which game it is? The "ShellExecuteEx failed; code 1 incorrect function" error during installation could be related to permissions, compatibility issues, or system restrictions. Here're some suggestions to troubleshoot:

    1. Disable Antivirus/Firewall Temporarily

    • Security software might block the installer. Temporarily disable your antivirus (e.g., Windows Defender, Norton, McAfee) and try installing again. Disclaimer: Temporarily turn off antivirus protection. However, keep in mind that if you do so, your device may be vulnerable to threats. So please turn it on immediately once issue fixed.

    2. Run the Installer as Administrator

    • Right-click the game's installer file
    • Select Run as administrator to grant elevated privileges.

    3. Check Installer Compatibility

    • Right-click the installer > Properties > Compatibility tab.
    • Enable Run this program in compatibility mode and select an older OS version (e.g., Windows 7 or 8).
    • Check Run this program as an administrator and click Apply.

    4. Verify Installer Integrity

    • If downloaded, the file might be corrupted:
      • Steam/Epic Games: Use the platform’s "Verify Integrity" option.
      • Manual Download: Redownload the installer from the official source.

    5. Shorten the Installation Path

    • Avoid long or special-character paths (e.g., C:\Games instead of nested folders).

    6. Update Windows

    • Outdated OS components can cause issues:
      1. Go to Settings > Windows Update.
      2. Install all pending updates and restart your PC.

    7. Clear Temporary Files

    • Press Windows + R, type %temp%, and delete all files in the Temp folder.
    • Restart your PC and retry the installation.

    Let me know if you need further clarification!

    Best Regards,

    William.Y | Microsoft Community Support Specialist

    1 person found this answer helpful.
    0 comments No comments