How to use Net Send: in Windows 10/11, in CMD, Error 5

How to use Net Send: in Windows 10/11, in CMD, Error 5

Microsoft Windows provides an effortless method for sending messages to other computers on the local network, called Net Send. In this article we will show you how to make the most of this feature.

How to send a message to another PC on a local network?

If you wish to send a message to another computer in your network, follow these steps:

  • Start command prompt (cmd) – type cmd in the searchbox and run the app
  • Type the following command as:
msg /SERVER:DestinationPC * /TIME:60 “This is the message to be sent to a PC named DestinationPC and closes in 60 seconds."
  • You will need to replace DestinationPC with the name of the desired PC (you can find this in the list of computers that are currently sharing your network, if you don't already know the PC name).
  • Now, replace the value for TIME with how long you want the message to appear on the other screen for. For example TIME:30 for 30seconds
  • Then replace the text between the quotation marks and the message you want to send.
  • Finally, you can hit enter, and the message will be sent.

How to use Net send to send messages?

Here is the first alternative way of sending messages that may work if you have an older version of Windows. Here's how:

  • Click Start > Run.
  • Type cmd, and press Enter
  • In the window that opens, type Net send followed by the computer's name to which you wish to send the message.
  • Next, enter the message. For example, the format should resemble "Net send PC01 can you read this message?"

How to send messages with cmd prompt?

It is easy to send messages through cmd prompt to other systems here is the answer first we have to set our systems messenger ACTIVE. For it, follow these steps:

  • 1. Go to RUN
  • 2. Type
    services.msc
  • 3. Scroll down and right click on MESSENGER
  • 4. Select PROPERTIES
  • 5. Then for enabling it go to STARTUP TYPE and select AUTOMATIC
  • 6. Then OK

And this should be performed on both sides (SENDER & RECEIVER). After that if you want to send message then do the following steps:

  • 1. Go to cmd prompt
  • 2. Type syntax as follows:
     net send <ipaddress of reciever>  <message to be send>

Ex:

net send 172.16.6.99 "hello" 

How to fix Error 5, Error 1825

When using the msg command, the following error may occur: Error 5 when getting session names or Error 1825 when getting session names.

These error messages indicate a failure in the connection to the recipient of the message. To correct these errors, you need to act on the side of the recipient. Run the command regedit to open the registry editor on the recipient's computer and navigate to:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server

Here change AllowRemoteRPC from 0 to 1.

Alternative solution

  • Run as Administrator: If you're getting this error while running an application or command, try running it as an administrator. Right-click on the program and select "Run as Administrator."
  • Check Permissions: Ensure the account you're using has adequate permissions for the action you're trying to perform. You might need administrative access.
  • Antivirus or Security Software: Sometimes, antivirus software can restrict access. Temporarily disabling it might help identify if that's the issue.
Do you need more help with Windows? Check out our forum!
Around the same subject

Windows 10