Send Message fails with "Error code 2: The system cannot find the file specified"
2 posts
Do a LAN scan, find a Windows box, RMB > Send Message > type message, OK - get error:
[Window Title]
SoftPerfect Network Scanner
[Content]
Unable to send the message. Error code 2: The system cannot find the file specified.
[OK]
Send Message uses the same Windows Terminal Services API as the built-in msg command, so it only works if the remote computer accepts that call. Windows desktop editions refuse it by default, and the error code that comes back is not always a meaningful one.
On the remote computer, set the DWORD AllowRemoteRPC to 1 under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server and restart it. The account Network Scanner runs under also has to be an administrator there, and its firewall must allow File and Printer Sharing (SMB, port 445), which the call travels over.
You can check the remote side independently with the same command from a command prompt:
msg * /server:HOSTNAME "test"
If that fails too, the error it prints says which of the above is missing.