

# Install the latest version of EC2Config
<a name="UsingConfig_Install"></a>

**Note**  
The latest launch agent for Windows Server 2022 and later operating system versions is [EC2Launch v2](ec2launch-v2.md), which replaces both EC2Config and EC2Launch. EC2Launch v2 comes pre-installed on Amazon Windows Server 2022 and 2025 AMIs. You can also manually install and configure the agent on Windows Server 2016 and 2019. For more information, see [Install EC2Launch v2](ec2launch-v2-install.md).

For information about how to receive notifications for EC2Config updates, see [Subscribe to EC2 Windows launch agent notifications](launch-agents-subscribe-notifications.md). For information about the changes in each version, see the [EC2Config version history](ec2config-version-details.md).

## Before you begin
<a name="ec2config-prereqs"></a>
+ Verify that you have .NET framework 3.5 SP1 or greater.
+ By default, Setup replaces your settings files with default settings files during installation and restarts the EC2Config service when the installation is completed. If you changed EC2Config service settings, copy the `config.xml` file from the `%Program Files%\Amazon\Ec2ConfigService\Settings` directory. After you update the EC2Config service, you can restore this file to retain your configuration changes.

## Verify the EC2Config version
<a name="ec2config-verify-version"></a>

Use the following procedure to verify the version of EC2Config that is installed on your instances.

**To verify the installed version of EC2Config**

1. Launch an instance from your AMI and connect to it.

1. In Control Panel, select **Programs and Features**.

1. In the list of installed programs, look for `Ec2ConfigService`. Its version number appears in the **Version** column.