locked
Compatibility with legacy program RRS feed

  • Question

  • We have two  programs that runs at the same time iand that needs administrator rights to run. In XP it was enough if the users were PowerUsers.

    Now we have just installed our first windows 7 computers and I disabled the UAC and I put Run this program as administrator for all users on both the actual exe-files. It did not work entirely because only one of the programs would start not the other. I get Unexpected error; quitting

    I then enabled the UAC and logged in as a standard user started the program and got prompted for an administrators name and password. I used the local administrator that I created at installation and now the programs started both of them! 

    My question is what is the difference between these two situations? Is there a differrence in the accounts Run as administrator and the other administrator account I used in the second case? I do not understand why the outcome is different?

    Thursday, September 23, 2010 2:10 PM

Answers

  • Check this article:

     

    How to use User Account Control (UAC) in Windows Vista

     

    “When you run a program function or a system function, you may receive a UAC prompt. Most of these programs are legacy programs. Newer versions of the same programs do not trigger UAC. You cannot set UAC to automatically run a program as an administrator without the user being prompted.

     

    In Windows Vista, some programs only run correctly if you run them as an administrator. You may be able to run newer versions of the same programs without having to run them as an administrator.”

     

    The behavior of UAC disabled:

     

    User Account Control in Windows 7 Best Practices

     

    If UAC is disabled to avoid the elevation prompt, all UAC functionality is disabled. Instead, consider configuring UAC to elevate without prompting. In this case, applications that have been marked as administrator applications, as well as setup applications, will automatically run with the full administrator access token. All other applications will automatically run with the standard user token. The additional functionality of UAC is maintained.

     

    Therefore, this issue is also related to how the application was designed.

     

    Session 0 Isolation

     


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    • Marked as answer by Linda Yan Thursday, September 30, 2010 5:45 AM
    Monday, September 27, 2010 7:23 AM