MSMQ Troubleshooting

Hello World!

Backups on my 2012 R2 Essentials Server have not completed as scheduled for about a week.  When I exclude Bare Metal Recovery and System State from backup item list the backups will complete but with warnings.  The warnings and backup failures all relate to the MSMQ service and writer.

Here are the event details for the most recent error:

Log Name:      Application
Source:        SPP
Date:          9/12/2015 1:34:36 PM
Event ID:      16387
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      XXXXXXXXXXXXXXXXXXX
Description:
Writer MSMQ Writer (MSMQ) experienced some error during snapshot creation.  More info: .
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="SPP" />
    <EventID Qualifiers="0">16387</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-09-12T20:34:36.000000000Z" />
    <EventRecordID>229377</EventRecordID>
    <Channel>Application</Channel>
    <Computer>XXXXXXXXXXXXXXXXXXXXXX</Computer>
    <Security />
  </System>
  <EventData>
    <Data>MSMQ Writer (MSMQ)</Data>
    <Data>
    </Data>
    <Data>The writer's timeout expired between the Freeze and Thaw events. (0x800423F2)</Data>
    <Data>
    </Data>
    <Binary>00000000B8120000991200000000000042BEB7C511CAC619E59C92030000000000000000</Binary>
  </EventData>
</Event>

I have tried the following commands (in admin CMD), all of which were successful and showed no errors/failures with any paths.

Takeown /f %windir%\winsxs\filemaps /a
icacls %windir%\winsxs\filemaps /grant "NT AUTHORITY\SYSTEM:(RX)"
icacls %windir%\winsxs\filemaps /grant "NT Service\trustedinstaller:(F)"
icacls %windir%\winsxs\filemaps /grant "BUILTIN\Users:(RX)"
icacls %windir%\winsxs\filemaps /grant "Administrators:(RX)"
Takeown /f %windir%\winsxs\filemaps\* /a
icacls %windir%\winsxs\filemaps\*.* /grant "NT AUTHORITY\SYSTEM:(RX)"
icacls %windir%\winsxs\filemaps\*.* /grant "NT Service\trustedinstaller:(F)"
icacls %windir%\winsxs\filemaps\*.* /grant "BUILTIN\Users:(RX)"
icacls %windir%\winsxs\filemaps\*.* /grant "Administrators:(RX)"
Takeown /f %windir%\winsxs\temp\PendingRenames /a
icacls %windir%\winsxs\temp\PendingRenames /grant "Administrators:(RX)"
icacls %windir%\winsxs\temp\PendingRenames /grant "NT AUTHORITY\SYSTEM:(RX)"
icacls %windir%\winsxs\temp\PendingRenames /grant "NT Service\trustedinstaller:(F)"
icacls %windir%\winsxs\temp\PendingRenames /grant "BUILTIN\Users:(RX)"

However, when I tried to execute these commands below, admin CMD prompt said "no files (or folders) found with the specified pattern."

Takeown /f %windir%\winsxs\temp\PendingRenames\*.* /a
icacls %windir%\winsxs\temp\PendingRenames\*.* /grant "Administrators:(RX)"
icacls %windir%\winsxs\temp\PendingRenames\*.* /grant "NT AUTHORITY\SYSTEM:(RX)"
icacls %windir%\winsxs\temp\PendingRenames\*.* /grant "NT Service\trustedinstaller:(F)"
icacls %windir%\winsxs\temp\PendingRenames\*.* /grant "BUILTIN\Users:(RX)"


I have stopped/started cyptsvc, COM+ services, and VSS.

Also tried removing/adding the Message Queuing roles and features from Server Manager UI, didn't solve problem.

An error that occurs just a few seconds after the first error (above) is:

Log Name:      Application
Source:        Microsoft-Windows-CAPI2
Date:          9/12/2015 1:34:40 PM
Event ID:      513
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Description:
Cryptographic Services failed while processing the OnIdentity() call in the System Writer Object.

Details:
TraverseDir : Unable to FindFirstFile.

System Error:
Access is denied.
.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-CAPI2" Guid="{5bbca4a8-b209-48dc-a8c7-b23d3e5216fb}" EventSourceName="Microsoft-Windows-CAPI2" />
    <EventID Qualifiers="0">513</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2015-09-12T20:34:40.899466300Z" />
    <EventRecordID>229378</EventRecordID>
    <Correlation ActivityID="{9920CCED-EBF5-0002-7740-2299F5EBD001}" />
    <Execution ProcessID="1048" ThreadID="101284" />
    <Channel>Application</Channel>
    <Computer>XXXXXXXXXXXXXXXXXXXXXXXXXXXX</Computer>
    <Security />
  </System>
  <EventData>
    <Data>

Details:
TraverseDir : Unable to FindFirstFile.

System Error:
Access is denied.
</Data>
  </EventData>
</Event>

It would appear that I don't have permission to access that directory.

Any other ideas/tips are welcomed with open arms!!!

September 12th, 2015 5:39pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics