Configure Windows Server Pay-as-you-go with Azure Arc

Azure Arc's Pay-as-you-go subscription licensing option is an alternative to the conventional perpetual licensing for Windows Server 2025. With Pay-as-you-go, you can deploy a Windows Server device, license it, and only pay for as much as you use. This feature is facilitated through Azure Arc and billed via your Azure subscription. You have the flexibility to disable Pay-as-you-go whenever necessary. Additionally, you can use Pay-as-you-go for free for the first seven days after enabling it as a trial.

Note

  • If you shut down or deprovision your device, without disabling Pay-as-you-go, billing will continue. To avoid unexpected charges, it's recommended to disable Pay-as-you-go using the Azure portal, PowerShell, API, or remove the device from Azure Arc.

  • Windows Server Pay-as-you-go is an Azure service and the detailed usage rights are provided in the Microsoft Product Terms.

Windows Server Pay-as-you-go shares the same pricing and model as Windows Server licensing on Microsoft Azure, but is designed for devices that are deployed outside of Microsoft Azure. Windows Server Pay-as-you-go with Azure Arc isn't supported on Microsoft Azure, as there are other ways to license Windows Server with Pay-as-you-go with that service.

Pay-as-you-go regulations differ from traditional perpetual licensing. For instance, in Pay-as-you-go, the cost is the same for both Standard and Datacenter editions, and there are no client access licenses (CALs) required for standard functionality. However, Remote Desktop Services (RDS) CALs are still required.

The Pay-as-you-go license only applies to the exact device where the feature is enabled on Microsoft Azure. Unlike traditional perpetual licenses, it doesn't provide additional rights for virtual machines (VM) running on the same server. Thus, the Automatic Virtual Machine Activation (AVMA) feature isn't available. Each VM requires its own separate license, regardless of the host server. The host and VMs can run different versions of the operating system (OS) and mix different license types.

Prerequisites

  • Your device must be running Windows Server 2025 Standard or Datacenter edition.
  • Your device must be Azure Arc-enabled and be running Microsoft Azure connected machine agent version 1.47 or later.
  • Your device isn't currently licensed (activated) with another license type, such as OEM, Retail, or Volume License (VL).
  • An active internet connection is required.

Set up Windows Server Pay-as-you-go

During the installation of the Windows Server 2025 OS, you can choose to set up Pay-as-you-go. This option is available on the Choose a licensing method screen where you would normally enter a product key. Once Pay-as-you-go is selected, providing a product key isn't required.

Note

Windows Server Pay-as-you-go is only available if installed from a retail copy of Windows Server 2025. Pay-as-you-go isn't available in Preview, Evaluation, or VL versions of Windows Server 2025.

There are two methods for setting up Pay-as-you-go, via the graphical wizard and through the command line. Follow these steps based on which edition of Windows you're installing:

If you're new to Windows Server, see Feature update, clean install, or migrate to Windows Server for more details.

Once you're at the Choose a licensing method screen, follow these steps:

  1. Select Pay-as-you-go and then select Next.
  2. Select your edition of Windows with Desktop Experience and then select Next.
  3. Accept the license terms by selecting Accept to proceed.
  4. Under Select location to install Windows Server, choose your disk and partition per your needs. Then select Next.
  5. On the Ready to install screen, select Install

The install process automatically reboots your device as needed. You're prompted to create a password in order to proceed with the installation. Once complete and you're signed in, the Azure Arc Setup wizard is displayed. Follow these steps to continue setting up Pay-as-you-go:

  1. On the Get Started with Azure Arc screen, select Next.
  2. On the Installing Azure Arc screen, your device goes through several checks to install the Azure Connected Machine (AzCM) agent. Then select Configure.
  3. On the Configure Azure Arc screen, select Next.
  4. On the Sign in to Azure screen, select your Azure cloud, sign in, then select Next.
  5. On the Resource details screen, continue filling in the required information, then select Next.
  6. On the Choose a licensing method for Windows Server screen, select Pay-as-you-go with Azure, then select Next.
  7. Once you reach the last screen during the configuration process, select Finish.

Note

If you select Use a product key on the Choose a licensing method for Windows Server screen, and continue with the installation wizard, Pay-as-you-go won't be activated even if you had previously opted in during the OS installation.

If you decide to opt out of using Pay-as-you-go, you will need to manually enter a product key using any supported method. However, if you still wish to use Pay-as-you-go, even though it has not been enabled through the Azure Arc configuration wizard, you can activate it through the Azure portal.

Manage Windows Server Pay-as-you-go

Managing Pay-as-you-go for Windows Server is possible using the Azure portal, PowerShell, or API. Even if you didn't choose to enable Pay-as-you-go during the initial installation of the OS is also an option, as long as the necessary prerequisites are met.

To enable Windows Server Pay-as-you-go, follow these steps:

  1. Navigate to your Azure portal, then search for and select Machines - Azure Arc.
  2. Select the machine you want to enable Windows Server Pay-as-you-go.
  3. Select the Pay-as-you-go tile.
  4. Check the box next to Pay-as-you-go with Azure, and then select Confirm.

Alternatively, in the left pane menu by expanding Licenses, selecting Windows Server, and follow step 4.

To disable Windows Server Pay-as-you-go, follow these steps:

  1. Navigate to your Azure portal, then search for and select Machines - Azure Arc.
  2. Select the machine you want to disable Windows Server Pay-as-you-go.
  3. Select the Pay-as-you-go tile.
  4. Uncheck the box next to Pay-as-you-go with Azure, and then select Confirm.
  5. The Deactivate Pay-as-you-go notification appears asking if you'd like to deactivate. Select Deactivate.

Alternatively, in the left pane menu by expanding Licenses, selecting Windows Server, and follow step 4.

See also