我在c ++代码中使用了以下wmic命令在远程系统中安装应用程序
/node:192.xxx.xxx.xx /user:"Administrator" /password:"Murali678"" product call install true,"","\\xxx.xxx.xxx.xx\admin$\Murali\Myapplication.msi"
但我收到了错误消息
, - Alias not found.
所以我尝试在命令中为远程机器的密码添加转义序列。所以我做了以下。
1)
的 /node:192.xxx.xxx.xx /user:"Administrator" /password:"Murali678\"" product call install true,"","\\xxx.xxx.xxx.xx\admin$\Murali\Myapplication.msi"
输出
ERROR:
Description = Access is denied.
2)
的 /node:192.xxx.xxx.xx /user:"Administrator" /password:"Murali678^"" product call install true,"","\\xxx.xxx.xxx.xx\admin$\Murali\Myapplication.msi"
输出
, - Alias not found.
先谢谢