Link to home
Start Free TrialLog in
Avatar of abracadabra01
abracadabra01

asked on

enabling net services

hey
i am having problems using the "net" command when i run cmd
when "net /?" is typed, the various 22 services are displayed, including "send" and "view"
the problem that i am having is this: i can't use "net send" or "net view"

1)when i use "net send"
>i type "net send localhost hi", and i get "the service name is invalid, more help is available by typing net helpmsg 2185"
>however, if i type "net send", it displays the syntax, not an error message.
>i type "net helpmsg 2185" and it tells me i have tried to start a service that is not configured on this computer.
>i have tried to start the service by typing "net start messenger", however it tells me "the service name is invalid, more help is available by typing net helpmsg 2185"
>i have also gone in the computer management console>services and applications>services, however there is no messenger in there.
>>>my question is how do i enable messenger so that i can use the "net send" command?

2)when i use "net view"
>i type "net view", and i get "system error 1060 has occured. the specified service does not exist as an installed service"
>>>my question is how do i enable the net view service so i can use it?
thankyou
Avatar of cempasha
cempasha

try typing "net name"
if the service is not running, it will make sure that it is running.. If there is a problem then it wont run "net name" but probably it will do the job
Avatar of abracadabra01

ASKER

i typed "net name" and got the following "the service name is invalid, more help is available by typing net helpmsg 2185"
abracadabra.

when you type net send, you have to do this.

// net send SDK-XP-OS-PR hi, testing showing cadarabra over here how to use this command. //

Where as the sdk is the domain or workgroup name, XP-OS-PR is the machine name.
or if you have a workgroup. then

type in teh machine name only. e.g.

// net send XP-OS-PR showing tesitng net commands 2 //

so if your machine name is abracadabra23352 that you want to send a message to.
then you type this in.

// net send abracadabra23352 waz up fool ? //

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

as for the net view command.

this is how you do it.

net view                             and  then press enter.
you have to have a network to use this command.
either a P2p or a domain one. cannot use htis on just one machine.

to see the activities from a single mach do htis

netstat -  //use the switches below as you want///

  -a            Displays all connections and listening ports.
  -e            Displays Ethernet statistics. This may be combined with the -s
                option.
  -n            Displays addresses and port numbers in numerical form.
  -o            Displays the owning process ID associated with each connection.
  -p proto      Shows connections for the protocol specified by proto; proto
                may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
                option to display per-protocol statistics, proto may be any of:
                IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  -r            Displays the routing table.
  -s            Displays per-protocol statistics.  By default, statistics are
                shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
                the -p option may be used to specify a subset of the default.
  interval      Redisplays selected statistics, pausing interval seconds
                between each display.  Press CTRL+C to stop redisplaying
                statistics.  If omitted, netstat will print the current
                configuration information once.

let me know what happen when you do these commands. they shuld owrk.

remember if you don't have a net work you will get err on netview
any kind of network would do.
my computer is a single machine, connected to the internet using a 56k dialup modem
its name is "alpha"
its workgroup is "workgroup"
i tried:
"net send workgroup-alpha test"
"net send alpha test"
"net send localhost test"
they all result in the same "the service name is invalid, more help is available by typing net helpmsg 2185"

i tried:
"net view" and got "system error 1060 has occured. the specified service does not exist as an installed service"
"net stat" does work, and displays the current network connections

i think the problem lies in that my computer doesnt have Windows Message Service installed. i went into computer management console>services and applications>services, and there is no messenger in there.
thanks for takin the time to help.
Dear abracadabra.

in this case you cannot use net view command.
cuz you are a stand alone comp, net view is used to see the net connected services on a network.
hence I said you have to have a network to use this command.

have you disable the services on your comp ?
if not, then do this.

Start -->run-->cmd--> type this in, exclude the quotes "net send alpha hahahhahhahaah see it does work"
you will get a message from your own.

to use netstat, you follow the same instructions I posted, remember netstat is the one that is all one word.

Start-->Run-->cmd--> Type this in, exclude the quotes "netstat -a"
you shuld get everything, but you have to be connected to the web.
and then to see the packets you type this in "netstat -s"

Note there is a space between the tat and the -a.
as well as the -s
Here is a good way to figure out for sure whether the service is running.

1)  Open a command prompt.  DO NOT go to RUN and type cmd or command, for some reason the net send command doesn't work if you do this.  Instead go to START > Programs > Accessories > Command Prompt (yeah, I know both start the same program, I have no clue what the difference is, but it will only work for me if I do it this way).

2)  Type ipconfig to get your local ip address.  If you are a single user (like I think you said) connected directly to the internet, it should be your internet IP address.

3)  Type net send ###.###.###.### hello and see if that does anything.

For instance, since I have a router and am on a network, I have a local IP for my computer, which is currently 192.168.0.102.  If I type net send 192.168.0.102 hello it works.

By default the XP messenger service is installed.  The only way it wouldn't be installed is if you manually took it out with the help of Microsoft (MS now offers a way to do this so users do not get bombarded with spam in the form of messenger net sends)

If it still can't find the service, try this (I'm not sure if it's already been posted, I don't see it...)
go to run, type services.msc /s and check out your computers services.  Look specifically for a service called "messenger" and read the description next to it, it should look like the one you are looking for.  If it is there, make sure it's enabled to start automatically at the OS Startup.

If it's not in this list at all, and you can't find anything that looks like it, then I don't know how else to help you.

-Jonnyz :)
Well, here's an updated response.  Using Run > cmd lets me use the net send command only after I used it for the first time going through the start menu.. quirky, but its the same way on every computer I have used (we used to use this to talk in one of my computer classes... it was the same quirky bug, you have to go through the start menu to initialize the service, or something...)

-Jonnyz
or you can go to start, run , cmd, and in the prompt type "net start messenger"

and that's it.
Steven, he's tried that already ;)
Just so were all clear here abracadabra01 is saying messenger is not a listed service in other words it does not exist on abracadabra01 machine. A service cannot be started if isn't there to begin with so the net command won't do nothing but return errors. Now why the messenger service is not there escapes me because it bundle inside the services.exe.

I doubt if this will have any affect but

Start > Run sfc /scannow
hey, waz up One.

hey, go to my site.
i just updated it.
go to my profile and you'll see.the link to go there.
just a warning, it will open in the same window so you might want to right lick.

as for abracadabra.
HUmmm. either you have done some mod to your system or uninstalled Windows Messenger, that will cause that service to be remove sometimes. not all the times, but it was a bug in Whistler when I beta it.

please make sure that it is there before we put any further comments into this post.

to see if it is still there.

Start
Run
in the run query type
services.msc
no switches.
in the list pop up.
sor thte list by clicking on teh header tab.
where it say "name"
make sure the arrow point up.
that way it sorts it by ascending order so we all can nav better,
now, go down to the M section, and find "messenger".  If it is there/
right click, and porperties,
go down to start up type, and click and select auto
go to the logon tab, and select local system......
make sure that it is slected for the profile 1. //assuming that you have not change the profile for your hardwares.  Hey, One, this is another way to by pass that god darn check sum thing that MS put into Xp and upcomming checksums fo rthe hardwares, when you change more than 3 pieces it will make you activate it all over again.//
ok, now that you have done this.


go to these.

make sure you net bios is enable, but disable the web netbios./ you don't want wannabees hack your comp.
then go see if your RPC service is enable // the same way you got to messenger.
and make sure you have name your computer and you type in the correct computer name.

and if your messenger service is not there, then I'll extract my services out and you can DL it and I'll have the instructions on how to replace it into your current one.
but try those

In Windows XP with Service Pack 1 (!) you can add the Messenger Service through control panel->add/remove programs->windows components.
thanks everyone for your help, it is really appreciated.
i tried everyones suggestions, however nothing worked.
i double checked in the services console, and there is no messenger in there whatsoever
therefore i believe it is nowhere to be found on my computer, thus it doesnt work.
i went  add/remove programs>windows components, and tried to install "message queuing",
however during its installation it says "The MSMQ Service cannot be started. Error Code: 0x433. Error Description: The dependancy service does not exist or has been marked for deletion". It then fails to install.
therefore i'd like to take up steven's offer of downloading it from him.
btw are you sure u can't use the "net view" command on a computer using a dialup modem? its just if heard otherwise from other sources.
thanks again everyone for your help
yes, am sure, that you can not use netview on a single computer.

unless you have a network, then you can use that.

as for MSMQ, it is mostly used for server sending messages.
MSMQ is the answer from MS to WebSphere.
it is use for servers and network, like  a BSD to Exchange or SQl or different servers and stuff like that. Message Queuing applications running on source computers send messages to queues, where they are temporarily stored, and applications running on target computers retrieve messages from queues

note:
The Active Directory Users and Computers snap-in is not available in Windows XP Home Edition.


ok, now go and sign into windows Messenger so i can transfer you the WinXP Pro
and use that service on your comp cuz you'll have to make a CD then run the install the additional components from the CD.
after that you can use it.
and then do the below.
in other words, If you have XP Home, you do not have AD so no net command for you.
unless you get Pro. or install components from Advance Server, or MS SQL or one of the server extension.
this is the reason why I never use Home version of anything cuz home version are for babies, little toddlers to use til they grow up to highschool.


Only do this after the above, otherwise this is void.

To add an extension snap-in to an MMC console
Open a saved console in author mode by doing one of the following:
Right-click the .msc file, and then click Author.
Click Start, click Run, type mmc path\filename.msc /a, and then click OK.
On the File menu, click Add/Remove Snap-in, and then click the item that you want to extend.
On the Extensions tab, in Available extensions, select the check box next to the extension you want to add, and then click OK.
 Notes

To add every extension available for a given item, on the Extensions tab, select the Add all extensions check box. Conversely, if you want to add only certain extensions, clear this check box.
You can also use this procedure to remove extensions from a console by clearing the check box for an extension that was previously selected.
*** email address removed by Netminder, EE Admin ***
Hey, I just RA to Abracadabra comp it is on 56K.
it disconnected me in the middle of working

yeah, but hte thing is, i could not get anything doing, cuz he has like four spams running.

Save.exe
BDADMA.exe
CD_Dilla.exe
and something else.

PLus he has six Loclhost running.

and the Kernel time is at 90%.
CPU is ate up.

I cannot do anything else other than recommend him to remove these spywares, and spam SOBs, cuz they are draining him.

then follow the previous post
hey, would someone, sramesh or Crazy, or Ted could  one of you ge tthe link for Dling spyware removers to Abracadabra please/

he need atleast one desperatly
ASKER CERTIFIED SOLUTION
Avatar of Steven_Khieu
Steven_Khieu
Flag of United States of America 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
Avatar of sramesh2k
i can send u a registry script which should take care of messenger service problem.

to remove the spyware, download adaware from www.lavasoftusa.com
or spybot s&d. These two are good.
Steven_Khieu / abracadabra01,

It is a violation of Experts Exchange's membership guidelines to award points for a solution to a problem when that solution is arrived at outside of EE.

Since you're both relatively new users, I'll let this be a warning, pending the closure of this question.

Netminder
EE Admin
thanks for your help sramesh

im still having probs however
in the services console, i right click and go to properties, it comes up with the error:
"Configuration Manager: The specified device instance handle does not correspond to a present device"

if i try to start the service in the services console, i get:
"Could not start the Messenger service on Local Computer
Error 1075: The dependancy service does not exist or has been marked for deletion"

thanks again
Hey Sramesh.


that script did the job.
except now he is telling me that the dependencies are not there.
from what I can recall.

these are the dependencies. RPC and netbios.
am sure am missing something else. am too tire. to look for it. it is in services.
been up for hours, need regeneration.

abracadabra01:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.