开发者

Is this right Script?

开发者 https://www.devze.com 2023-01-30 11:05 出处:网络
Set objNetwork = CreateObject(\"WScript.Network\") objNetwork.AddWindowsPrinterConnection \"\\\\my_server_name\\my_printer_name\"
Set objNetwork = CreateObject("WScript.Network") 
objNetwork.AddWindowsPrinterConnection "\\my_server_name\my_printer_name"

hello all,

i used the script written above in a windows server 2003 (group policy management) running in a virtual machine then i used the command "gpupdate /force", but when i go to开发者_如何学编程 the client machine nothing happend


I found it, what was wrong is I should put the script in Default logon folder in the server

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号