Author Topic: MC.Run ADMIN  (Read 13516 times)

espkk

  • Junior Member
  • **
  • Posts: 40
    • View Profile
MC.Run ADMIN
« on: April 08, 2016, 18:10:35 »
Property ADMIN don't work for me even for "MC.Run CMD="Notepad.exe" ADMIN" from example
Process rights depends on MC's: if MC elevated it ALWAYS run app with ADMIN otherwise without admin rights regardless ADMIN option
Windows 10 x64
What should I do? :)

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4491
    • View Profile
    • Multi Commander
Re: MC.Run ADMIN
« Reply #1 on: April 08, 2016, 18:39:11 »
Ahh Found it..

You must combine it with SHELL

Okey using "ADMIN" it should internally also use "SHELL". ( I think it did that before.. but when it was rewritten it might have got broken)
I will fix that
« Last Edit: April 08, 2016, 18:41:36 by Mathias (Author) »

espkk

  • Junior Member
  • **
  • Posts: 40
    • View Profile
Re: MC.Run ADMIN
« Reply #2 on: April 11, 2016, 15:48:13 »
Thanks! Works now
And what about running an app without admin rights from elevated MC? SHELL wouldn't help there. It's not provided?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4491
    • View Profile
    • Multi Commander
Re: MC.Run ADMIN
« Reply #3 on: April 11, 2016, 17:22:09 »
No that is not supported.
There is no easy way to do this since as elevated process is run with its own login token.