The Flags parameter contains a set of flags to shut the computer down. Setting this parameter to 0 is the command to logoff. ...