PhpStorm - run terminal (cmd) as administrator

On Windows, it's easy to run cmd as an administrator:

 Right click on cmd icon >> run as administrator` 

But I would like to use the PhpStorm terminal tool as an administrator, since I constantly have to fulfill requests that require the administrator role.

When I open:

 File >> Settings >> Tools >> Terminal 

I see that it is directly related to cmd.exe and there are options for filling:

enter image description here

And I do not see a flag with the ability to run it as an administrator.

QUESTIONS

  • Is it possible?
  • If so, how do I do this?
  • Using settings or another way?
+7
cmd terminal phpstorm administrator
source share
1 answer

There are currently no options for the IDE to do this (to run cmd.exe with higher permissions).

https://youtrack.jetbrains.com/issue/IDEA-121335 - look at this ticket (star / vote / comment) to receive notification of any progress.


So far, your only option (which I know) is launching the IDE as an administrator. Process Hacker confirms that both IDE and cmd.exe will run with elevated privileges.


PS For a single run (or if you need to run the IDE as a regular user) - look at this question and suggest solutions: How to open elevated cmd using the command line for Windows?

+7
source share

All Articles