How to allocate Administrator permission to Standard User for Windows


  1. Posts : 1
    windows 7 ultimate 64
       #1

    How to allocate Administrator permission to Standard User for Windows


    We have an application(Myapp.exe), which is runs under administrator account properly( as it edit/update/write DLL in registry). But due to to security resons we dont want to provide Admin password to all users, and we want to run application under Standard User ( member of Users group only).
    I did these setting in MyApp.exe.manifest
    <requestedExecutionLevel level="asInvoker" uiAccess="false" />
    and linked in the file MyApp.rc as given below
    Partial Class MyApp :Form
    {
    Public MyApp
    {
    InitializeComponent();
    ---
    ---
    ---
    #define MANIFEST_RESOURCE_ID 1
    MANIFEST_RESOURCE_ID RT_MANIFEST "ProLaw.exe.manifest"
    }
    }
    I buld the project, and through Standard user i tried to run the project, but it is still asking Administrator password.
    Am i missing any step?
      My Computer


  2. Posts : 72,051
    64-bit Windows 11 Pro for Workstations
       #2

    Hello aloktripathi, and welcome to Seven Forums.

    You might see if you may be able to use the tutorial below to allow the standard user to run your elevated app without them having to enter your password or getting a UAC prompt.

    Elevated Program Shortcut - Create for Standard User

    Hope this helps,
    Shawn
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:17.
Find Us