我对VBscript很陌生我在一个域下工作。我希望能够通过让他们运行这个脚本来在每台用户机器上安装打印机。但用户没有运行脚本的凭据。如何使vbscript以本地管理员身份运行
有我添加登录凭证中的VBScript
set objNetwork = Createobject("WScript.Network")
'objNetwork.AddwindowsPrinterConnection "\\print-serv\HP LaserJet 4350 PCL 5 it"
objNetwork.AddwindowsPrinterConnection "\\print-serv\uniFlow Secure Print"
'objNetwork.AddwindowsPrinterConnection "\\print-serv\Brother HL-4570CDW color"
wscript.echo "Printers have been Mapped
你不能使用GPO进行部署吗? –
不,我无权访问组策略。 – user3416223