Installing a Network Printer via Command Line

Recently I had to install a printer on a lot of workstations in a short amount of time. I came up with this script to make things a lot faster. Below the script breakdown is a link to the script to copy/paste. I deployed it via our remote management software (GFI Max), but it could be used with PsExec, group policy, or a logon script as well.

All of the VBS files referenced are located at “C:\Windows\system32\Printing_Admin_Scripts\” on all Win7 and XP machines.

Script Breakdown
Script Breakdown

Here is a link to the script in plaintext.

@echo off
REM This line removes the port if its already added
cscript "\\master-server\data\test\scripts\Prnport.vbs" -d -r IP_10.0.0.205

REM This line removes the printer if its already added
cscript "\\master-server\data\test\scripts\Prnmngr.vbs" -d -p "Brother Color Laser Printer"

REM This line adds the port
cscript "\\master-server\data\test\scripts\Prnport.vbs" -a -r IP_10.0.0.205 -h -o raw -n 9100

REM This line adds the printer driver
cscript "\\master-server\data\test\scripts\Prndrvr.vbs" -a -m "Brother MFC-9970CDW Printer" -i \\master-server\data\test\drivers\32\brpoc10a.inf -h \\master-server\data\test\drivers\32

REM this line adds the printer and specifies which driver/port to use
cscript "\\master-server\data\test\scripts\Prnmngr.vbs" -a -p "Brother Color Laser Printer" -m "Brother MFC-9970CDW Printer" -r IP_10.0.0.205

Fun at the Denver Zoo

Maggie and Daddy

Maggie and Daddy

Panasonic KX-TVA50 USB Drivers

Recently, we picked up a client that had a voicemail/phone system setup by another IT provider in what seems like the early 1900’s. However, it works and if it ain’t broke, don’t fix it.

Everything was fine until the computer that they used to control the voicemail system (Windows XP) died and we replaced it with a new Windows 7 machine. We were lucky enough to still have the old install disc for the voicemail system so we managed to get the software to interface with the system installed without issues. The software worked great but couldn’t talk to the Panasonic unit via the USB cable. Turns out, it needed drivers. No problem, right?

Wrong. Panasonic is very controlling about their drivers. In particular, phone system drivers. Their website offers none. Their customer support live chat can’t help with phone systems. Their toll-free number requires a dealer and tech code to even speak to a human for support. Since we aren’t a Panasonic reseller, we couldn’t get drivers from them. Even using the Google machine turned up nothing aside from a few telecom companies that wanted you to pay to have them install the drivers for you. Luckily, I know a few phone service companies in the area and one of them sent me over the drivers for it.

So I offer to you a, hopefully, easier way to find these drivers if you ever find yourself needing them.

Panasonic KX-TVA50 USB Drivers – 424KB – For: Windows 2K, XP, Vista, 7, Server 2003, Server 2008

The kiddos!

Maggie, Layla, Hunter

My smallish humans!

Hello world!

This is going to be my new website for posting blogs, pictures, projects, and how-to’s.