Windows Vista Forums

A non-Administrative User to run program with Administrative previlidges

  1. #1


    Alex Ferenstein Guest

    A non-Administrative User to run program with Administrative previlidges

    In Unix, I can set a CHMOD bit to allow an executable to be run with Owner's
    (even Root's) permissions by another user.
    I am using a Vista program SIW (http://www.gtopala.com/) that requires
    Administrative privileges (to monitor some system parameters, like
    temperature). I would like non-Administrative users to be able to run this
    program with these privileges. I've looked at NTFS permissions but cannot
    recognize anything that'll help. How can I do same in NTFS/Vista?




      My System SpecsSystem Spec

  2. #2


    Alex Ferenstein Guest

    Re: A non-Administrative User to run program with Administrative previlidges

    Forgot to mention, Run as Administrator doesn't help...

    "Alex Ferenstein" <epaalx@xxxxxx> wrote in message
    news:OKAmtSKKIHA.3516@xxxxxx

    > In Unix, I can set a CHMOD bit to allow an executable to be run with
    > Owner's (even Root's) permissions by another user.
    > I am using a Vista program SIW (http://www.gtopala.com/) that requires
    > Administrative privileges (to monitor some system parameters, like
    > temperature). I would like non-Administrative users to be able to run this
    > program with these privileges. I've looked at NTFS permissions but cannot
    > recognize anything that'll help. How can I do same in NTFS/Vista?

      My System SpecsSystem Spec

  3. #3


    Jimmy Brush Guest

    Re: A non-Administrative User to run program with Administrative previlidges

    Hello,

    There is no built-in administrative way to do this in Windows.

    The "correct" way for this to be done in the Windows world is for the
    user-facing application to run with the privileges of the user, and then
    access the information through a privileged windows service that supposedly
    enforces whatever security policy you have set as an administrator.

    In addition, are you certain that the information that you want to be
    displayed to the standard user is actually restricted to admins only?
    Generally, a lot of OS information can be seen by non-admins in read-only
    form.

    --
    - JB
    Microsoft MVP Windows Shell/User

    "Alex Ferenstein" <epaalx@xxxxxx> wrote in message
    news:uEkBGUKKIHA.5788@xxxxxx

    > Forgot to mention, Run as Administrator doesn't help...
    >
    > "Alex Ferenstein" <epaalx@xxxxxx> wrote in message
    > news:OKAmtSKKIHA.3516@xxxxxx

    >> In Unix, I can set a CHMOD bit to allow an executable to be run with
    >> Owner's (even Root's) permissions by another user.
    >> I am using a Vista program SIW (http://www.gtopala.com/) that requires
    >> Administrative privileges (to monitor some system parameters, like
    >> temperature). I would like non-Administrative users to be able to run
    >> this program with these privileges. I've looked at NTFS permissions but
    >> cannot recognize anything that'll help. How can I do same in NTFS/Vista?
    >

      My System SpecsSystem Spec

  4. #4


    Alex Ferenstein Guest

    Re: A non-Administrative User to run program with Administrative previlidges

    Thanks for reply, Jimmy.


    "Jimmy Brush" <jb@xxxxxx> wrote in message
    news:515627A2-0C08-4A18-9634-3A55A00FE38F@xxxxxx

    > Hello,
    >
    > There is no built-in administrative way to do this in Windows.
    >
    > The "correct" way for this to be done in the Windows world is for the
    > user-facing application to run with the privileges of the user, and then
    > access the information through a privileged windows service that
    > supposedly enforces whatever security policy you have set as an
    > administrator.
    >
    > In addition, are you certain that the information that you want to be
    > displayed to the standard user is actually restricted to admins only?
    > Generally, a lot of OS information can be seen by non-admins in read-only
    > form.
    >
    > --
    > - JB
    > Microsoft MVP Windows Shell/User
    >
    > "Alex Ferenstein" <epaalx@xxxxxx> wrote in message
    > news:uEkBGUKKIHA.5788@xxxxxx

    >> Forgot to mention, Run as Administrator doesn't help...
    >>
    >> "Alex Ferenstein" <epaalx@xxxxxx> wrote in message
    >> news:OKAmtSKKIHA.3516@xxxxxx

    >>> In Unix, I can set a CHMOD bit to allow an executable to be run with
    >>> Owner's (even Root's) permissions by another user.
    >>> I am using a Vista program SIW (http://www.gtopala.com/) that requires
    >>> Administrative privileges (to monitor some system parameters, like
    >>> temperature). I would like non-Administrative users to be able to run
    >>> this program with these privileges. I've looked at NTFS permissions but
    >>> cannot recognize anything that'll help. How can I do same in NTFS/Vista?
    >>
    >

      My System SpecsSystem Spec

  5. #5


    rvc

    Newbie
    Join Date : Jan 2008
    Posts : 1
    Vista Ultimate x32
    Local Time: 10:46 PM


     

    Re: A non-Administrative User to run program with Administrative previlidges

    I have a similar problem. I have a Delphi program that makes a call to Set8087CW to disable the FPU exception. I now have a user that has moved the software over to Vista and he is able to run it by setting the run as adminstrator to true. The problem is when the program is moved to a network where the user doesn't have administrative privileges the program won't run as the Set8087CW call requires the privilege. Is the only way to get around this problem to take the code requiring the privilege and creating a service? If so are there any good references for this (Visual C++).

    Thanks.

      My System SpecsSystem Spec

A non-Administrative User to run program with Administrative previlidges

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How to know if a user has administrative privileges Richard Mueller [MVP] VB Script 9 27 Jul 2009
Problem with Flash Content in User Vs. Administrative Vista Accoun Figureguy Vista General 0 16 May 2009
Running Administrative Processes at Boot w/o User Intervention e Vista General 1 08 Oct 2007
Deleting Administrative User? Uniquity Vista account administration 0 11 Aug 2007
Allowing program to load without administrative password amstern Vista security 2 15 Jul 2007