Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1874
  • Last Modified:

Replicating printers between windows servers.

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
jskfan
Asked:
jskfan
  • 5
  • 4
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
jskfanAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
the commands you need to use are detailed in the link I provided.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
jskfanAuthor Commented:
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
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
jskfanAuthor Commented:
<<<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
 
jskfanAuthor Commented:
I will check this when I get a chance:
http://www.robvanderwoude.com/printtools.php
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
*** 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
 
jskfanAuthor Commented:
Thank you Andrew!!
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now