Connect Windows Server machines to Azure through Azure Arc Setup

Windows Server machines can be onboarded directly to Azure Arc through a graphical wizard included in Windows Server. The wizard automates the onboarding process by checking the necessary prerequisites for successful Azure Arc onboarding and fetching and installing the latest version of the Azure Connected Machine (AzCM) agent. Once the wizard process completes, you're directed to your Window Server machine in the Azure portal, where it can be viewed and managed like any other Azure Arc-enabled resource.

Onboarding to Azure Arc is not needed if the Windows Server machine is already running in Azure.

For Windows Server 2022, Azure Arc Setup is an optional component that can be removed using the Remove Roles and Features Wizard. For Windows Server 2025 and later, Azure Arc Setup is a Features On Demand. Essentially, this means that the procedures for removal and enablement differ between OS versions. See for more information.

Note

The Azure Arc Setup feature only applies to Windows Server 2022 and later. It was released in the Cumulative Update of 10/10/2023.

Automatic connection for SQL Server

When you connect a Windows or Linux server to Azure Arc that also has Microsoft SQL Server installed, the SQL Server instances will automatically be connected to Azure Arc as well. SQL Server enabled by Azure Arc provides a detailed inventory and additional management capabilities for your SQL Server instances and databases. As part of the connection process, an extension is deployed to your Azure Arc-enabled server and new roles will be applied to your SQL Server and databases. If you don't want to automatically connect your SQL Servers to Azure Arc, you can opt out by adding a tag to the Windows or Linux server with the name ArcSQLServerExtensionDeployment and value Disabled when it's connected to Azure Arc.

For more information, see Manage automatic connection for SQL Server enabled by Azure Arc.

Prerequisites

  • Azure Arc-enabled servers - Review the prerequisites and verify that your subscription, your Azure account, and resources meet the requirements.

  • An Azure subscription. If you don't have one, create a free account before you begin.

  • Modern browser (Microsoft Edge) for authentication to Microsoft Azure. Configuration of the Azure Connected Machine agent requires authentication to your Azure account, either through interactive authentication on a modern browser or device code login on a separate device (if the machine doesn't have a modern browser).

Launch Azure Arc Setup and connect to Azure Arc

The Azure Arc Setup wizard is launched from a system tray icon at the bottom of the Windows Server machine when the Azure Arc Setup feature is enabled. This feature is enabled by default. Alternatively, you can launch the wizard from a pop-up window in the Server Manager or from the Windows Server Start menu.

  1. Select the Azure Arc system tray icon, then select Launch Azure Arc Setup.

    Screenshot showing Azure Arc system tray icon and window to launch Azure Arc setup process.

  2. The introduction window of the Azure Arc Setup wizard explains the benefits of onboarding your machine to Azure Arc. When you're ready to proceed, click Next.

    Screenshot of the Getting Started page of the wizard.

  3. The wizard automatically checks for the prerequisites necessary to install the Azure Connected Machine agent on your Windows Server machine. Once this process completes and the agent is installed, select Configure.

  4. The configuration window details the steps required to configure the Azure Connected Machine agent. When you're ready to begin configuration, select Next.

  5. Sign-in to Azure by selecting the applicable Azure cloud, and then selecting Sign in to Azure. You'll be asked to provide your sign-in credentials.

  6. Provide the resource details of how your machine will work within Azure Arc, such as the Subscription and Resource group, and then select Next.

    Screenshot of resource details window with fields.

  7. Once the configuration completes and your machine is onboarded to Azure Arc, select Finish.

  8. Go to the Server Manager and select Local Server to view the status of the machine in the Azure Arc Management field. A successfully onboarded machine has a status of Enabled.

    Screenshot of Server Manager local server pane showing machine status is enabled.

Server Manager functions

You can select the Enabled/Disabled link in the Azure Arc Management field of the Server Manager to launch different functions based on the status of the machine:

  • If Azure Arc Setup isn't installed, selecting Enabled/Disabled launches the Add Roles and Features Wizard.
  • If Azure Arc Setup is installed and the Azure Connected Machine agent hasn't been installed, selecting Disabled launches AzureArcSetup.exe, the executable file for the Azure Arc Setup wizard.
  • If Azure Arc Setup is installed and the Azure Connected Machine agent is already installed, selecting Enabled/Disabled launches AzureArcConfiguration.exe, the executable file for configuring the Azure Connected Machine agent to work with your machine.

Viewing the connected machine

The Azure Arc system tray icon at the bottom of your Windows Server machine indicates if the machine is connected to Azure Arc; a red symbol means the machine does not have the Azure Connected Machine agent installed. To view a connected machine in Azure Arc, select the icon and then select View Machine in Azure. You can then view the machine in the Azure portal, just as you would other Azure Arc-enabled resources.

Screenshot of the machine connection status window  highlighting the View Machine in Azure button.

Uninstalling Azure Arc Setup

Note

Uninstalling Azure Arc Setup does not uninstall the Azure Connected Machine agent from the machine. For instructions on uninstalling the agent, see Managing and maintaining the Connected Machine agent.

To uninstall Azure Arc Setup from a Windows Server 2022 machine:

  1. In the Server Manager, navigate to the Remove Roles and Features Wizard. (See Remove roles, role services, and features by using the Remove Roles and Features Wizard for more information.)

  2. On the Features page, uncheck the box for Azure Arc Setup.

  3. On the confirmation page, select Restart the destination server automatically if required, then select Remove.

To uninstall Azure Arc Setup through PowerShell, run the following command:

Disable-WindowsOptionalFeature -Online -FeatureName AzureArcSetup

To uninstall Azure Arc Setup from a Windows Server 2025 machine:

  1. Open the Settings app on the machine and select System, then select Optional features.

  2. Select AzureArcSetup, and then select Remove.

Screenshot of Optional feature menu showing Azure Arc Setup feature with Remove button.

To uninstall Azure Arc Setup from a Windows Server 2025 machine from the command line, run the following line of code:

DISM /online /Remove-Capability /CapabilityName:AzureArcSetup~~~~

Next steps