Share via


Installing MSMQ Using the Registry

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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 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

Concepts

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