Solved

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

Posted on 1998-12-23
15
687 Views
Last Modified: 2013-12-19
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:
http://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.
0
Comment
Question by:spiridonov
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
15 Comments
 
LVL 6

Expert Comment

by:sgenther
ID: 1567711
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.


 

0
 
LVL 7

Author Comment

by:spiridonov
ID: 1567712
I don't see how it answers my question. give me an examle of sending message to user J D in domain D.
0
 
LVL 2

Expert Comment

by:dlanssens
ID: 1567713
net send JD /domain:D "message".
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 7

Author Comment

by:spiridonov
ID: 1567714
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.


0
 
LVL 6

Expert Comment

by:sgenther
ID: 1567715
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.
0
 
LVL 6

Expert Comment

by:sgenther
ID: 1567716
If you want to change the domain then its this
net send testuser /DOMAIN test
where as DOMAIN is the domain name.
0
 
LVL 6

Expert Comment

by:sgenther
ID: 1567717
correction  its /domain:domainname  it will not send to all users unless you add /users.
0
 
LVL 6

Expert Comment

by:sgenther
ID: 1567718
And yes I have try this.
0
 
LVL 7

Author Comment

by:spiridonov
ID: 1567719
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.


0
 
LVL 23

Expert Comment

by:Tim Holman
ID: 1567720
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.


0
 
LVL 1

Expert Comment

by:derosa
ID: 1567721
I have a gui that I will send to you. Give me email address.
0
 

Expert Comment

by:maRtinJ
ID: 1567722
Please send me also the copy of the same,Derosa at martinj123@usa.net
0
 

Expert Comment

by:kramero
ID: 1567723
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...
0
 

Accepted Solution

by:
dragonfire earned 0 total points
ID: 1567724
I suspect this all comes down to windows networking using NetBIOS and WINS resolution (As hinted in the first answer).

As previously mentioned, using the /DOMAIN switch will send to the whole domain so if you want to send to a particular user you can't use it. This is because as far as windows is concerned, a DOMAIN is just a specialised form of user - they are just netBIOS names which are registered on the network (OK, it's a touch more complicated, but that's the essence). Generally, sending to a USER on a different domain is unlikely to work because your machine is unlikely to be able to resolve that name to a network address because a) It is not available in the WINS database of your server (Because it won't have authenticated that user or have access to that domain's user list) and b) usually the domain will be in a different subnet so no NetBIOS registration data for that name will have been received by your machine.

There are several possibilities which may make this work:
1. Send to a MACHINE not a USER - this is slightly more likely to work as the list of machines is more likely to be available to your resolver (If you can see the machine in a browse list you should be able to SEND to it).
2. If you have a very simple network with no switches or routers and are using NetBIOS natively (eg not over TCP/IP) there is a possibility that the registration will have been stored by your WINS server (Of course there can be no users in different domains with the same name so the Domain name is irrelevant), but, this should work with the simple 'NET SEND USER MESSAGE' format, so it is unlikely that you can do this.
3. Setup WINS replication from domain to domain will give you full browse lists allowing messages to MACHINE names to be sent - and using trusted servers may give you access to the User information (Not having tried this, I can't be sure).

I suspect the GUI you mention lists all the NetBIOS names that have been stored in the WINS database (Or just those it has seen on the network). I have come across one called NetHail which is similar to WinPopup, but this just uses the browse list (ie Machine names only - no Users) so would not help.
0
 

Expert Comment

by:javin
ID: 7832095
derosa - if you get this, i would also like a copy of the gui you mentioned.  javin@socal.rr.com

thanks
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question