Note that there are some explanatory texts on larger screens.

plurals
  1. POUAC status without reading the registry
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COSilly question: Why are you trying to do this? Best practices say that you should design your application to run with low rights and segregate the pieces which require administrative rights into a separate program (or mode of operation for your program). What would your program do differently if UAC was enabled or disabled?
      singulars
    2. COBecause is an old piece of code that needs administrative rights to run and my manager doesn't want us to change the whole code since we are not actively supporting this program anymore, so the quick fix is to get the UAC status and act accordingly. In any case, it is NOT a silly question and forgive me is I sound a bit disrespectful, but why do you have to ask why I need this. I just need it and I wanted to know if there is a way. I don't care what microsoft have to say about the UAC, I still want to know whether there is a way to know the status or not. thanks
      singulars
    3. COIf you have a program that requires administrative rights, you can add a manifest to the program that marks it as requiring administrative rights. Then the OS will automatically request elevation whenever it's run without you having to check (assuming UAC is enabled). The reason I asked "Why are you trying to do this?" is that in my experience, when someone asks a question like yours there's often an easier, supported solution that solves their problem without poking around system internals.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload