How To Manually Remove Message Queuing 2.0 from Microsoft Windows 2000 (298439)



The information in this article applies to:

  • Microsoft Message Queuing 2.0

This article was previously published under Q298439
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

Note Only use the method that is described in this article when you cannot remove the Microsoft Message Queuing, also known as MSMQ, 2.0 components by using the Add/Remove Windows Components tool.

IN THIS TASK

SUMMARY

This article describes how to manually remove the necessary Microsoft Message Queuing, also known as MSMQ, 2.0 components so that you can perform a clean re-installation of Message Queuing 2.0 without any conflicts with a previous installation.

back to the top

Manual Removal of Message Queuing 2.0

NOTE: It is very important to back up the computer before you perform the following steps. Failure to do so may result in the loss of critical files.

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

  1. Restart the computer in Safe Mode. This will permit the deletion of files without restoration by Sytem File Protection. For information on how to boot a Windows 2000 based computer in Safe Mode see section "How to Start the Computer in Safe Mode " in the following article:How to Troubleshoot startup problems in Windows 2000
  2. Delete the following folder: <%SystemRoot%\system32\MSMQ>
  3. Delete the following MSMQ dynamic link libraries (DLLs) and files from the \WINNT\System32 and the \WINNT\System32\Dllcache folders:

    NOTE: Not all of the following files are included in every type of Message Queuing 2.0 installation; the following list are the files are those which are included in a server installation.
    • Mq1repl.dll
    • Mq1sync.exe
    • Mqads.dll
    • Mqbkup.exe
    • Mqcertui.dll
    • Mqdbodbc.dll
    • Mqdscli.dll
    • Mqdssrv.dll
    • Mqexchng.exe
    • Mqlogmgr.dll
    • Mqmailoa.dll
    • Mqmailvb.dll
    • Mqmig.exe
    • Mqmigrat.dll
    • Mqoa.dll
    • Mqoa10.tlb
    • Mqperf.dll
    • Mqperf.ini
    • Mqqm.dll
    • Mqrperf.dll
    • Mqrperf.ini
    • Mqrt.dll
    • Mqsec.dll
    • Mqsnap.dll
    • Mqsvc.exe
    • Mqupgrd.dll
    • Mqutil.dll
    • Mqxp32.dll
    • Msmq.cpl

  4. Delete MQAC.sys from the \Winnt\System32\Drivers folder.
  5. Start Registry Editor (Regedit or Regedt32), and then delete the following MSMQ entries:

    NOTE: To delete the MSMQ entries, click the MSMQ folder, and then on the Edit menu, click Delete.

    HKEY_LOCAL_MACHINE\Software\Microsoft\MSMQ
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MSMQ
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MQAC
    HKEY_LOCAL_MACHINE\System\ControlSet###\Services\MSMQ

    Where ### represents various number values. Not all ControlSet### entries have an MSMQ entry, but remove all of those that do.
  6. After you complete steps 1 through 5, restart the computer to complete the removal of Message Queuing 2.0.

    NOTE: When you restart the computer, the MSDTC service starts and Message Queuing 2.0 is no longer displayed in the Services program in Control Panel.
  7. With an Enterprise Administrator account, remove this computer's MSMQ object from Active Directory by using the Active Directory Users and Computers snap-in on a Windows 2000 Active Directory server. The MSMQ object is a child of the computer's object.
back to the top

Modification Type:MajorLast Reviewed:4/19/2005
Keywords:kbhowto KB298439 kbAudDeveloper