The Hierarchy Maintenance tool (Preinst.exe) is a tool that passes commands to the Configuration Manager 2007 Hierarchy Manager while the Hierarchy Manager service is running.

The Hierarchy Maintenance tool is automatically installed when Configuration Manager 2007 is installed. The Preinst.exe tool can be found in the \SMS_<sitecode>\bin\i386\<language code> share directory on the site server, and also in the \SMSSETUP\BIN\I386\<language code> directory of the Configuration Manager 2007 installation files.

You can use the Hierarchy Maintenance tool to diagnose problems in a site, repair a site, or stop all Configuration Manager 2007 services at a site. For example, suppose that you remove an Configuration Manager 2007 site incorrectly by disconnecting a child site from its parent site without first removing the child site from the parent site database. This causes problems because the parent site still tries to send information to and receive information from the disconnected child site. To resolve this situation, you can use the Hierarchy Maintenance tool to bypass the Configuration Manager console and delete the incorrectly removed child site from the parent site database.

To run the Hierarchy Maintenance tool, the logged-on user must have administrative privileges on the computer itself. Also, the logged-on user must explicitly have the Site - Administer security right; it is not sufficient that the logged-on user inherits this right by being a member of a group that has that permission.

See Also