ricardo Level: Guest

|
w2k shutdown - advapi32
Hi,
I read the tip060004 and i used the code to write a shutdown executable. I've complemented the code to enable the SE_SHUTDOWN_NAME privilege.
But, has it says in MSDN, "System shutdown brings the system to a condition in which it is safe to turn off the computer.".
This means that when i execute the code i get the windows screen saying that "it is now safe to turn off the computer" but i still have to press the shutdown button on the machine.
What i want is to execute the code and the system simply turn off without any further intervention from a user, has it is done by the windows command.
What's missing?
|