I see many threads here about how can a software be programmed to ask for administrator privileges on Windows, but in my case I have a software installer that runs with administrator privileges and, in the end of installation, it must execute another process with limited privileges (as the logged user). Both installer and installed softwares was created by me using Delphi.
I am researching about this subject for all day long and it seems to be a very difficult task to achieve by programm language only. My question is if there is some Windows command that I can use to "call" the executable with lower privileges or maybe a manifest configuration that I can incorporate to the installed software to avoid it runs with admin privileges. Well, any ideas are welcome!