Beantwortet Application with Administrator Priveleges

  • 2012년 6월 5일 화요일 오전 6:25
     
     

    Hi,

    I want to open a particular application with Always Administrator Priveleges. I dont want the Admin password to pop up every time I try to open it but whenever it does it should be with administrator rights.

    I tried to tick RUN THIS PROGRAM AS ADMINISTRATOR in properties however that doesnt serve the purpose 100% as it pops up with Administrator password everytime.

    Please provide a solution. Thanks.

모든 응답

  • 2012년 6월 6일 수요일 오전 9:38
    중재자
     
     답변됨

    Hi,


    Based on my research, if you login with Administrator account, the elevation prompt can be disabled via Group Policy Settings.


    To change the elevation prompt behavior for administrators


    1. Click Start, click Accessories, click Run, type secpol.msc in the Open box, and then click OK.


    2. From the Local Security Settings console tree, click Local Policies, and then click Security Options.


    3. Scroll down to and double-click User Account Control: Behavior of the elevation prompt for administrators.


    4. From the drop-down menu, select one of the following settings:


    • Elevate without prompting (tasks that request elevation will automatically run as elevated without prompting the administrator)

    • Prompt for credentials (this setting requires user name and password input before an application or task will run as elevated)

    • Prompt for consent (default setting for administrators)


    However, if you login with standard users, the elevation prompt cannot be disabled.


    For more information, please refer to User Account Control Step-by-Step Guide.


    Hope this helps.


    Jeremy Wu

    TechNet Community Support

  • 2012년 6월 12일 화요일 오후 1:04
     
     
    That is what i wanted Jeremy. However, finally managed to get the Approvals in place to provide the user Admin Rights. Thanks anyways. But I think it is a good suggestion for Microsoft to sort out in future operating systems.

    Regards, Pratik Mehta

  • 2012년 6월 12일 화요일 오후 3:57
     
     답변됨
    May I suggest the RunAsInvoker shim? You can create this with Microsoft ACT which is free. Install it on the machine and it should intercept any UAC prompt or set AppCompat flags

    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog: rorymon.com Twitter: @Rorymon

  • 2012년 6월 12일 화요일 오후 4:17
     
     

    Hi Rorymon,

    Can you be more specific about what the software is so we can ask our security team to allow the same to be used in our organization wherever required.


    Regards, Pratik Mehta

  • 2012년 6월 12일 화요일 오후 11:00
     
     답변됨

    Sorry. It's Microsoft Application Compatibility Toolkit

    http://www.microsoft.com/en-us/download/details.aspx?id=7352

    It creates something called a shim. Which a .sdb file. You can deploy the sdb file to Vista and later. The shim is basically a very lightweight listener that will detect your process e.g. your application.exe when it detects the process it will ensure if it makes a call to open, it dummies that the user launching it has elevated admin rights.


    PLEASE MARK ANY ANSWERS TO HELP OTHERS Blog: rorymon.com Twitter: @Rorymon