Hey Guys,
I have been reading this really useful thred that I have also implemented on my network (hope you don't mind
)
Just wondering if anyone knew the script I would need to us if I was to disconnect the printers on log-off?
I have tried the following script, but it not work
Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.removeWindowsPrinterConnection "\\pn06\HP_Top_of_Room"
WshNetwork.removeWindowsPrinterConnection "\\pn23\Epson_Top_of_Room"
Can someone please point me in the right direction?
Ta
Matt