Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Run Certain EXEs with elevated Privleges

Posted on 2011-03-03
4
284 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 2003 new patches 11 76
how to check the account lockout counter? 6 68
Downgrade From Domain to WorkGroup 3 60
Cannot take ownership of a folder 8 43
Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

856 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