Ever since Windows Vista introduced User Account Control, there has been a need to occasionally run some programs as administrator for doing some functions. If the UAC setting is set to the highest level in Windows, then you get a UAC prompt when you open an app as administrator. But when the UAC setting is at a lower level, signed Windows EXEs are elevated silently. Also, there are some scheduled tasks which run as administrator and you can even create your own shortcuts that run elevated but you don't get the UAC prompt for them. In this article, we will see how we can determine if a process is running as administrator.
Advertisement