At machine A, there is only one printer named "Deli 888-D".I store the printers by
Printbrm -B -F D:\888d.printerExport -NOBIN -NOACL
At machine B, I install the driver of the printer name "Deli 888-D".
As the administrator, I want to restore the printer with
Printbrm -R -F XYZ\888d.printerExport
But it told me some error
Operation mode: restore Target server: local machine Target file path: D:\888d.printerExport. Queue publish mode: none Overwrite mode: keep existing settings Queue ACL mode: restore ACLs from backup LISTING PRINT QUEUES 888D LISTING PRINTER DRIVERS Deli DL-888D, Windows x64, None Restoring Printer Drivers... Restored printer driver Deli DL-888D, Windows x64, 3 Restoring Printer Ports... Restoring Print Processors... ************ 50% ************ The following objects failed to install: LISTING PRINT QUEUES 888D Error: 0x80004005 Unspecified error Check the eventlog for detailed information about the error which occurred. The following error occurred: 0x80070005. Access is denied. Check if you are an administrator or member of the administrators group. Check if you executed the tool with elevated permission. Check the eventlog for detailed information about the error which occurred.
Here is something from eventvwr
- <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">71</EventID> <Version>0</Version> <Level>2</Level> <Task>4</Task> <Opcode>0</Opcode> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2018-08-16T11:50:57.000000000Z" /> <EventRecordID>549</EventRecordID> <Correlation /> <Execution ProcessID="0" ThreadID="0" /> <Channel>Application</Channel> <Computer>lida</Computer> <Security /> </System> - <EventData><Data Name="param1">C:\Users\Test\AppData\Local\Temp\0DA25D74-7319-4F06-B8D8-5FFC645F3427\PRTPROCS\Windows x64\winprint.dll</Data> <Data Name="param2">C:\Windows\system32\spool\PRTPROCS\x64\winprint.dll</Data> <Data Name="param3">0x5. Access is denied.</Data> </EventData></Event>
Indeed, there is no dir named
C:\Users\ADMINI~1\AppData\Local\Temp\0DA25D74...
perhaps it is the reason, I guested.
I can restore it at machine A. The machine A and B are the same os
6.1.7601
perhaps machine B is lack of some windows patch, I guested.
Could you teach me how to restore printer at machine B? Thank you very much!