Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

net send to XP 2

Status
Not open for further replies.

gmTater

Programmer
Jul 6, 2004
4
US
Has anyone tried using "net send username msg" to a XP machine. The messenger service is running and working because the XP machine will display the message if the ComputerName is used instead of username. I also have NetBIOS over IP enabled.

I have been searching for other people having the above problem to no avail. I would have thought if XP no longer supported sending to the log in that there would be more posted questions.
 
I too am unable to net send using the username from XP pro.
Not sure about form other OSs to XP. The computername works.
Hum...
Maybe topping this will help.
 
It is not unusual to find the username different from the logon name. Check Task Manager to see what name is being used, or use NET NAME from a command prompt. Net Name also allows adding new names.
 
I was just looking up Net Send and according to Microsoft's Help file "Net Send may not work properly if Service Pack 2 is Installed"

Can anyone recommend any other utility that would allow me to send messages to Specific users on my network?

thanks for any suggestions...
 
The MS KB article is clear that the issue of SP2 and Net Send is that by default the Messenger Service is disabled.

CAUSE
The NET SEND command uses the Messenger service to send messages on the network. This problem occurs because the Messenger service is disabled. By default, the Messenger service is disabled on computers that are running Microsoft Windows XP SP2.
WORKAROUND
To work around this problem, change the Startup type of the Messenger service to Automatic, and then start the Messenger service. To do this, follow these steps:
Open Windows Explorer.
In the left pane, right-click My Computer, and then click Manage.
In the Computer Management window, expand Services and Applications in the left pane, and then click Services.
In the right pane, double-click Messenger.
In the Messenger Properties (Local Computer) dialog box, click the General tab.
On the General tab, select Automatic from the Startup type list, and then click Apply.
Under Service status, click Start, and then click OK.

No matter what you may use as a Net Send replacement, you need to enable the Messenger (and Alerter Service if not set to Automatic).

I use NetHail, freeware:
 
Does anyone know if there is a way to use a logon script to enable/automatic the messenger service? I think there is a way to start and stop services from command line, but i cant remember how its done.

thanks for any comments
 
The problem with that is that since SP2 disables the messenger service it cant be started. Ill have to come up with something that will re-enable the service, make it automatic, and then start it...

 
If you're doing it from a login script you could use the following, although not sure if your users will have the sufficient permission:
"sc config Messenger start= auto
net start Messenger"

Or you could draw up a batch, similar to the following. You could compile a list of all the computer names into the sourcefile, then run it from a single workstation:

"set sourcefile=c:\computers.txt
for /f %%a in (%sourcefile%) do sc \\%%a config Messenger start= auto
for /f %%b in (%sourcefile%) do sc \\%%b start Messenger"
 
Hi;I use net send on a network of 5 computer's all windows xp-pro,My problem is on just 1 of them if I reboot,net send will not work,unless I run(net stop messenger)at the command prompt,and then(net start messenger).Then it works ok.As long as I don't reboot..I checked the services for messenger after a reboot and it was set to automatic,and started.But net send would not work at all,until I shut off messenger and then restart messenger,as stated above.Not having any other problems with the network,except with net send on this 1 computer? Anyone have any Idea's on why I can't use net send when I first boot up the computer.? Any help here would be appreciated.Thanks
 
It just happened all of a sudden,was working without doing this stop and start thing when I first hooked it up.Anyway It's a SP1 machine.Is there a way to get it back.so I don't have to stop the messenger and restart it.to use the net send on this machine?
 
The next time it acts up do:
Start, Run, CMD
nbtstat -n

And post the results back here. I have an odd guess that your computername and your user name are the same.
 
ok,Thanks much for the help here.
ok;here it is,What do you think.
Man I don't know what to say,I rebooted,took these readings and tryed net send,and all is working now...
Rebooted again,all is working.
Thanks so much for your help..Do you see anything wrong here?...................It's working now.

NetBios Local Name Table:

Name Type Status
------------------------------------------
DUDE <00>unique Registered
HOME <00>group Registered
DUDE <03>unique Registered
DUDE <20>unique Registered
HOME <IE>group Registered
DUDE <01>unique Registered
------------------------------------------
The full computer name is:
dude

The Workgroup is: HOME
 
It is my honest belief that the computername and the user name work better if different for any Netbios activity, but you are getting registration on all names.
 
Thankyou to bcastner for all the help in this matter.all is ok now.Cheers and Thanks Again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top