Results 1 to 5 of 5

Thread: Logoff

  1. #1
    Junior Member
    Join Date
    Jul 2002
    Location
    India
    Posts
    9

    Logoff

    Hi all,
    Is there any way that a bat file can be executed when a person logout in windows 98 & nt?

    Thank you.

  2. #2
    Senior Member
    Join Date
    Sep 2003
    Posts
    279
    Take a look at this page
    It should be helpfull.


    http://www.robvanderwoude.com/shutdown.html

    <REBOOT>
    RUNONCE.EXE -q
    RUNDLL USER.EXE,ExitWindowsExec

    <SHUTDOWN>
    RUNDLL USER.EXE,ExitWindows
    ECHO G=FFFF:0000 ¦ DEBUG

    <ALL>
    RUNDLL32 SHELL32.DLL,SHExitWindowsEx n
    n can be any combination (sum) of the following numbers: (4)
    0 Logoff
    1 Shutdown
    2 Reboot
    4 Force
    8 Poweroff (if supported by the hardware)
    AntiOnline Quick Forum Version 2b Click Here
    10010101000000110010001100111

  3. #3
    Junior Member
    Join Date
    Jul 2002
    Location
    India
    Posts
    9
    Thank you spools.exe

  4. #4
    Member
    Join Date
    Feb 2003
    Posts
    78
    I understand why spools is still an antionline newbie, becuz he hasnt posted over, what is it, 50 post or something. But what I cant understand why he doesnt have mroe anti points. Almost every post I have seen spools make has been very informative and helpful. Good job to spools.

    -Ep
    01001001001000000100110001101111011101100110010100100000010000100110010101110100011101000111100100100001

  5. #5
    Senior Member
    Join Date
    Sep 2003
    Posts
    279
    thankyou very much. I enjoy Spreading information. Usually when i learn something and i think it might be informative i'll post it. I also enjoy reading posts and learning just as well.
    AntiOnline Quick Forum Version 2b Click Here
    10010101000000110010001100111

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •