Error: Program 'fivetran.exe' Failed to Run
Issue
I've successfully installed the Fivetran Connector SDK using the pip install fivetran-connector-sdk
command. However, the following error appears when I run the fivetran debug
command:
Program 'fivetran.exe' failed to run: Access is denied
CategoryInfo : ResourceUnavailable: (:) [], ApplicationFailedException
FullyQualifiedErrorId : NativeCommandFailed
Environment
- Operating system: Windows
- Fivetran Connector SDK installed via
pip install fivetran-connector-sdk
- Executable path: Typically located in the Python site-packages directory (e.g.,
C:\Users\your_user\AppData\Local\Programs\Python\PythonXX\Scripts\fivetran.exe
)
Resolution
This issue is usually caused by Windows Defender or system-level security settings blocking unknown executables. Check the following:
- Ensure the
fivetran.exe
file has execute permissions for your user:- Right-click the file, go to Properties > Security, and confirm permissions.
- Check Microsoft Defender and antivirus settings:
- Open Windows Security > App & Browser Control > Reputation-based Protection.
- Check if the executable is being blocked under Controlled Folder Access or SmartScreen.
- If applicable, temporarily disable or whitelist
fivetran.exe
.
- Run as administrator:
- Open PowerShell or CMD as an administrator and re-run the command.
- Involve your organization's IT support:
- If you're on a managed system (e.g., corporate device), your organization may have group policies in place.
- Ask your IT department to: Whitelist the
fivetran.exe
executable. - Adjust execution policies if needed.
Group policies are especially common in environments with strict security policies, such as educational or financial institutions.
Cause
This error is typically caused by Windows blocking unknown or unsigned executables due to Microsoft Defender or corporate IT restrictions. Even though file permissions may appear correct, Windows may still prevent execution unless explicitly allowed.