waitfor

waitfor - wait/send a signal over a network

waitfor - wait/send a signal over a network


waitfor

  • C:\Windows\system32\waitfor.exe /?

Output:


WaitFor has two ways of working:

Syntax 1: to send a signal
    WAITFOR [/S system [/U user [/P [password]]]] /SI signal

Syntax 2: to wait for a signal
    WAITFOR [/T timeout] signal

Description:
    This tool sends, or waits for, a signal on a system. When /S is not
    specified, the signal will be broadcasted to all the systems in a
    domain. If /S is specified, then the signal will be sent only
    to the specified system.

Parameter List:
    /S     system         Specifies remote system to send signal to.

    /U     [domain\]user  Specifies the user context under which
                          the command should execute.

    /P     [password]     Specifies the password for the given user context.

    /SI                   Sends the signal across the net to waiting machines

    /T     timeout        Number of seconds to wait for signal. Valid range
                          is 1 - 99999. Default is to wait forever for signal.

    signal                The name of the signal to wait for or to send.

    /?                    Displays this help message.

    NOTE: A system can wait for multiple unique signal names.
    The signal name cannot exceed 225 characters and cannot
    contain characters other than a-z, A-Z, 0-9 and ASCII
    characters in the range 128-255.

Examples:
    WAITFOR /?
    WAITFOR SetupReady
    WAITFOR CopyDone /T 100
    WAITFOR /SI SetupReady
    WAITFOR /S system  /U user /P password /SI CopyDone

Return Code: 0


C:\Windows\system32\waitfor.exe
c:\>ver
Microsoft Windows [Version 10.0.19045.2075]
FileInfo
File Size42496bytes
Creation Time2019/12/07 18:09:30
LastWrite Time2019/12/07 18:09:30
ProductVersion10.0.19041.1
FileVersion10.0.19041.1 (WinBuild.160101.0800)
HashValue
MD565f95b6f9a894116af21d19a8cf54c34
SHA197f016a385fc4d533ae46f7f7c98a91b175934c3
SHA2248a319cdae92c877a8fad649ff5c23839630d6efa37e4645615158781
SHA2561ed4bdfbbe7e27856d1b3d6d743efab72e5727bae7b6c02492f8890c97ae602f
SHA384c34c2ec91cbf91b7f89df4481d7464b34efe9df1385fe27b0cf8b6f6a2ba67c2588a6ab85bef32c873c04d97290836be
SHA512650dcc22a207ffa42135cf95f3b47abfca6cae63989e81d382a3f191718075927224783ffc2bbf4b54d8ecb801786086cd0b022e07d98fff09d34ba9742021d5
Built with Hugo
Theme Stack designed by Jimmy