DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Ability to 'Run as administrator' or 'Run as Different User'  (Read 8,179 times)

dluby

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 253
Does LBC support the ability to 'Run as administrator' or 'Run as Different User' within it's nodes?  I can't seem to be able to get it to work. Thanks

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Ability to 'Run as administrator' or 'Run as Different User'
« Reply #1 on: March 20, 2018, 11:29 AM »
There is a "Run as administrator" checkbox for application node items.  Are you trying that and it's not working or?

dluby

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 253
Re: Ability to 'Run as administrator' or 'Run as Different User'
« Reply #2 on: March 21, 2018, 11:02 AM »
Hi Mouser, to be honest I hadn't noticed that option. However, I am looking to invoke the 'Run as Different User' as and when needed (see attached screenshot). Thanks

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Ability to 'Run as administrator' or 'Run as Different User'
« Reply #3 on: March 21, 2018, 02:15 PM »
You may have to make a batch file for that.

dluby

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 253
Re: Ability to 'Run as administrator' or 'Run as Different User'
« Reply #4 on: March 21, 2018, 02:43 PM »
Sorry Mouser but could you please elaborate  :tellme:

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: Ability to 'Run as administrator' or 'Run as Different User'
« Reply #5 on: March 21, 2018, 03:00 PM »
I just meant that while "run as administrator" functionality is built in to LBC, I'm not sure it's worth the trouble building in functionality to run apps as arbitrary users, so you may have to find a separate commandline tool that can do that, and launch that tool from LBC, via a commandline or batch file.

Original address: https://www.donationcoder.com/forum/index.php?topic=45204.0