Loading

Wednesday, July 29, 2009

login script vbscript printer mappings

Create a file called file.vbs, then copy and past the content below
the pound signs w/ appropriate information to map network printers
Reference it in the user account after placing it under %NETLOGON%
##############################################

on error resume next

Set WshNetwork = Wscript.CreateObject("Wscript.Network")

wshNetwork.AddWindowsPrinterConnection "\\server\printershare"

WSCript.Quit

No comments:

Post a Comment