Hi Dw.

I have a question of how can one detect a
program attempting execute/run and also most
importantly how to allow/deny programs to
execute/run.
I'm sure we all have came across with UAC
where it ask you to allow or deny that program
from running, normally this for elevating
privileges to Admin, but I don't want to use
UAC rather want to create something working
like it except that UAC only notify on privilege
elevation but mine I want it to detect a
program that is attempting to execute then ask
a user if s/he wants to grant or deny that
particular program from running.
Thank you.

I suggest you read Andrew Tanenbaums "Modern Operating Systems" book. You will realize how complex schedulers and interrupt requests occurs in the nanoseconds!

@IPSWITCH how?