Skip to content

Windows Administrator Terminal

Andre Bossert edited this page Mar 28, 2022 · 2 revisions

Windows Administrator Terminal

Command Prompt

Create a new command for Command Prompt as Admin terminal

  • go to menu Window -> Preferences -> EasyShell -> (2) Command
  • enter prompt in the search field
  • select Command Prompt and use Copy... button
  • in the new dialog
    • rename to Command Prompt as Admin or similar
    • select Working directory checkbox
    • Change command to powershell.exe "Start-Process cmd -Verb RunAs" image
  • accept with OK

Create new menu with the command

  • go to menu Window -> Preferences -> EasyShell -> (1) Menu
  • Use Add... button
  • enter Filter admin
  • select Open - Command Prompt as Admin (User)

image

  • accept with OK

Powershell Prompt

Create a new command for PowerShell as Admin terminal

  • go to menu Window -> Preferences -> EasyShell -> (2) Command
  • enter powershell in the search field
  • select PowerShell and use Copy... button
  • in the new dialog
    • rename to PowerShell as Admin or similar
    • Change command to powershell.exe -command "Start-Process powershell -Verb RunAs -ArgumentList '-NoExit', '-Command', 'cd ${easyshell:container_loc}'" image
  • accept with OK

Create new menu with the command

  • go to menu Window -> Preferences -> EasyShell -> (1) Menu
  • Use Add... button
  • enter Filter powershell
  • select Open - PowerShell as Admin (User)

image

  • accept with OK

Arrange menu entries

Now you can select the new menu entries and use buttons Up and Down to move them to the place in the menu you want.

image

Test via Alt + E or Alt + O

Select the resource in you Eclipse explorer and use Alt + E or Alt + O or context menu to run EasyShell

image