msg.exe windows 7 woes

Discussion in 'Windows 7' started by fubar121, Aug 5, 2010.

  1. fubar121

    fubar121 MDL Novice

    Nov 23, 2009
    48
    1
    0
    Hey all
    I am trying to send a msg to user on my homegroup with windows 7 msg.exe
    command
    I have 4 laptops all wireless all on the same homegroup. I am trying to send a msg like "dinners ready" or "pick up the phone." to a user.

    The command:
    msg /server:Jay-PC Jay "I like Pizza"

    The Result:
    Error 5 getting session names

    I have verified the command it works to send a msg on my machine to my machine and i have verified the users. I have googled it and the only answer i can find is to edit my registry as shown below.

    HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server

    Name : AllowRemoteRPC

    Type : REG_DWORD

    Value : 1

    And still i get the same error. Anyone know how to fix this error?


    Any help would be grand.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. DARKOR04

    DARKOR04 MDL Tester/Developer

    Jul 5, 2010
    495
    887
    10
    MSG {username : sessionname : sessionid : @filename : *}

    [/SERVER:servername] [/Time:seconds] [/v] [/w] [message]

    username = identifies the specific username.
    sessionname = thename of the session.
    sessionid = the id of the session
    @filename = identifies a file containing a list of usernames.

    * = send message ot all session on specified server
    /SERVER:servername = server to contact (default is current)
    /TIME:seconds = time delay to wait for receiver to acknowledge msg.
    /V = display information about action being performed.
    /W = wait for reponse from user, useful with /V
    message = message to send. if none specified. prompts for it or reads from stdin.
     
  3. fubar121

    fubar121 MDL Novice

    Nov 23, 2009
    48
    1
    0
    Hey ya thanks but um I understand the syntax and how to use it. I know how to get help on the command but you really just spammed the results of a miss typed command.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...