What actions will require increasing UAC in Windows?

I mark this as a community wiki because I'm really not looking for one complete answer. Therefore, if it seems to you that you are sending one or two things that activate the UAC prompt instead of the full list, go to the next one.

What actions on Windows activate UAC? I would like to avoid this as much as possible because my application does not need administrator privileges. And I’m sure that many other people want to avoid this.

In particular, I would like to know if reading from the registry will activate it. Or write to him?
You do not need to solve the above question, just everything that activates it is an honest game.

It’s very difficult for Google to do anything about UAC because you are bombarded with articles on how to disable it. And I would prefer that my application does not make the assumption that UAC is disabled.

+3
source share
2 answers

Nothing activates "UAC".

If your application cannot work as a standard user in Windows XP, it will not work under Windows Vista or Windows 7 as a standard user.

What are you really asking: what can a standard user do on Windows?

What a normal user cannot do is pretty well known (they were the same with Windows 2000). The main ones are:

  • - HKEY_LOCAL_MACHINE
  • - Windows
  • - Program Files

, :

  • Windows 2000
  • Windows XP
  • Windows Vista​​li >
  • Windows 7

. - Windows XP, . :

  • logon ( )

UAC - convience, . , , "" ; .

, C:\Program Files\My App\Data, , .

() , .

+4

launch4j (exe-wrapper java-) "MyApp.exe". . UAC.

: "install.exe" "setup.exe", UAC, UAC promp .

, " ", (UAC).

0

Source: https://habr.com/ru/post/1749238/


All Articles