Re: Running a program with elevated privilages
- From: "Anthony" <anthony.spam@xxxxxxxxxxxxxx>
- Date: Mon, 12 Nov 2007 20:59:09 -0000
You just need to create an msi package for it, using a packaging tool. Then
you can keep admin rights restricted. Or you could use a script or a
deployment tool to run the setup.
Anthony, http://www.airdesk.co.uk
"tony houlihan" <tony@xxxxxxxxxxxxxxxxxxx> wrote in message
news:060B0FE5-8C2B-45FE-8618-F87FB91F8017@xxxxxxxxxxxxxxxx
Thanks for the reply,
part of the problem with this application is that we know it's only on the
first run of the application, we know that it needs to register an OCX on
first run but as for the registry..... I guess regmon will need to be
used.
Thanks for the reply.
Tony
"Chris M" <nobody@xxxxxxxxxxxxxxx> wrote in message
news:fh9t3s$fql$1@xxxxxxxxxxx
tony houlihan wrote:
I understand that under windows 2000 the EPAL.exe program could be used
to run a program which required a higher level of privilages than that
of the logged in user but is this program usable under server 2003.
In addition to this does anyone know a better way of addressing this
situation:
company with 20 client computers and 20 users. A legacy application is
needed on all clients with all users using roaming profiles needing
access to the program. The legacy app requires the user to have Admin
rights on the first log in and lauch of the application (presumably to
modify the HKEY\Local Users\ somthing key registry section), obviously
this presents a headache for installation and
administration..............
If I were you I'd find out what the program is trying to do that causes
it to fail as a normal user. If it's trying to add a registry key as you
have suggested, then you could perhaps push out the correct values via a
Group Policy instead of running the program elevated.
Perhaps the program needs to be able to write to some files in its
program folder, in which case you could relax filesystem permissions on
the particular files that it uses.
In my opinion, it's better to relax the security on a couple of files or
registry keys (depending on what they are, of course) than to run the
whole program with admin rights.
Regmon and Filemon are invaluable tools for these situations:
http://www.microsoft.com/technet/sysinternals/default.mspx
--
Chris.
.
- Follow-Ups:
- Re: Running a program with elevated privilages
- From: tony houlihan
- Re: Running a program with elevated privilages
- References:
- Running a program with elevated privilages
- From: tony houlihan
- Re: Running a program with elevated privilages
- From: Chris M
- Re: Running a program with elevated privilages
- From: tony houlihan
- Running a program with elevated privilages
- Prev by Date: Re: Running a program with elevated privilages
- Next by Date: Re: Computer Account Password
- Previous by thread: Re: Running a program with elevated privilages
- Next by thread: Re: Running a program with elevated privilages
- Index(es):
Relevant Pages
|