Jump to content

Recommended Posts

Posted

Hi All,

 

I currently have server 2008r2 running, I have a fe XP client machines who require a printer installing, I written the following script but the printer is not showing for the user?? am I missing anything???

 

 

On Error Resume Next

 

Dim Net

 

Set Net = CreateObject("WScript.Network")

 

Printer1 = "\\rum-ps-01\ASD"

 

Net.AddWindowsPrinterConnection Printer1

 

Net.SetDefaultPrinter Printer1

 

I have created a GPO and set the user logon script to the one above

Posted (edited)
Try assigning the above script to the machine startup scripts. I am assuming that printers are assigned by room

 

I'm pretty sure this type of printer connection is a per user connection, so it'll have to run under a logon script.

 

@rpanchal

The script looks right. If you take the On Error Resume Next line out does it through up an error code?

Edited by Duke5A
Posted

If you are deploying the printer to a 32bit windows xp client and the driver doesn't exist on the client or the server how do you expect it to install the driver?

 

Ben

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...