Cannot run program: CreateProcess error=5, Access is denied


I wanted to start my program, but I get the following error message: 

Cannot run program "C:\Program Files (x86)\JetBrains\DataGrip 2016.3.4\jre\jre\bin\java" (in directory "C:\Program Files (x86)\JetBrains\DataGrip 2016.3.4\bin"): CreateProcess error=5, Access is denied

But I'm able to run the query on workbench.

I read, that I should edit my windows security settings, but even with 'full control' it doesn't work. Then I restarted datagrip and the computer. I deinstalled and installed Java and datagrip, but it still doesn't work.

BTW: I use windows 10 pro and datagrip 2016.3.4.

Has anyone an idea, how to fix this?


I am having a similar issue to this.

[code]Error:Cannot run program "C:\Program Files\Java\jdk-9.0.1\bin\java" (in directory "C:\Users\Syn\.IdeaIC2017.3\system\compile-server"): CreateProcess error=5, Access is denied[/code]

I pointed it to the right folder. Would this have something to do with eclipse being also installed?

I also killed java in task manager(win7 64bit) but the same issue.


Had similar problem:

Сannot Run Git
Failed to start Git process Cannot run program "C:\Bin\IntelliJ_IDEA_2018.3\bin\runnerw64.exe" (in directory "."): CreateProcess error=5, Access is denied

Path to Git executable in options was set to "C:\Bin\Git\bin\git.exe"

I changed it to just "git.exe" and error is gone. But it's all weird.


Same issue with my prettier file watcher when I want to use my project lever prettier installation.

Error message:
Error: Cannot run program "C:\dev\myProject\Web\node_modules\prettier" (in directory "C:\dev\myProject"): CreateProcess error=5, Access is denied

PS weirdly running the prettier plugin using Ctrl+Alt+Shift+P works just fine


I have this issue because I don´t have permissions to access the folder that stores the interpreter, that in this case is "WindowsApps".


I have same issue. Is there anyone who has any idea for that issue.

Unable to start Gauge Intellij plugin.: Cannot run program "C:\Users\minan\gauge": CreateProcess error=5,


Don't install python through Microsoft Store, 

Pycharm IDE executes the python.exe residing in every individual project’s \venv\Scripts folder. So on my C: drive I have a project folder names 'Demotest' , Pycharm will use C:\Demotest\\venv\Scripts\python.exe as the interpreter.
In project's  the edit configurations panel where it needs information about  ‘Python interpreter’ provide the path to the above python.exe file. So in this example it will be C:\Demotest\\venv\Scripts\python.exe
Above will solve this issue.

Please sign in to leave a comment.