Link to home
Start Free TrialLog in
Avatar of Victor Spiridonov
Victor SpiridonovFlag for Russian Federation

asked on

Send popup msg to USER in another domain (PART II)

The question is how can I using net send or any other comman d line utility send message to a given username in another domain. I asked this before , but didn't get a positive answer. See the following thread:
https://www.experts-exchange.com/topics/bin/Q.10055921

However I still think it should be possible, since I know at least one GUI utility, that allows to view a list of all accessible users and  send popup messages, even if they are in a different domain.400 Points for a positive answer.
Avatar of sgenther
sgenther

PSS ID Number: Q168893
Article last modified on 05-21-1998
 
WinNT:3.5,3.51,4.0
 
winnt
 

======================================================================
--------------------------------------------------------------------------
The information in this article applies to:
 
 - Microsoft Windows NT Workstation versions 3.5, 3.51, and 4.0
 - Microsoft Windows NT Server versions 3.5, 3.51, and 4.0
--------------------------------------------------------------------------
 
SUMMARY
=======
 
Using the Messenger Service in Windows NT gives you varying results that
depend on the command options or interface you use to send messages.
The method you use determines whether the message will be a local
Broadcast or a directed datagram, and to which NetBIOS name the message
will be sent.
 
For additional information, please see the following article in the
Microsoft Knowledge Base:
 
   ARTICLE-ID: Q163409
   TITLE     : NetBIOS Suffixes (16th Character of the NetBIOS Name)
 
MORE INFORMATION
================
 
NET SEND *
----------
 
Sends out a broadcast to all registered users of the local domain <00>
through each protocol on the sending computer. For example, a computer
running Windows NT server with NWLINK, TCP/IP, and NetBEUI would send three
broadcast messages to domain <00>. A user in the domain running all three
protocols would receive three messages.
 
NET SEND /DOMAIN:NAME
---------------------
 
Sends out a broadcast to the specified domain name <00> through each
protocol on the sending machine. This functions the same as the NET SEND *,
with the exception that you can choose a specific domain, instead of using
your current logon domain.
 
   NOTE: With NET SEND * and NET SEND /DOMAIN:NAME, only users on the
   local subnet that belong to the specified domain, will receive the
   message.
 
For additional information, please see the following article in the
Microsoft Knowledge Base:
 
   ARTICLE-ID: 150881
   TITLE     : Local NetBIOS Name Query Broadcast Not Forwarded by Router
 
NET SEND NAME
-------------
 
Sends a directed message to the <03> NetBIOS entry for the user specified.
The user receives only one message, and the normal methods for detecting
NetBIOS names will be used.
 
For additional information, please see the following articles in the
Microsoft Knowledge Base:
 
   ARTICLE-ID: Q119493
   TITLE     : NetBIOS over TCP/IP Name Resolution and WINS
 
   ARTICLE-ID: Q119490
   TITLE     : How Routers Handle IPX Type 20 NetBIOS Packets
 
NET SEND /USERS
---------------
 
Sends a directed message to the <03> NetBIOS entry for the computer name of
each session established with the server. You can view these connections
through Server Manager. If a computer has three sessions open under Server
Manager, then that computer will receive the message three times.
 
SERVER MANAGER - SEND MESSAGE
-----------------------------
 
Send a directed message to the <03> NetBIOS entry for each computer
connected to the server. Unlike the NET SEND /USERS, only one message will
be sent to each connected computer, even if the computer has multiple
sessions with the server.
======================================================================
Keywords          : ntdomain ntdosap ntnetserv NTSrvWkst ntui ntutil
Version           : WinNT:3.5,3.51,4.0
Platform          : winnt
Issue type        : kbinfo
=============================================================================
Copyright Microsoft Corporation 1998.


 

Avatar of Victor Spiridonov

ASKER

I don't see how it answers my question. give me an examle of sending message to user J D in domain D.
net send JD /domain:D "message".
dlansens:Have you tried it?
The syntax you provided sends message : "JD message" to all users in D domain, not message "message" to user JD.


All you need to do is this NET SEND "username" "message"
Thats it!
as long as the messenger service is running on the pc just that user will get the message.
example: NET SEND testuser test
the user testuser will then get a popup box with the message test on it.
If you want to change the domain then its this
net send testuser /DOMAIN test
where as DOMAIN is the domain name.
correction  its /domain:domainname  it will not send to all users unless you add /users.
And yes I have try this.
NET SEND testuser test - message is sent to the user in the current domain. (Anyway what happens , when there are users with the same name in different domains?)


net send user1 /domain:domainname - message is sent to the whole domain. It doesn't matter what I put as user1.

.  /users - sends message to the users connected to the computer, from which I'm sending the message.


Avatar of Tim Holman
NET SEND JD message

/DOMAIN will broadcast a message to the entire domain, no matter what you put in the net send.

This is an old LAN Manager command that never really understood the concept that domains would eventually be joined together...

So you're stuck, unless you're part of the other domain.


I have a gui that I will send to you. Give me email address.
Please send me also the copy of the same,Derosa at martinj123@usa.net
I would really appriciate it if you send it to me too!

kramero@hotmail.com

Or maybe just tell us the name of that GUI and where can
we download it...
ASKER CERTIFIED SOLUTION
Avatar of dragonfire
dragonfire
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
derosa - if you get this, i would also like a copy of the gui you mentioned.  javin@socal.rr.com

thanks