Watch out when re-installing MSMQ 4.0 in a domain
There's a new KB article out for MSMQ 4.0:
This problem may take you by surprise as it's not how previous versions worked.
In the past a reinstallation of MSMQ in Active Directory Integrated Mode would go as follows:
- MSMQ installed first time
- MSMQ object is created under the computer object in AD
- MSMQ uninstalled
- MSMQ object is deleted from AD
- MSMQ installed second time
- MSMQ object is re-created (although with a different GUID) under the computer object in AD
With MSMQ 4.0, the object deletion step is missing so you will instead see:
- MSMQ installed first time
- MSMQ object is created under the computer object in AD
- MSMQ uninstalled
- MSMQ installed second time
- MSMQ object for previous installtion still exists so setup installed MSMQ in workgroup mode
The workaround is to manually delete the MSMQ object after uninstalling. Not very elegant, I agree.