Importazione migrazione stampa: Verificare il percorso del file separatore e riprovare l'esportazione delle stampanti

Microsoft.Windows.Server.10.0.PrintServer.PrintMigrationTool.PrintMigrationImportStatus.Application.Confirmtheseparatorfilepathandretryexportingprinters.EventBased.UnitMonitor (UnitMonitor)

Verificare il percorso del file separatore e riprovare l'esportazione delle stampanti.

Knowledge Base article:

Riepilogo

Se un amministratore ha intenzionalmente eliminato il file separatore prima di esportare le stampanti e non si desidera importare il file, non è richiesta alcuna azione dell'utente ed è possibile ignorare questo evento.

Soluzioni

Se è necessario importare il file separatore, aprire il Visualizzatore eventi nel computer in cui sono state esportate le stampanti, fare clic su Registri di Windows, aprire il registro applicazioni, quindi verificare se l'evento PrintBRM 81 si è verificato durante l'esportazione delle stampanti.

Per risolvere l'errore dovuto a un file separatore mancante nel file di esportazione della stampante, provare le soluzioni seguenti:

Controllare la disponibilità del file separatore

Aprire il percorso del file separatore elencato nel testo del messaggio dell'evento PrintBRM 81, quindi intraprendere l'azione appropriata, come descritto in questa sezione.

Suggerimento: Per visualizzare un elenco di tutte le stampanti nel server interessato e i file separatore associati, digitare il comando seguente nella finestra del prompt dei comandi, dove (servername) è il nome del server appropriato: wmic /node:(servername) printer get name, separatorfile

Riprovare a esportare, quindi a importare le stampanti

Dopo avere risolto eventuali problemi con il file separatore, riprovare a esportare le stampanti tramite il Modulo di migrazione stampanti o lo strumento da riga di comando Printbrm.exe in un computer che esegue Windows Vista o Windows Server 2016 e 1709+. Quindi reimportare le stampanti.

http://go.microsoft.com/fwlink/?LinkId=104870

Element properties:

TargetMicrosoft.Windows.Server.10.0.PrintServerRole
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Avviso di stato importazione migrazione stampa da Verificare il percorso del file separatore e riprovare l'esportazione delle stampanti
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.10.0.PrintServer.PrintMigrationTool.PrintMigrationImportStatus.Application.Confirmtheseparatorfilepathandretryexportingprinters.EventBased.UnitMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.10.0.PrintServerRole" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.10.0.PrintServer.PrintMigrationTool.PrintMigrationImportStatus.Application.Confirmtheseparatorfilepathandretryexportingprinters.EventBased.UnitMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Negative" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="Success" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>$Target/Property[Type="Microsoft.Windows.Server.10.0.PrintServerRole"]/EventLog$</FirstLogName>
<FirstExpression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintBRM</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">PrintBrm</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">67</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>$Target/Property[Type="Microsoft.Windows.Server.10.0.PrintServerRole"]/EventLog$</SecondLogName>
<SecondExpression>
<And>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-PrintBRM</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">PrintBrm</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(2|6|9|10|14|17|21|23|25|43|52|58|59)$</Pattern>
</RegExExpression>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>