Drucker Verbinden VBScript
Hallo,
Kleines Problem: Mein Script funktioniert in meiner Domäne der Drucker wird verbunden.
Aber wenn ein PC auserhalb der Domäne den Drucker verbinden will geht das nicht, kann ich dem Script wo den Domänen-Namen und Benutzernamen u. Passwort angeben ??
StrPrintSRV = "Servername"
Set WshNetwork = Wscript.CreateObject("Wscript.Network")
WshNetwork.AddWindowsPrinterConnection "\\" & strPrintSRV & "\druckerfreigabe"
Set WshNetwork = Wscript.CreateObject("Wscript.Network")
WshNetwork.AddWindowsPrinterConnection "\\" & strPrintSRV & "\druckerfreigabe"
Please also mark the comments that contributed to the solution of the article
Content-Key: 92889
Url: https://administrator.de/contentid/92889
Printed on: April 26, 2024 at 07:04 o'clock
2 Comments
Latest comment