Solved

Remove/Add printers locally

Posted on 2014-03-17
5
311 Views
Last Modified: 2014-04-04
Hi all. I apologize if this question was answered in a previous post. I'm new at my current employer.

Current scenario: 6 teams of 20 users per team  print to 4 printers. The printers are locally installed as TCP/IP  port on the computer, therefor making each computer it's own print spooler and if a print job hangs up, it will only affect that single computer/user, not the rest of the team members.

6 new printer will replace the 4 old printers. Would like to remove the current 4 locally installed printer automatically, via group policy or other mean. I would hate to go to 120 work station to remove the printers manually.

As for installing the 6 new printers, all users will have all 6 printers installed in their printers list. What's the best practice? Implement the 6 new printers locally as we currently have the 4 printers installed or build a print server. Locally has worked well except when a user needs a new printer added, I have to manually install it locally.
I'd like to automate this installation process, not looking forward to install 6 printers on 120 users.

All 6 printers are the same model.

Thank you. Much appreciated.
0
Comment
Question by:Sorin_V
5 Comments
 
LVL 10

Expert Comment

by:Scott Thomson
ID: 39935889
Personally i would go with a login script to install the printers. unfortunately i do not know of any way to remov a locally installed printer.

I would send out an email with instructions because from previous efforts there is no way to remove the driver / printer even with a script unless its run locally.

the login script can be vbs - and yes use a print server. it allows you to control the printing and specify things like lockdowns on colour when management ask.. and one day they will i assure you.
0
 
LVL 5

Expert Comment

by:NARANTHIRAN
ID: 39936099
Check the below link..

http://blogs.technet.com/b/heyscriptingguy/archive/2005/12/01/how-can-i-remove-all-the-local-printers-from-a-computer.aspx
or
You can even take the 120 system using remote desktop or VNC and uninstall the printer...
0
 
LVL 6

Assisted Solution

by:Sasa Kranjac
Sasa Kranjac earned 166 total points
ID: 39936234
Take a look at this article, too.:

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_28361665.html

With some minor changes you can adapt it to your needs.
0
 
LVL 3

Assisted Solution

by:SandeepWalve
SandeepWalve earned 334 total points
ID: 39939118
Use below for the Deletion of the Printer pretty easily.

Configure below for 4 server (1 Line for one Printer)

Save below in batch file. Save it as DelPrinter.bat

rundll32 printui.dll,PrintUIEntry /dl /n "NAME_OF_PRINTER" /q
rundll32 printui.dll,PrintUIEntry /dl /n "NAME_OF_PRINTER" /q
rundll32 printui.dll,PrintUIEntry /dl /n "NAME_OF_PRINTER" /q
rundll32 printui.dll,PrintUIEntry /dl /n "NAME_OF_PRINTER" /q

Use Psexec to execute this to all the Remote machines in one go. Save all Machine Name or IP one below the other in a Text file.

Machine1
Machine2
Machine3 like wise.
Save that file as MachineList.txt

psexec @MachineList.txt -c DelPrinter.bat >> C:\Output.txt

You must be using account which is Administrator on all the Machine
Keep DelPrinter.bat, MachineList.txt & psexec.exe at C: of your machine from where you executing this command.
Output.txt file will have data of the machines actioned, you will get list of machine which were having issues and which has completed. So for the pending ones you can action on them seperately.

Download PSTools (Psexec)
http://technet.microsoft.com/en-in/sysinternals/bb897553.aspx


Best choice to install printer would be use via Print Server. But if you do not have Print Server in your infra, we can do it via above same command which is been used to delete printer with some different syntax to install it. Give me sometime, I will provide answer for that too
0
 
LVL 3

Accepted Solution

by:
SandeepWalve earned 334 total points
ID: 39939137
There is a script which advise how to install printer over TCP IP.

You can use psexec like above to run the script like this on remote machines.

http://community.spiceworks.com/scripts/show/1060-script-to-auto-install-a-local-printer-using-tcp-ip
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Unable to connect to printer 6 87
canon dr 2010c duplex scan 8 122
Vista to Windows 7 + Epson 3170 Photo scanner and copier 8 86
Print Jobs Hangting Out For A Long Time 3 36
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question