flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Madis731
No non-server class computer has it, I think. There is no protection against restarts even on NT machines, because you can always hit the power/restart button -OR-
![]() Then you can log in with your own account. I can suggest you maybe look at the shutdown API and catch that behaviour. Maybe then you can intervene and stop the shutdown process. I haven't got any other good ideas ![]() |
|||
![]() |
|
vid
maybe somehow block/remove executing system32\shutdown.exe?
|
|||
![]() |
|
LocoDelAssembly
There is an API function for that, AbortSystemShutdown. However keeping pressed the shutdown button for 3 seconds on an ATX computer is enough to turn it off.
|
|||
![]() |
|
vid
you can also make your locker write itself to Run in registry, so it will run anyway. This could keep off less experienced guys
|
|||
![]() |
|
lilljocke
I Can not run AbortSystemShutdown and use system32\shutdown.exe? becouse it is a 9x System. and i cna not do anything to the registry becouse it will restore when the computer is restared
![]() |
|||
![]() |
|
Vasilev Vjacheslav
what about patching ExitWindows in user32.dll?
|
|||
![]() |
|
UCM
vasilev: probably not a good idea, it's a school computer
_________________ This calls for... Ultra CRUNCHY Man! Ta da!! *crunch* |
|||
![]() |
|
RobotBob
Why not:
Quote: The WM_QUERYENDSESSION message is sent when the user chooses to end the Windows session or when an application calls the ExitWindows function. If any application returns zero, the Windows session is not ended. I have used this in the past. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.