Project Description
This tool is used to create the BrmConfig.XML file that can be used for quickly restoring all the print queues using the Generic / Text Only driver
It speeds up the printer restoration process as we dont need to install all the drivers required on source/target to complete the restore process.

It also creates clean BrmDrivers.xml, BRMLMons.xml and PProcs.xml that can be used to speed up a failing print server migration.

System Requirements
Atleast .NET Framework 2.0
Administrator rights on the machine for doing the printer restore. The tool doesnt need any admin rights to execute.

Update:
We have a new KB 2636591 to improve the restore operation performance of Printbrm.exe in Windows 7 or in Windows Server 2008 R2
http://support.microsoft.com/default.aspx?scid=kb;EN-US;2636591

Please install this before trying the backup/restore.

How to use it
1. Take a backup of an existing print server using the command
c:\windows\system32\spool\tools\printbrm.exe –B –S \\oldservername -f c:\temp\Printerbackup.printerexport -nobin

2. Extract the printerbackup file to a folder using the command -
c:\windows\system32\spool\tools\printbrm.exe –R –D c:\temp\expand -f c:\temp\Printerbackup.printerexport

3. Put BRMC.EXE in the same location as BRMDrivers.XML i.e in c:\temp\expand

4. Run the file BRMC.EXE. The file will create the brmconfig.xml file that has the driver mappings. It will also create clean BrmDrivers.xml, BRMLMons.xml and PProcs.xml and puts them in the same directory.

5. Pack the modified files using the command -
c:\windows\system32\spool\tools\printbrm.exe –B –D c:\temp\expand -f c:\temp\newbackupfile.printerexport

6. Run the restore to the new server using the command -
c:\windows\system32\spool\tools\printbrm.exe –R –S \\newservername –f c:\temp\newbackupfile.printerexport -C c:\temp\brmconfig.xml

Example

If you start on 32bit server like this –

source.png

You will get all the queues migrated to 64bit server in less than 5 minutes.

target.png


Please note that the same process could take weeks to complete because for the queues to get migrated you would need all the 64bit versions for the 32bit drivers that you have installed on the source server.

Here is a blog that i have written with more information on the process of migration -
http://blogs.technet.com/b/askperf/archive/2012/04/03/migrating-print-queues-quickly-using-printbrm-configuration-files-and-the-generic-text-only-driver.aspx

Last edited Feb 14, 2013 at 2:03 PM by Digvijan, version 16