Solved

Replicating printers between windows servers.

Posted on 2014-07-22
9
1,161 Views
Last Modified: 2014-07-26
We have 2 windows 2008 servers, there are Vmware VMs we use them as print servers.

1- I want them to replicate , so that when I install  new print drivers on one server, I do not have to d the same thing on the other server, it will replicate automatically..
I am not sure if this requires a script.

2- I also want to back up the print drivers, in case a print server crashes


Thank you
0
Comment
Question by:jskfan
  • 5
  • 4
9 Comments
 
LVL 117

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE)
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 40211362
Are these Windows 2008 or Windows 2008 R2 ?

Why not use the Print Server migration tool.

http://technet.microsoft.com/en-gb/library/cc722360.aspx
0
 

Author Comment

by:jskfan
ID: 40211449
I have heard of printbrm.exe

Apparently this tool will export the settings to a file and then import them.

How do you create a .bat file for those commands to make print server 1 identical to print server 2 ?
0
 
LVL 117
ID: 40211513
the commands you need to use are detailed in the link I provided.
0
 

Author Comment

by:jskfan
ID: 40211693
I saw the commands, but they should go in a batch file and the batch file will be scheduled to run automatically at certain time.

I gave example of Printserver1 and Printserver2 , I would like Scripting Guy Expert, to put the script in a batch file for me.

Thank you
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 117
ID: 40211898
I would use the Printer Migration Tool, after you have installed new drivers on Print Server1, then run the Printer Migration Tool, and then use this on Print Server 2.

I'm not sure you will be able to full automate this function.

You may have more milege, in maintaining a single Print Server 1, and then clone and sysprep, rename and rollout a Print Server 2.

a batch file is like this

Printbrm -s \\Printserver1 -b -f Printserver1.printerExport

Printbrm -s \\Printserver2 -r -f Printserver1.printerExport

Run As Domain Administrator, and ensure filewall are correct.

This will ensure they are identical.

I would like Scripting Guy Expert, to put the script in a batch file for me.

I would recommend you open a new question for the above, to get the Attention of the Powershell scripters.
0
 

Author Comment

by:jskfan
ID: 40211959
<<<I would use the Printer Migration Tool, after you have installed new drivers on Print Server1, then run the Printer Migration Tool, and then use this on Print Server 2.>>>

*** I agree, it should be good enough , but sometimes you create new queue and install drivers on printserver1, and you get distracted and forget to install the same thing on Printserver2
That would be helpful, if there is a toll that would compare both print servers to find out if they are equally configured.
I had experience with Print Server in Windows 2008 Cluster, it was nightmare……….

*** as of Disaster recovery (Backup/Restore) of Print servers, I may still need to use Printbrm.exe tool…
If I understand this command will export all the print server settings, print queues, print drivers of each print server  to files named: Printserver1.printerExport and Printserver2.printerExport

Printbrm -s \\Printserver1 -b -f Printserver1.printerExport
Printbrm -s \\Printserver2 -b -f Printserver2.printerExport

How do you Restore (Import), the backup in case of one server crashes and you have to rebuild it, assuming Printserver1 and Printserver2 are not synched.
0
 

Author Comment

by:jskfan
ID: 40211979
I will check this when I get a chance:
http://www.robvanderwoude.com/printtools.php
0
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
ID: 40212165
*** I agree, it should be good enough , but sometimes you create new queue and install drivers on printserver1, and you get distracted and forget to install the same thing on Printserver2
That would be helpful, if there is a toll that would compare both print servers to find out if they are equally configured.
I had experience with Print Server in Windows 2008 Cluster, it was nightmare……….

Change Control and Documentation, and part of your procedures, will cure that issue.

*** as of Disaster recovery (Backup/Restore) of Print servers, I may still need to use Printbrm.exe tool…
If I understand this command will export all the print server settings, print queues, print drivers of each print server  to files named: Printserver1.printerExport and Printserver2.printerExport

Correct.

How do you Restore (Import), the backup in case of one server crashes and you have to rebuild it, assuming Printserver1 and Printserver2 are not synched.

look a the commands....

EXPORT
Printbrm -s \\Printserver1 -b -f Printserver1.printerExport

IMPORT
Printbrm -s \\Printserver2 -r -f Printserver1.printerExport


b - backup
r - restore

!!!!
0
 

Author Closing Comment

by:jskfan
ID: 40221961
Thank you Andrew!!
0

Featured Post

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now