Event ID - 2142

Event Id2142
SourceMSMQ
DescriptionThe properties of the queue %3 cannot be set. Replacing the queue file %4 with the temporary file %5 returned error %1: %2
Event Information According to Microsoft :

Cause :

This event is logged the when properties of the queue cannot be set.

Resolution :

Confirm disk space and file permissions

Internally, the MSMQ Service tries to make a temporary copy of the queue file before changing the queue properties, or it tries to copy the new queue permissions file over the old permissions file. If creation of the temporary file fails, this might indicate insufficient disk space, permission problems, or file system errors. Make sure that the disk is not full and that the MSMQ Service can access the Message Queuing storage directory.

To perform these procedures, you must have membership in Administrators , or you must have been delegated the appropriate authority.

To confirm that the MSMQ Service can access the Message Queuing storage directory:
  1. Open the Services console. To open Services, click Start . In the search box, type services.msc , and then press ENTER.
  2. In the details pane, locate Message Queuing .
  3. Check the Log On As column to see what user the service runs under.
  4. Confirm that the user under which the MSMQ Service is running under has permissions on the Message Queuing storage directory (%windir%\System32\msmq\storage).
Verify :

Verify that the MSMQ Service is installed and running.

To perform this procedure, you must have membership in Administrators , or you must have been delegated the appropriate authority.

To verify that the MSMQ Service is installed and running:
  1. Open the Services snap-in. To open Services, click Start . In the search box, type services.msc , and then press ENTER.
  2. Locate the Message Queuing service, and then confirm that the value in the Status column is Started .
Reference LinksEvent ID 2142 from MSMQ

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.