rpanchal Posted September 14, 2012 Posted September 14, 2012 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
plexer Posted September 14, 2012 Posted September 14, 2012 Do you have the correct 32bit & 64bit driver installed on the print server? Ben
tosh74 Posted September 14, 2012 Posted September 14, 2012 Try assigning the above script to the machine startup scripts. I am assuming that printers are assigned by room
rpanchal Posted September 14, 2012 Author Posted September 14, 2012 on the print server under print management all i have under enviroment is windows x64
Duke5A Posted September 14, 2012 Posted September 14, 2012 (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 September 14, 2012 by Duke5A
plexer Posted September 14, 2012 Posted September 14, 2012 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now