Installing MSMQ Using the Registry (Windows CE 5.0)

Send Feedback

Configuring all necessary MSMQ registry parameters saves you from including MSMQADM in the OS design. For information about registry settings, see MSMQ Registry Settings.

Although some registry settings are optional, the following settings must be set for MSMQ to run.

To install MSMQ as a device driver, set the following in the registry.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\MSMQD]
    "Dll"="MSMQD.DLL"
    "Entry"="MSMQDInitialize"
    "Keep"=DWORD:1
    "Order"=DWORD:9

To provide a minimal MSMQ implementation, set the following in the registry.

[HKEY_LOCAL_MACHINE\Software\Microsoft\MSMQ\SimpleClient]
    "BaseDir"="\TEMP\MSMQ" ; or wherever you want to keep MSMQ store
    "CEStartAtBoot"=DWORD:1 ; start MSMQ at boot time
    "DefaultQuota"=DWORD:300 ; limit on outgoing queues in kilobytes
    "PingPort"=DWORD:0x00000DC7 ; 3527 – do not change this!
    "Port"=DWORD:0x00000709 ; 1801 – do not change this!
    "QueueManagerGUID"=HEX:... ; 16 bytes of QM GUID.
    This number must be unique, use standard GUID generation algorithm
     to obtain it.
    "CETrackNetwork"="Yes" ; not really required but highly advised

Without MSMQADM.EXE, you cannot dynamically start and stop the MSMQ service. However, if the CEStartAtBoot value of the MSMQ registry entry is set to 0 (zero), MSMQ will not start at the next reboot time.

For more information about registry settings, see MSMQ Registry Settings.

See Also

MSMQ Application Development | Application Installation of MSMQ | Installation Options | Installing MSMQ Using MSMQADM.EXE | Installing MSMQ Using Visadm | Debugging MSMQ Installations

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.