Question

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

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top