Solved

Run Certain EXEs with elevated Privleges

Posted on 2011-03-03
4
301 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
[X]
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
  • 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

695 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