Re: Executable needs to run under administrator account

From: Bruce Chambers (bchambers@nospam.cableone.net)
Date: 04/10/03


From: "Bruce Chambers" <bchambers@nospam.cableone.net>
Date: Wed, 9 Apr 2003 21:03:09 -0600


Greetings --

   This is quite common if the software was designed for Win9x/Me, or
if it was intended for WinNT/2K/XP, but was improperly designed. Quite
simply, the installation routine for this application doesn't "know"
how to handle individual user profiles, or the application tries to
make changes to "off-limits" sections of the registry. Quite often,
you can make this software available to other users by _copying_ the
Start Menu folder and Desktop folder shortcuts from the user profile
from which the software was installed in the corresponding folders in
the user profile(s) in which you'd like the software to be accessible.
If the application is something that can/should be made available to
all current and future users, copying the shortcuts into the
corresponding locations of the All Users profile will do the trick.

    NOTE: This may not work if the software requires access to parts
of the hard drive and/or registry that are not normally accessible to
regular users. (This won't occur if the application was properly
written.) If this does prove to be the case, however, you're left
with two options: Either grant the necessary users appropriate higher
access privileges (either as Power Users or local administrators), or
replace the application with one that was properly designed
specifically for WinNT/2K/XP.

Some Programs Do Not Work If You Log On from Limited Account
http://support.microsoft.com/default.aspx?scid=kb;EN-US;q307091

    Additionally, here are a couple of tips suggested, in a reply to a
different post, by MS-MVP Kent W. England:

"If your game or application works with admin accounts, but not with
limited accounts, you can fix it to allow limited users to access the
program files folder with "change" capability rather than "read" which
is the default.

C:\>cacls "Program Files\appfolder" /e /t /p users:c

where "appfolder" is the folder where the application is installed.

If you wish to undo these changes, then run

C:\>cacls "Program Files\appfolder" /e /t /p users:r

If you still have a problem with running the program or saving
settings on limited accounts, you may need to change permissions on
the registry keys. Run regedit.exe and go to HKLM\Software\vendor\app,
where "vendor\app" is the key that the software vendor used for your
specific program. Change the permissions on this key to allow Users
full control."

Bruce Chambers

Help us help you:
http://dts-l.org/goodpost.htm
http://www.catb.org/~esr/faqs/smart-questions.html

----
You can have peace.  Or you can have freedom.  Don't ever count on 
having both at once. -- RAH
"John Brunswick" <john@insightdirect.com> wrote in message 
news:j24la.2239$d8.1840@nwrdny02.gnilink.net...
> Hey All,
>
> I have one program that has a built-in backup and restore utility 
> that I
> would like my users to have access to.
>
> The only catch is that the program needs to be run using the 
> administrator
> account.  Is there any way to elevate privileges for the executable 
> so the
> users are able to run it?  I would like to avoid adding the user 
> accounts to
> the local administrator groups on their machines.
>
> I am running a W2k domain with a mix XP and Win2k client machines.
>
> Much thanks!
> John Brunswick
> Data Services
> Insight Direct, Inc.
> 180 Canal Street
> Boston, MA 02114
> 800.471.4200, x230
> Fax: 617.720.0700
> john@insightdirect.com
> http://www.insightdirect.com/
>
> 


Relevant Pages

  • Re: sharing programs
    ... the installation routine for this application doesn't "know" ... how to handle individual user profiles, ... Start Menu folder and Desktop folder shortcuts from the user profile ... limited accounts, you can fix it to allow limited users to access the ...
    (microsoft.public.windowsxp.newusers)
  • Re: XP
    ... the installation routine for this application doesn't "know" ... how to handle individual user profiles, ... Start Menu folder and Desktop folder shortcuts from the user profile ... limited accounts, you can fix it to allow limited users to access the ...
    (microsoft.public.windowsxp.security_admin)
  • Re: im trying to install a game and its telling me i need administrators priveledges to play it.what
    ... the installation routine for this application doesn't "know" ... how to handle individual user profiles, ... Start Menu folder and Desktop folder shortcuts from the user profile ... limited accounts, you can fix it to allow limited users to access the ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Conversion from Fat 32 to NTFS
    ... the installation routine for this application doesn't "know" ... how to handle individual user profiles, ... Start Menu folder and Desktop folder shortcuts from the user profile ... limited accounts, you can fix it to allow limited users to access the ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: granting limited users rights to run programs
    ... the installation routine for this application doesn't "know" ... how to handle individual user profiles, ... Start Menu folder and Desktop folder shortcuts from the user profile ... limited accounts, you can fix it to allow limited users to access the ...
    (microsoft.public.windowsxp.security_admin)