Quantcast
Channel: Symantec Connect - Endpoint Management
Viewing all articles
Browse latest Browse all 7163

Map a network printer W7

$
0
0
I need a solution

We have tried to map a network printer via vbscript like this:

 

Set WshNetwork = CreateObject("WScript.Network")

WshNetwork.AddWindowsPrinterConnection "\\server\print"

Set WshNetwork = Nothing

 

It works fine in Windows XP, but not in Windows 7. If we run the script with an admin account in windows 7, it works fine, but if we execute it with SYSTEM account, it fails (SYSTEM account is symantec credentials). There is no output error code and we have tried to disable User Account Control.

 

Any ideas?

 

Thanks.


Viewing all articles
Browse latest Browse all 7163

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>