4.此时验证还是失败,把测试电脑和本机的防火墙全部关闭,把测试电脑的注册表同上也修改OK, 再次验证 MSG /server:192.168.1.201 * "Hello"运行失败,报错 192.168.1.201不存在或连接失败。。。最后找来找去,用GOOGLE 搜索发现了最终的答案 。。打开控制面板,双击凭据管理器,点击添加windows凭据,第一行写测试电脑的IP地址,第二行写测试电脑的用户名,第三行写测试电脑的密码,重启电脑,运行--cmd-------MSG /server:192.168.1.201 * "Hello" ------------->>> 运行成功。。。
Google 搜索的最终答案(英文的,有点英文基础可以看懂的) 链接:http://social.technet.microsoft.com/Forums/windows/en-US/344aa708-5477-46f9-be4f-ad8b3b2348b0/sending-a-message-to-win-7-host-with-msgexe?forum=w7itprogeneral
1 go to credential manager
2 click add a windows credential
3 type the name of the computer, username and password of the computer that you are trying to contact
4 computers that you are trying to contact most be in the same network as you.
good luck it took me months to get it properly working
在以上的学习过程中,发现也可以,cmd 内输入192.168.0.201 然后回车,弹出对话框输入帐号和密码,
下面有一个勾选项,为记录帐号和密码,勾选此项,凭据管理器内自动添加对应的windows凭据。









