Default location of copilot-language-server.exe requires binary execution rights outside safe locations · Issue #53 · microsoft/copilot-for-eclipse · GitHub
Skip to content

Default location of copilot-language-server.exe requires binary execution rights outside safe locations #53

Open

Description

Hi,

Our clients are set up so that a regular user is not allowed to run *.exe files outside of Program Files.
The copilot-language-server.exe is copied to org.eclipse.osgi\793\0\.cp\copilot-agent in Eclipse's configuration path. Because this lies outside of Program Files, the Copilot plugin fails to launch the language server due to:

java.io.IOException: Cannot run program  "<eclipse_config>\org.eclipse.osgi\793\0\.cp\copilot-agent\copilot-language-server.exe": CreateProcess error=1260, This program is blocked by group policy. For more information, contact your system administrator

Please give us a way to configure a override or fallback path where the plugin can find the language server. This way we can ship it inside Program Files, a safe location.

Activity

  1. jdneo commented on Oct 31, 2025

    @jdneo
    Member

    Seems that a configuration to override the path would be a feasible solution.

    Jascha Schröter (@MergingMonkey) Another idea is to use a system property in eclipse.ini. For example: -DcopilotLsPath.

    Will this work for you?

  2. MergingMonkey commented on Oct 31, 2025

    @MergingMonkey
    Author

    Thanks for the feedback!
    Both are fine to me. If the latter can be integrated faster, it would be my preferred solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions