我有一个脚本将.msi文件安装到远程工作站列表中。 正常工作到XP机器。 当试图运行到Windows 7机器时,我现在得到错误代码1603。
psexec -u "domain\username" -p "password" @\\domain\path\ComputerList.txt msiexec /i "\\domain\path\InstallFile.msi" /passive /qn
这是一个权限错误? 用户(我)是Windows 7工作站上的pipe理员。
尝试使用psexec的-h开关。 来自psexec的帮助:
If the target system is Vista or higher, has the process run with the account's elevated token, if available.
这可能会解决UAC发生的任何问题。