Solved

Windows 2008 R2 X64 Print Server Problem

Posted on 2012-04-05
21
5,539 Views
Last Modified: 2012-04-10
Hello,   Yesterday we experienced a bizarre situation.... we have 2 print servers.... both running Windows 2008 R2 X64 with all latest corrections.   We have a number of printers configured identically on both servers, for redundancy sake.   Users can print to any printer on either server.    Yesterday a number of our HP P2035N printers just disappeared from both servers.   Since I export the settings of each one, any time there is a change, I was able to do a Printer Migration on Server A and get the printers back.  However, Server B is proving much more difficult to recover.   Printer Migration, doing an import of its previously exported printer migration data, hangs at RESTORING PRINT QUEUES.   I have tried deleting all the printers that remained after the initial problem and importing again, still hangs.   Tried rebooting and importing again and still hangs.  Finally, remove the Print Server role from the server and rebooted.  Add the print server role back and tried to import the same printer migration file.  Hangs at Restoring Print Queses..... gets about 90% done and the status bar quits advancing.   Please advise.
0
Comment
Question by:rstuemke
  • 11
  • 10
21 Comments
 

Author Comment

by:rstuemke
ID: 37812928
Have also tried to import the identical information into Server B from Server A's printer migration export file......

Import Settings - finishes printer drivers

Hangs at same place..... Restoring Print Queues..... about 90% and stops.
0
 

Author Comment

by:rstuemke
ID: 37812934
Alo, if you have any idea why the printers disappeared in the first place, causing the problem, I would love to hear it....  thanks.
0
 
LVL 6

Accepted Solution

by:
Raquero earned 500 total points
ID: 37813011
Removing the print server role will probably not clean up the printer configuration since it is local to the server.

On the "bad" server open the print management console. Expand Print Servers and expand the local section (computername). Select Ports...delete all network ports (by default shows as IP address under Port Name column). Select Printers...delete all network printers. Reboot and try again.

If it still fails, can you manually re-create a printer? If so that may be the best option.
0
 

Author Comment

by:rstuemke
ID: 37813091
I deleted all the ports but one..... it will not delete, say it is in use.... this might be why it is hanging on the restore..... how do I clear it?
0
 

Author Comment

by:rstuemke
ID: 37813106
is there some what to edit the print management file and delete this port, and printer so it is not restored??
0
 
LVL 6

Expert Comment

by:Raquero
ID: 37813129
That is the likely culprit. Try shutting down the print spooler service (start-run-services.msc) and then delete the port. It will probably re-import fine after that.
0
 

Author Comment

by:rstuemke
ID: 37813214
Found a printer connected to the server that I cannot delete, that is on that port.
0
 

Author Comment

by:rstuemke
ID: 37813786
UPDATE..... got the rogue printer and port deleted.  Tried the import again from the original printer migration file for this server.....  still hangs on Restoring Print Queues
0
 
LVL 6

Expert Comment

by:Raquero
ID: 37813859
Should have asked this before....check the System and Application event logs, there should be a corresponding error.
0
 

Author Comment

by:rstuemke
ID: 37814233
Log Name:      Application
Source:        Microsoft-Windows-PrintBRM
Date:          4/5/2012 3:05:05 PM
Event ID:      31
Task Category: (3)
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      1730W6LG5FP1.calvaryspringfield.org
Description:
Printbrm.exe (the Printer Migration Wizard or the command-line tool) restored a driver for a different processor architecture than that of the destination computer. Printbrm.exe will attempt to locate and install a native version of driver SHARP AR-M620N PCL6 on destination Windows x64. Try to print to the print queue, and if necessary, manually install a native version of the driver.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-PrintBRM" Guid="{CF3F502E-B40D-4071-996F-00981EDF938E}" EventSourceName="PrintBrm" />
    <EventID Qualifiers="32770">31</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>3</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-04-05T20:05:05.000000000Z" />
    <EventRecordID>51458</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>1730W6LG5FP1.calvaryspringfield.org</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">SHARP AR-M620N PCL6</Data>
    <Data Name="param2">Windows x64</Data>
  </EventData>
</Event>



Log Name:      Application
Source:        Microsoft-Windows-PrintBRM
Date:          4/5/2012 3:05:05 PM
Event ID:      33
Task Category: (3)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      1730W6LG5FP1.calvaryspringfield.org
Description:
The driver in the backup file is for a different processor architecture than the destination computer, and Printbrm.exe (the Printer Migration Wizard or the command-line tool) could not locate and install a native version of the driver. Driver: SHARP AR-M620N PCL6. Destination architecture: Windows x64. Error: 0x80070057. The parameter is incorrect.
. Install a native version of the driver on the destination computer and then retry importing the print queues.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-PrintBRM" Guid="{CF3F502E-B40D-4071-996F-00981EDF938E}" EventSourceName="PrintBrm" />
    <EventID Qualifiers="49154">33</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>3</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-04-05T20:05:05.000000000Z" />
    <EventRecordID>51459</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>1730W6LG5FP1.calvaryspringfield.org</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">SHARP AR-M620N PCL6</Data>
    <Data Name="param2">Windows x64</Data>
    <Data Name="param3">0x80070057. The parameter is incorrect.
</Data>
  </EventData>
</Event>


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>several of these type msgs >>>>>>>>>>>>>>>>>>
Log Name:      Application
Source:        Microsoft-Windows-PrintBRM
Date:          4/5/2012 3:05:05 PM
Event ID:      24
Task Category: (4)
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      1730W6LG5FP1.calvaryspringfield.org
Description:
Printbrm.exe (the Printer Migration Wizard or the command-line tool) successfully restored ZIMFPrint. No user action is required.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-PrintBRM" Guid="{CF3F502E-B40D-4071-996F-00981EDF938E}" EventSourceName="PrintBrm" />
    <EventID Qualifiers="16386">24</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>4</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-04-05T20:05:05.000000000Z" />
    <EventRecordID>51495</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>1730W6LG5FP1.calvaryspringfield.org</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">ZIMFPrint</Data>
  </EventData>
</Event>


>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>last event

Log Name:      Application
Source:        Microsoft-Windows-PrintBRM
Date:          4/5/2012 3:05:05 PM
Event ID:      11
Task Category: (2)
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      1730W6LG5FP1.calvaryspringfield.org
Description:
Printbrm.exe (the Printer Migration Wizard or the command-line tool) is beginning a restore of print queues. No user action is required.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-PrintBRM" Guid="{CF3F502E-B40D-4071-996F-00981EDF938E}" EventSourceName="PrintBrm" />
    <EventID Qualifiers="16386">11</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>2</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2012-04-05T20:05:05.000000000Z" />
    <EventRecordID>51499</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>1730W6LG5FP1.calvaryspringfield.org</Computer>
    <Security />
  </System>
  <EventData>
  </EventData>
</Event>
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 6

Expert Comment

by:Raquero
ID: 37814461
Looks like a driver mismatch. Try pre-installing the correct driver for the printer(s) that are failing and rerun the import.

Check these links for more details:

http://technet.microsoft.com/en-us/library/cc734745(v=ws.10).aspx

http://technet.microsoft.com/en-us/library/cc734757(v=WS.10).aspx
0
 

Author Comment

by:rstuemke
ID: 37821332
Is it possible to import  printers selectively.....  wanting to import all the ones that work.
Command line syntax???
0
 
LVL 6

Expert Comment

by:Raquero
ID: 37823780
You could probably edit the xml file and comment out or remove entries.

What is the OS/architecture of source server  and the destination server? If you are going from a 32-bit machine to a 64-bit you will need to pre-install the 64-bit drivers.

You may also need to edit the config file to map the drivers if the names are different.

Example from http://blogs.technet.com/b/askperf/archive/2009/02/20/two-minute-drill-printbrm-and-the-configuration-file.aspx

<BrmConfig>

    <PLUGINS>
    </PLUGINS>

    <LanguageMonitors>
    </LanguageMonitors>

    <DriverMap>
        <DRV old="HP LaserJet 5Si" new="HP LaserJet 4Si"/>
    </DriverMap>

</BrmConfig>
0
 
LVL 6

Expert Comment

by:Raquero
ID: 37823785
0
 
LVL 6

Expert Comment

by:Raquero
ID: 37823796
Sorry, just saw in your original post that both servers are 2K8R2 (64-bit only).

Have you tried preinstalling the drivers?

Another thing that caught my eye is "-noacl" switch which does not restore ACLs when the print queues are created during the import. Give that a go and see if it finishes since it was hanging on creating the queues.
0
 

Author Comment

by:rstuemke
ID: 37824587
Update..... cannot get it to work,......  so began process of reinstalling all printers manually.
This failed also....  cannot install any new printers.....  getting this error:
unable to install printer operation could not be completed server 2008 0x000006d9
0
 
LVL 6

Expert Comment

by:Raquero
ID: 37824742
Ruh-roh

Okay, 3 things to try.

First, log on with a user account that has never logged onto the server (domain admin equivalent). This will eliminate any profile issues. Try to create a printer. If it works, delete the cached profile for the user account you were using before. If it does not work go to next step.

Second, clean up all printer objects, drivers, etc. Pretty good list of steps in the first part of this post: http://social.technet.microsoft.com/Forums/en-US/winserverprint/thread/d5d1a4db-551c-4eb8-aff8-feaba8e22bea/ .....reboot after cleanup and try again. If it does not work....next step.

Third, run "sfc /verifyonly > sfc.txt" look through the file this creates for errors. If there are, run "sfc /scannow" after *** making sure you have a good full system backup ***

Lastly, are there other services running on the server (e.g. file services, DHCP, etc)? If not, you might be better served with a re-install. If that is not an option we are nearing the blue telephone support call.
0
 
LVL 6

Expert Comment

by:Raquero
ID: 37824763
one more thing....you can download and run the MS Product Support Report and see if it sheds any light on where the problem lies

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=24745
0
 

Author Closing Comment

by:rstuemke
ID: 37827394
I appreciate your willingness to assist me.  While your solution did not fix the problem, it did assist me in working thru the problem to find a solution.  So, I am awarding the points on that basis.  Thanks.
0
 

Author Comment

by:rstuemke
ID: 37827399
Windows firewall was turned off and would not allow shared printers to be imported.   Turning on the firewall fixed the problem.
0
 
LVL 6

Expert Comment

by:Raquero
ID: 37828357
That is very interesting. Typically issues with the Windows Firewall are the other way around: turn it off to see if it is related to the problem mand work back from there to add rules as needed. We both learned something on this one.

Glad your issue is resolved.
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

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 …
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

744 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

12 Experts available now in Live!

Get 1:1 Help Now