3. Launch your application from session 0 - 1 in Vista using a service helper application to avoid UAC
For certain scheduled scripts or tasks we would require launching an exe under an administrator account to perform certain tasks. In Vista this is a bit troublesome since the UAC elevation dialog box would appear for which the user would have to respond.
To work around that problem, we propose a solution to launch the required application from a service into the current user session with local system account privileges. This would not require us to respond to the UAC dialog box.
Hence this could run applications with the highest privilege possible, avoiding the UAC dialog box.
This is sometimes necessary since we need to control/communicate with applications running with administrative rights
without user intervention and perform some administrative tasks in the current user session on system start-up.