Advertisement
CaptainTech

Windows Vista/Seven Messenger to a Specific Username

Oct 11th, 2015
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.95 KB | None | 0 0
  1. :Start
  2. @Echo Off
  3. Color A
  4. Echo: Please Note, that MSG does only work with Windows Vista and 7; Windows 8, 8.1 and 10 are not Supported, because they have removed the messenger-feature. For Windows XP, use NET SEND.
  5. Pause
  6. :1
  7. Echo OFF
  8. @Net Start Messenger
  9. @REG.EXE ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v AllowRemoteRPC /d "1" /t REG_DWORD /f
  10. CLS
  11. ECHO:The Chat is now activated. Your Computer's Name is:
  12. HostName
  13. @echo off
  14. :A
  15. Echo Your Computer:
  16. HOSTNAME
  17. Echo:
  18. set /p S="Which Computer should recieve your message? Computername (All logged users):"
  19. set /p u="Which logged user should recieve your message? Windows-Username: "
  20. set /p m="Please enter your message here: "
  21. @MSG %U% /Server:%S%  %m%
  22. ECHO:
  23. Echo:Message to %s% Sent from
  24. hostname
  25. ECHO:
  26. ECHO: Sent Text at %DATE%; %TIME% to %u%:
  27. Echo %M%
  28. ECHO:
  29. echo Press any button to send another message.
  30. Pause >NUL
  31. Goto A
  32. :: Made by Skype: Captain.TechLord
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement