How to start a program/script before logging in
Option 1: srvany and instsrv from the Windows Resource Kit
Option 2: Start->Run->MMC->Add snap-in->Group policy->Local computer->Computer configuration->Windows settings->Scripts
The applications will run as Local System