Microsoft Message Queuing failed. First seen in Enterprise Console 5.0.0. There are many reasons that the Microsoft component MSMQ may fail to install. Please see the 'What To Do' section below for guidance on resolving this issue. Firstly it is recommended to manually try adding the MSMQ component to Windows.
I've upgraded two systems from Windows 7 to 10 and both have the MSMQ service installed after upgrade. None of those systems had it installed before.
The presence of the service is not a problem in itself, but it or a dependency service is listening on TCP port 80 via Microsoft HTTP API (System process PID 4) and I can't start Apache because of that.
So far my searches for answers have been fruitless, because most results I find are dealing with setup and configuration of MSMQ but not it's purpose on a freshly installed Win10 system.
I have two questions:
- What is the purpose of MSMQ service in Windows 10 systems?
- Can the service(s) be disabled (or set to manual start) without any ill side effects?
1 Answer
What is MSMQ?
From Microsoft:
Microsoft Message Queuing (MSMQ) technology enables applications running at different times to communicate across heterogeneous networks and systems that may be temporarily offline. MSMQ provides guaranteed message delivery, efficient routing, security, and priority-based messaging. It can be used to implement solutions for both asynchronous and synchronous messaging scenarios.
Microsoft Msmq Download
From a user on Stack Overflow:
It's just a queue manager.
You can Send objects (serialized) to the queue where they will stay until you Receive them. It's normally used to send messages or objects between applications in a decoupled way.
It has nothing to do with webservices, they are two different things
Can you disable it? What happens?
When the MSMQ service is uninstalled the following actions are also carried out:
- All existing queues and queue configuration information is deleted
- All messages contained in those queue and the system dead letter queue (DLQ) is deleted
In a nutshell
Microsoft Message Queue Server
The service started coming installed on Windows 8 and up systems (to my knowledge), which may be why you didn't see it on 7. Removing it only affects itself, and if you aren't using it then nothing should be affected.
Disabling the service you know how to do, but you can also remove it using Add & Remove Features
Not the answer you're looking for? Browse other questions tagged windows-7windows-10servicesmsmq or ask your own question.
-->The following procedures show how to install Message Queuing 4.0 and Message Queuing 3.0.
Note
Message Queuing 4.0 is not available in Windows XP and Windows Server 2003.
To install Message Queuing 4.0 on Windows Server 2008 or Windows Server 2008 R2
In Server Manager, click Features.
In the right-hand pane under Features Summary, click Add Features.
In the resulting window, expand Message Queuing.
Expand Message Queuing Services.
Click Directory Services Integration (for computers joined to a Domain), then click HTTP Support.
Click Next,then click Install.
To install Message Queuing 4.0 on Windows 7 or Windows Vista
Open Control Panel.
Click Programs and then, under Programs and Features, click Turn Windows Features on and off.
Expand Microsoft Message Queue (MSMQ) Server, expand Microsoft Message Queue (MSMQ) Server Core, and then select the check boxes for the following Message Queuing features to install:
MSMQ Active Directory Domain Services Integration (for computers joined to a Domain).
MSMQ HTTP Support.
Click OK.
If you are prompted to restart the computer, click OK to complete the installation.
To install Message Queuing 3.0 on Windows XP and Windows Server 2003
Open Control Panel.
Click Add Remove Programs and then click Add Windows Components.
Select Message Queuing and click Details.
Note
If you are running Windows Server 2003, select Application Server to access Message Queuing.
Ensure that the option MSMQ HTTP Support is selected on the details page.
Click OK to exit the details page, and then click Next. Complete the installation.
If you are prompted to restart the computer, click OK to complete the installation.