"Installation Directory" registry keys for SMS 2003 and SCCM 2007

When you install SMS 2003 and/or SCCM 2007, several registry keys are created that point to the directory where the product was installed. Depending on what part you installed, for example a site server versus just the admin console, you will need to look at different registry keys. Additionally, the registry key contents are different between the two versions, and a new install of SCCM has different registry values than an installation that was upgraded from SMS 2003. When creating a process that needs to know the installation path, you need to account for the following scenarios:

SMS 2003 installed:
  • Site Server
  • Admin UI only

SCCM 2007 installed
  • Upgraded from SMS 2003
    • Site Server
    • Admin UI only
  • Fresh install
    • Site Server
    • Admin UI only

Here are the registry keys and default values for those scenarios:

Two primary registry keys are looked at during installation:

HKLM\SOFTWARE\Microsoft\SMS\Setup\Installation Directory
HKLM\SOFTWARE\Microsoft\SMS\Setup\UI Installation Directory


In an SMS 2003 installation, the following are true:

On a site server installation
Key name Has a value? Default value
Installation Directory Yes C:\SMS
UI Installation Directory Yes C:\SMS

On an AdminUI-only installation
Key name Has a value? Default value
Installation Directory No
UI Installation Directory Yes C:\SMSADMIN


In a new SCCM 2007 installation, the following are true:

On a site server installation
Key name Has a value? Default value
Installation Directory Yes C:\Program Files\Microsoft Configuration Manager
UI Installation Directory No

On an AdminUI-only installation
Key name Has a value? Default value
Installation Directory No
UI Installation Directory Yes C:\Program Files\Microsoft Configuration Manager Console\AdminUI


In an SCCM 2007 upgraded from SMS 2003 installation, the following are true:

On a site server installation
Key name Has a value? Default value
Installation Directory Yes C:\Program Files\Microsoft Configuration Manager
UI Installation Directory No

On an AdminUI-only installation
Key name Has a value? Default value
Installation Directory No
UI Installation Directory Yes C:\SMSADMIN


How to determine whether the computer is a site server or just admin UI

If the "Installation Directory" key has a value, then it is a site server. This key is always blank for AdminUI-only installs, including upgrades.

How to determine the actual directory for the AdminUI parts

If the "Installation Directory" key has a value, then the location is specified by the "Installation Directory" key and just add "\AdminUI" to the directory path.
If the "Installation Directory" key is empty, and if the "UI Installation Directory" key has a value, then the location is specified by that key.




Last edited Mar 3, 2009 at 6:08 PM by rhearn, version 3

Comments

No comments yet.