Is it possible to create an elevated powershell prompt with MobaXterm? That is, a shell with admin privileges?
Below is a picture of the 'Session' window of MobaXterm with the 'Shell' tab selected, 1. The choice is between Bash, Cmd, Powershell or Ubuntu Bash. However, they open with the permissions of the current user. I'd like to open them (preferably Powershell) as Administrator.
I'm currently using MobaXterm for my ssh needs, and Cmder for local shells. I'd like to harmonize this into a single tool. Cmder has the option to start a new shell as Administrator, but I can not find this option in MobaXterm.
Running Chocolatey is the main thing I'm using an elevated shell for, so it is not that annoying to start some other shell for just that once in a while.
Best Answer
This may not be an elegant solution, but this is what worked for me:
You'll now be able to run MobaXterm, along with all your sessions with elevated privileges.
NOTE: If you want to keep things tidy, you can also move the shortcut to the folder/directory where MobaXterm.exe is installed. If your MobaXterm folder is in one of the Program Files folders, you won't be able to create the shortcut directly in that location; however, once your create the shortcut following the above steps, you should be allowed to move the shortcut.
Now if you like, for quick access, you can:
Since MobaXterm will now have elevated privileges, you may want to secure it by setting up a Master Password (For MobaXterm Professional only):