Announcement

Collapse
No announcement yet.

Full Windows Restart

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Douglas C. Horner
    replied
    Once again I found my own problem

    Correct Syntax for total restart

    Code:
    ExitWindowsEx %EWX_REBOOT,0
    Win 98

    Doug

    ------------------

    Leave a comment:


  • Douglas C. Horner
    started a topic Full Windows Restart

    Full Windows Restart

    I have a program that constantly pings the server to make sure
    the connection exists if it doesn't I send

    Code:
    Ans=ExitWindowsEx(0, %EWX_REBOOT)
    to restart windows and log the user back in automatically using
    Tweak UI. While the restart "appears" to work it does not
    "restart" as you would as if you would restart from the start
    menu manually. Yes it does log you off but it appears to not do
    a true restart. I have tried several of the other parameters to
    try and get a true restart to no avail. What am I missing or
    is there another way of doing this? It appears as though it
    simply log's the user off.

    Thanks
    Doug

    Doug

    ------------------


    [This message has been edited by Douglas C. Horner (edited October 17, 2001).]
Working...
X