# Starting and Stopping ColdFusion

Generally speaking, you should always stop and restart ColdFusion Server after making any changes that affect a data source, connection parameter such as caching, thread count, and so on. Specifically, you stop and restart ColdFusion services after making any of the following changes in the Administrator:

- After changing any server settings on the Server Settings page.
- After changing the scheduled task refresh interval. This setting in the ColdFusion Administrator determines how often ColdFusion checks for newly scheduled tasks.
- Enabling the performance monitoring options in the ColdFusion Administrator. This feature allows you to use the native Windows NT performance monitor to track ColdFusion performance-related data. For more information, see "Monitoring ColdFusion Performance".
- Changing the user account under which ColdFusion runs.
- Changing an existing data source setting, such as Page timeout, Buffer size, or Maintaining database connections.

## Using batch files to start and stop ColdFusion (Windows)

You can use batch files in Windows NT to stop and restart ColdFusion services. The Windows NT NET START and NET STOP commands can be used in batch files to start and stop ColdFusion services, as in the following excerpt:

    NET STOP "Cold Fusion Application Server"
    NET START "Cold Fusion Application Server"

Batch files, as well as other executables, can be scheduled in Windows NT. Refer to your Windows NT documentation for more information about scheduling, and stopping and starting NT services.

Note | You must be logged in with Administrator rights to execute these batch commands.

## Using scripts to start and stop ColdFusion (Solaris)

Two scripts are provided to start and stop the ColdFusion processes:

    <installdir>/coldfusion/bin/start
    <installdir>/coldfusion/bin/stop

Note | You must be logged in with root privileges to run these scripts.

In addition, the ColdFusion installation installs the following scripts to start and stop ColdFusion during system boot and shutdown:

    /etc/init.d/coldfusion
    /etc/rc1.d/K19coldfusion
    /etc/rc3.d/S25coldfusion

ColdFusion runs the following processes on the system:

- `cfexec` - Starts/stops the other processes and manages page scheduling
- `cfserver` - The application server process
- `cfideservice` - Provides system support for the Administrator
- `ipaliasd` - Provides IP failover capability for ColdFusion Server

In addition, the `windu_registryd42` process provides an emulation of the Windows registry database. This process must be running (as the root user) in order for ColdFusion to function. The start script will start this process if it isn't running (such as during system start-up). However, the stop script does not stop the registry process.