How to Use the Hierarchy Maintenance Tool (Preinst.exe)
The Hierarchy Maintenance tool (Preinst.exe) is a command-line tool that must run locally on the primary or secondary site server computer. 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.
To use the Hierarchy Maintenance tool
On the Start menu, click Run and then enter cmd to open the command prompt interface.
Navigate to the location of the Hierarchy Maintenance tool (by default, SMS\bin\i386\<language code>).
Run the Hierarchy Maintenance tool by using the appropriate command-line syntax and parameters.