Microsoft Windows CE 3.0  

Uninstalling MSMQ

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

To prevent MSMQADM and NETREGD from loading the next time the system is rebooted, remove respective subkeys of HKEY_LOCAL_MACHINE\Drivers\BuiltInkey.

If you have VISADM.EXE, choose Shortcut, Stopand then choose Shortcut, Unregister. If you want to permanently remove MSMQ, including the registry key and all messages from the machine, type register cleanupin the edit box and press Enter.

To uninstall MSMQ when using MSMQADM.EXE in your own configuration program

  1. Run MSMQADM.EXE with the following parameters:
    msmqadm.exe -f \temp\msmqadm.exe register
    uninstall
  2. Run the following command to uninstall drivers:
    msmqadm.exe -f \temp\msmqadm.exe stop
  3. Stop the service by running the following command to delete the registry key and messages from your system:
    msmqadm.exe -f \temp\msmqadm.exe register
    cleanup

    If you provide MSMQ administrator functions in your own program and do not use MSMQADM.EXE, you will need to remove the following registry keys:

    HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MSMQD
    HKEY_LOCAL_MACHINE\Drivers\BuiltIn\NETREGD

    Reboot the system and then physically delete MSMQ and NETREG subkeys from HKEY_LOCAL_MACHINE\Software\Microsoft, and delete the MSMQ message store directory.

    Note   If you have an HTTP server beta installed on your computer you will need to reinstall it. MSMQ and HTTP share the netregd component that is responsible for registering your computer name with your network service; this is removed during the installation.