"The server restarts at five, please save your work." Sending that to every computer in the office used to be one command. net send went away with Windows Vista, and the ways that replaced it are scattered across registry values, firewall rules and permissions that nobody documents in one place.
So here is the whole thing in one place, step by step. Steps 1 to 4 use only what is already in Windows. Step 5 is about my own program, and I say so plainly.
Step 1: Know what changed
- net send used the Messenger service, removed after Windows XP and Server 2003.
- msg.exe took its place, but it was designed for sessions on one machine or on a Remote Desktop host, not for a floor of workstations.
- Windows 11 version 24H2 and Windows Server 2025 disable remote mailslots by default, and Microsoft has deprecated the protocol. Several old net send and WinPopup style tools used mailslots, so a tool that went quiet after the 24H2 update probably died right here. Turning mailslots back on means re-enabling an old, insecure protocol on every PC, so we would not recommend it.
- msg.exe does not exist on Home editions of Windows. Everything below assumes Pro, Enterprise or Education.
Step 2: Message one PC with msg.exe
From a command prompt, as a user with administrator rights on the target:
msg * /server:PC-NAME /time:120 "The file server restarts at 17:00. Please save your work."
*sends to every session on that computer. Put a user name there instead to reach one person./timeis how many seconds the message stays on screen before closing itself.
If you get "Error 5 getting session names" or "Error 1722", the target is not accepting remote messages yet. That is step 3.
Step 3: Prepare the target PCs, once
On every computer that should receive messages:
- Registry value. Under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal ServersetAllowRemoteRPC(REG_DWORD) to1. By Group Policy: Computer Configuration > Preferences > Windows Settings > Registry, action Update. - Firewall. msg.exe reaches the target over SMB (TCP 445) and RPC. Allow inbound File and Printer Sharing (SMB-In) for the domain profile, for instance through the predefined rule group in Group Policy.
- Permissions. The sending account needs rights on the target. A domain admin account works without further setup.
Restart the target after changing AllowRemoteRPC, or at least sign out and back in.
Step 4: Send to many PCs at once
msg.exe reaches one computer per command, so you loop over a list. With pcs.txt holding one computer name per line:
for /f %c in (pcs.txt) do msg * /server:%c /time:120 "The file server restarts at 17:00."
Use %%c instead of %c when you put that inside a .cmd file.
If WinRM is already enabled in your domain, PowerShell runs msg locally on each PC and does not need AllowRemoteRPC at all:
$pcs = Get-Content .\pcs.txt
Invoke-Command -ComputerName $pcs -ScriptBlock { msg * /time:120 "The file server restarts at 17:00." }
Where this approach runs out: nothing keeps a list of PCs for you, the people who receive the message cannot reply, there is no record of who actually saw it, and it needs admin rights. That is fine for an occasional broadcast from IT. It is awkward when colleagues want to send each other notes all day.
Step 5: When people message each other, not just IT
If the requirement is "anyone can send a note to a colleague, to a team or to everyone", a small LAN messenger is less work than scripts. Look for one that needs no server and no accounts, works without internet, and can be deployed silently.
Disclosure: ShixxNOTE is my own program, and it works this way:
- Each PC finds the others on the local network by itself and keeps a list, with saved groups such as "Sales" or "Everyone".
- A message arrives as a sticky note on the desktop. The recipient can reply, and the sender sees when a note was not delivered and why.
- Notes go straight from PC to PC over one TCP port (2000), optionally encrypted with AES-256. No server, no cloud account, no internet connection.
- It does not use mailslots, so Windows 11 24H2 changes nothing for it.
- Silent install for Intune, PDQ or a GPO startup script, with the firewall rule included. One licence covers a whole LAN; a Business licence covers every site of a company.
In short
For the occasional announcement from IT, msg.exe with AllowRemoteRPC, or PowerShell over WinRM, does the job with built-in tools and costs nothing. For everyday notes between people, a serverless LAN messenger avoids the admin rights, the scripting and the no-reply limitation. Either way, do not build anything on remote mailslots after Windows 11 24H2.
There is a 30-day trial if you want to compare it against the msg.exe route yourself, and a longer piece on replacing net send on Windows 11.
References: Microsoft Tech Community, "The beginning of the end of Remote Mailslots" (2023); Microsoft Learn, msg command reference and "SMB security hardening".
Best regards,
Ozren Širola
ShixxNOTE program author













