UAC: how lower privileges?

Test and elevation is:
http://www.cplusplus.com/forum/windows/101207/
https://web.archive.org/web/20150716120139/https://code.msdn.microsoft.com/windowsdesktop/CppUACSelfElevation-5bfc52dd
how do reverse thing?
How do it:
Command line is running in administrator mode.
user call caller which calls test with user privileges.
From https://stackoverflow.com/questions/26238779/disabling-uac-programmatically-change-doesnt-take-effect

UAC can't be disabled programatically, it's designed to prevent such an act. The whole point to UAC was to make it impossible for anything other than user interaction to bypass/disable it.
but, where theres a need.. you can make a recorder do it. There are programs that can capture what a user does and repeat it, even tracking down buttons that are not in the same place on some of the smarter ones.
Topic archived. No new replies allowed.