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: How to run programs with elevated permissions?  (Read 4,726 times)

dluby

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 253
How to run programs with elevated permissions?
« on: January 23, 2015, 11:47 AM »
Hi,

I am trying to create shortcuts to Powershell.exe and Powershell_ise.exe within LBC and to allow them to run as administrator under Windows 7 Enterprise.  Does anybody know how to achieve this?

Thanks

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Re: How to run programs with elevated permissions?
« Reply #1 on: January 23, 2015, 03:20 PM »
The standard solution for this issue is to use the runas command
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

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