Events
29 Apr, 2 pm - 30 Apr, 7 pm
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.
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:
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:
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.
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:
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:
Alternatively, in the left pane menu by expanding Licenses, selecting Windows Server, and follow step 4.
Events
29 Apr, 2 pm - 30 Apr, 7 pm
Join the ultimate Windows Server virtual event April 29-30 for deep-dive technical sessions and live Q&A with Microsoft engineers.
Sign up nowTraining
Module
Enable Windows Server Extended Security Updates by using Azure Arc - Training
Use Azure Arc to enable Windows Server Extended Security Updates.
Certification
Microsoft Certified: Windows Server Hybrid Administrator Associate - Certifications
As a Windows Server hybrid administrator, you integrate Windows Server environments with Azure services and manage Windows Server in on-premises networks.
Documentation
Comparison of Windows Server editions
Learn about the differences between Windows Server Standard, Datacenter, Datacenter: Azure Edition and Annual Channel for Containers editions.
Locks and limits in Windows Server
In this article, you can compare the operating system locks and limits across the different editions of Windows Server.
What is Windows Server Annual Channel for Containers?
Learn about Windows Server Annual Channel for Containers