Program needs Run as Administrator

Discussion in 'Windows Vista Security' started by Nigel Molesworth, Mar 21, 2008.

  1. I've got a program that will only work properly if I use "Run as
    Administrator", despite being logged in as an administrator.

    Is there a way I can fix this, so it runs normally?

    PS, I know I shouldn't be running as administrator, but this is a PC that is
    rarely connected to the Internet, and used for two or three specific tasks.
     
    Nigel Molesworth, Mar 21, 2008
    #1
    1. Advertisements

  2. Nigel Molesworth

    .Joe Guest

    Nigel

    You can tell the program to always run as an administrator by doin
    this

    1. Right click on the program shortcu
    2. Select propertie
    3. Under the compatibility tab, click run this program as administrato
    4. Click apply & o

    That should take care of it

    I hope this helps

    --
    .Jo

    _[image
    http://uswave.net/vistax64/joetmvx64.png] (\"http://www.vistax64.com/index.php?referrerid=17621\")
    _*::Click_here_for_the_Vista_Forums::* (\"http://www.vistax64.com/index.php?referrerid=17621\")
    _Geekbench_Score:_4050 (\"http://browse.geekbench.ca/geekbench2/view/42901\")
    _CPU-Z_Verified (\"http://valid.x86-secret.com/show_oc.php?id=323179\")_
     
    .Joe, Mar 21, 2008
    #2
    1. Advertisements

  3. Excellent, that's a good start.

    Only problem now is that UAC asks if it is OK to run it. I would eventually
    like this program to run on start up, and I think this may be a problem.
     
    Nigel Molesworth, Mar 21, 2008
    #3
  4. Nigel Molesworth

    Bob Guest

    Bob, Mar 21, 2008
    #4
  5. Nigel Molesworth, Mar 21, 2008
    #5
  6. Nigel Molesworth

    Bob Guest

    Your welcome. You might want to do this instead.

    To disable UAC prompts NOT UAC:

    Run Regedit and navigate to

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]

    Change the value of ConsentPromptBehaviorAdmin from "2" to "0".

    -------
    *Report back, please*
    [When responding to posts, please include the post(s) you are replying to so
    that others may learn and benefit from the issue]

    [How to ask a question]
    http://support.microsoft.com/kb/555375
     
    Bob, Mar 21, 2008
    #6
  7. Nigel Molesworth

    Ray Guest

    Would it make a difference if you did this to the program executable
    rather than the shortcut? That way the program would always run as
    admin, whether started from the shortcut or by double-clicking a file.
    Or will Vista make both starting methods run it the same way?
     
    Ray, Mar 21, 2008
    #7
  8. Thanks Bob, you are a star!
     
    Nigel Molesworth, Mar 22, 2008
    #8
  9. Nigel Molesworth

    Bob Guest

    You're welcome. Happy to help. Thanks for the feedback.
    -------
    *Report back, please*
    [When responding to posts, please include the post(s) you are replying to so
    that others may learn and benefit from the issue]

    [How to ask a question]
    http://support.microsoft.com/kb/555375

     
    Bob, Mar 22, 2008
    #9
  10. Nigel Molesworth

    SG Guest

    You are running with administrator rights, but if you have to right click
    and select Run as Administrator then you are not logged on as administrator.
    When you first boot do you have two users listed to logon to?

    --
    All the best,
    SG

    Is your computer system ready for Vista?
    https://winqual.microsoft.com/hcl/
     
    SG, Mar 23, 2008
    #10
  11. Nigel Molesworth

    Bob Guest

    Isn't it more a case of not being logged in as the "Real Administrator"?
     
    Bob, Mar 23, 2008
    #11
  12. Yes, I am. Run as Administrator gives elevated rights.
    No, there is only one user, the administrator.
     
    Nigel Molesworth, Mar 23, 2008
    #12
  13. Nigel Molesworth

    Bob Guest

    Google "Real Administrator"

     
    Bob, Mar 23, 2008
    #13
  14. Yes, indeed. I don't want full admin all the time, just for this program.

    All seems to be as I want it now, thanks to your help.
     
    Nigel Molesworth, Mar 23, 2008
    #14
  15. Nigel Molesworth

    Bob Guest

    YW

     
    Bob, Mar 24, 2008
    #15
  16. Nigel Molesworth

    Jukie Guest

    Bob, I'm having the same problem. When I go to regedit
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
    I don't have the option of "ConsentPromptBehaviorAdmin from "2" to "0"."
    Only default shows up and no value is set. Should I just click on that and
    make the value 0?
    Thanks,
    Julie



     
    Jukie, May 25, 2008
    #16
  17. Nigel Molesworth

    Brink Guest

    Hi Julie,

    Yes you could do that. For more on that, see:

    http://www.vistax64.com/tutorials/80938-user-account-control-uac-elevate-privilege-level.html


    You can also create a task in Task Scheduler to run the startup program
    with administrator rights without it getting blocked to. Option One,
    Method Two will show you how to in this tutorial.

    http://www.vistax64.com/tutorials/79612-startup-programs-enable-disable.html

    Hope this helps you,
    Shawn


    --
    Brink

    *There are no dumb questions, just the people that do not ask
    them.*
    '*VISTA FORUMS*' (http://www.vistax64.com)
    *Please post feedback to help others.*
     
    Brink, May 25, 2008
    #17
  18. Nigel Molesworth

    Paul Adare Guest

    No Julie, you shouldn't do that. Don't pay any attention to this advice as
    the poster either didn't really read your question or doesn't know what
    he's talking about.
    The registry value you need to change needs to be named
    "ConsentPromptBehaviorAdmin". If you don't have that value you need to add
    it. Changing the data of the value named Default will not work and in fact
    could prove to be harmful.
     
    Paul Adare, May 25, 2008
    #18
  19. Nigel Molesworth

    Brink Guest

    Thank you Paul for catching my error. I have edited the posts t
    correct them

    Julie
    You will definitely need to add "ConsentPromptBehaviorAdmin". Th
    tutorial link has full instructions on how to do this and a download t
    make it even easier to do if you wanted to use it instead

    http://www.vistax64.com/tutorials/80938-user-account-control-uac-elevate-privilege-level.htm

    Shaw

    --
    Brin

    *There are no dumb questions, just the people that do not as
    them.*
    '*VISTA FORUMS*' (http://www.vistax64.com)
    *Please post feedback to help others.*
     
    Brink, May 25, 2008
    #19
  20. Nigel Molesworth

    Paul Adare Guest

    Umm, this is USENET, you can't edit posts.
     
    Paul Adare, May 25, 2008
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.