Solved

Run Certain EXEs with elevated Privleges

Posted on 2011-03-03
4
257 Views
Last Modified: 2012-05-11
I want to run certain exe's with elevated privileges since Adobe CS5 was made to NOT work with mandatory profiles...annoying.
How/can I do this with a group policy?
Using windows server 2003
XP clients
Thanks
0
Comment
Question by:jduawa
  • 2
4 Comments
 
LVL 5

Expert Comment

by:OrcaKnight
ID: 35029916
You can use
runas /user:ComputerName\administrator "C:\Program Files\MySoftware\Software.exe"
if the user has rights in the Local Administrators Group
or
runas /user:DomainName\administrator "C:\Program Files\MySoftware\Software.exe"
if the user has the rights in the Domain Admins.

0
 
LVL 1

Author Comment

by:jduawa
ID: 35030008
They do not have those rights...they are locked down users/students...Adding them to those groups would be a nightmare...AutoIT might be just what i need
0
 
LVL 11

Accepted Solution

by:
TheGorby earned 500 total points
ID: 35037346
For AutoIT, this would do the trick:
$username="administrator"
$domain="DOMAIN"
$pw="password"
$exe="C:\PathTo\Executable.exe" ;can also be network share, i.e. "\\server\share"

RunAs($username,$domain,$pw,0,$exe)

Open in new window

0
 
LVL 1

Author Closing Comment

by:jduawa
ID: 35037611
Correct..AutoIT does what i need, thanks
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now