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
精彩评论