?
Solved

Run Certain EXEs with elevated Privleges

Posted on 2011-03-03
4
Medium Priority
?
320 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

807 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