Link to home
Start Free TrialLog in
Avatar of marjontrav
marjontravFlag for United States of America

asked on

Login script won't map printers on Windows 7

I have a login script that we use to map drives and printers on the domain.  It works fine on XP machines but not on Windows 7 clients.  Here is a what  code I am using in the VB Script:

'Install Printers
WSHNetwork.AddWindowsPrinterConnection "\\server1\KM-4035-3"
WSHNetwork.AddWindowsPrinterConnection "\\server1\KM-4035-2"
WSHNetwork.AddWindowsPrinterConnection "\\server1\BrotherH"
WSHNetwork.AddWindowsPrinterConnection "\\server1\LexmarkC522"
ASKER CERTIFIED SOLUTION
Avatar of damond
damond

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of marjontrav

ASKER

Yeah, with Vista it would at least prompt to install the printer driver but then again, I didn't install many vista machines on my network.  Thanks!
Avatar of damond
damond

One last thought, Another thing to try is using GPO preferences to deploy your printers. User side config or a computer side config I believe. This helps elminate scripts and it's incrediably easy to manage.
Actually looking in GP I don't have that path.  Our DC is running 2003, can this be done in 2003?