Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have two users one a month old, and one brand new.

Both are standard users(belong to standard users group).

UAC Setting is set to Default.

Problem is while launching a C# App, old_user prompts for admin previlage, while the new user doesn't.

Why?

share|improve this question
    
Welcome. Make sure your running the exact program on both users. –  wizlog Oct 10 '11 at 13:12
    
Where is the application installed? Is it installed using Click Once? –  Diago Oct 10 '11 at 13:19
    
@Diago: its installed in Program Files –  Gaddigesh Oct 10 '11 at 13:20
    
@Wizlog: Thanks .... Yes I am sure that I am running same program in both users –  Gaddigesh Oct 10 '11 at 13:26
    
Whats this app doing? Why dose it require admin rights? and did the old user always need admin rights to access it? –  wizlog Oct 10 '11 at 14:22
add comment

1 Answer 1

An easy way to do this is, if you understand UAC well, to fire up Process Monitor from Sysinternals and attach it to the program at launch.

Another way is to download Microsoft's Appcompat toolkit. It contains a tool called the Standard user analyzer. It essentially is test trial that breaks the program as soon as it hits a UAC prompt. Plus it tells you why!!

http://msdn.microsoft.com/en-us/library/bb756983.aspx

To identify application compatibility problems for pre-Windows Vista applications

Log on to a Windows Vista computer as an administrator in Admin Approval Mode.

Click Start, click All Programs, and then click Standard User Analyzer.

In the Standard User Analyzer, for Target Application, specify the full directory path for an application to test or click the Browse button to locate the program's executable file with Windows Explorer.

Click Launch and then click Continue at the User Account Control dialog box.

After the test application launches, perform standard administrative tasks in the application, and close the application when you have completed.

In the Standard User Analyzer, examine the output on each tab. Use this data to identify the compatibility issues that the program might have.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.