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.
Comments
Anonymous
May 08, 2008
How do you delete the msmq object? this is very frustrating!!! Thanks for this post!!!Anonymous
May 08, 2008
The workaround text in the KB article is a little short on detail: "To work around this problem, use the Active Directory Users and Computer Microsoft Management Console (MMC) snap-in to manually delete the Message Queuing object that was created the first time that you installed Message Queuing. Then, restart the Message Queuing service." so I'll expand on this for you. 1 Load the Active Directory Users and Computer MMC snap-in. 2 View menu - enable "Advanced Features" 3 View menu - enable "Users, Groups, and Computers as containers" 4 Locate the computer with the problem. 5 Delete the envelope icon labelled MSMQ underneath the computer name 6 If necessary, allow time for replication between domain controllers 7 Restart MSMQ on the problem machine