大网数据广告活动
安装更新与部署

Locks and limits in Windows Server

· 52CE 我爱测

In this article, you can compare the operating system locks and limits across the different editions of Windows Server.

Choosing the right edition of Windows Server is essential for meeting your organization's technical and business requirements. This article provides a side-by-side comparison of key operating system locks and limits across supported Windows Server editions. Use these tables to compare key features across Windows Server editions, such as:

  • Maximum number of users
  • Connection limits
  • Virtualization rights
  • Hardware support

This information can help you choose the version that best fits your needs.

Select a Windows Server release to view its locks and limits.

Locks and limits

To view the locks and limits for Windows Server 2025, select the full comparison tab or the version differences tab.

Full Comparison

Locks and limits Windows Server 2025 Standard Windows Server 2025 Datacenter Windows Server 2025 Datacenter: Azure Edition
Maximum number of users Based on CALs Based on CALs Based on CALs
Maximum SMB connections 16,777,216 16,777,216 16,777,216
Maximum RRAS connections Unlimited Unlimited Unlimited
Maximum IAS connections 2,147,483,647 2,147,483,647 2,147,483,647
Maximum RDS connections 65,535 65,535 65,535
Maximum number of 64-bit sockets 64 64 64
Maximum number of cores Unlimited Unlimited 2,048 logical processors
Maximum RAM <ul><li>4 PB for hosts that support 5-level paging</li><li>256 TB for hosts that support 4-level paging</li></ul> <ul><li>4 PB for hosts that support 5-level paging</li><li>256 TB for hosts that support 4-level paging</li></ul> <ul><li>240 TB for a generation 2 virtual machine</li><li>1 TB for a generation 1 virtual machine</li></ul>
Can be used as virtualization guest Yes; 2 virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license
Windows Server Containers Unlimited Unlimited Unlimited
Virtual OSE/Hyper-V isolated Containers 2 Unlimited Unlimited
Windows Server Containers Unlimited Windows containers and up to two Hyper-V containers Unlimited Windows containers and Hyper-V containers Unlimited Windows containers and Hyper-V containers
Storage Replica 1 partnership and 1 resource group with a single 2TB volume Unlimited Unlimited

Version Differences

Locks and limits Windows Server 2025 Standard Windows Server 2025 Datacenter Windows Server 2025 Datacenter: Azure Edition
Maximum number of cores Unlimited Unlimited 2,048 logical processors
Maximum RAM <ul><li>4 PB for hosts that support 5-level paging</li><li>256 TB for hosts that support 4-level paging</li></ul> <ul><li>4 PB for hosts that support 5-level paging</li><li>256 TB for hosts that support 4-level paging</li></ul> <ul><li>240 TB for a generation 2 virtual machine</li><li>1 TB for a generation 1 virtual machine</li></ul>
Can be used as virtualization guest Yes; 2 virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license
Virtual OSE/Hyper-V isolated Containers 2 Unlimited Unlimited
Windows Server Containers Unlimited Windows containers and up to two Hyper-V containers Unlimited Windows containers and Hyper-V containers Unlimited Windows containers and Hyper-V containers
Storage Replica 1 partnership and 1 resource group with a single 2TB volume Unlimited Unlimited

To view the locks and limits for Windows Server 2022, select the full comparison tab or the version differences tab.

Full Comparison

Locks and limits Windows Server 2022 Standard Windows Server 2022 Datacenter Windows Server 2022 Datacenter: Azure Edition
Maximum number of users Based on CALs Based on CALs Based on CALs
Maximum SMB connections 16,777,216 16,777,216 16,777,216
Maximum RRAS connections Unlimited Unlimited Unlimited
Maximum IAS connections 2,147,483,647 2,147,483,647 2,147,483,647
Maximum RDS connections 65,535 65,535 65,535
Maximum number of 64-bit sockets 64 64 64
Maximum number of cores Unlimited Unlimited 1,024 logical processors
Maximum RAM <ul><li>4 PB for hosts that support 5-level paging</li><li>256 TB for hosts that support 4-level paging</li></ul> <ul><li>4 PB for hosts that support 5-level paging</li><li>256 TB for hosts that support 4-level paging</li></ul> <ul><li>240 TB for a generation 2 virtual machine</li><li>1 TB for a generation 1 virtual machine</li></ul>
Can be used as virtualization guest Yes; 2 virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license
Windows Server Containers Unlimited Unlimited Unlimited
Virtual OSE/Hyper-V isolated Containers 2 Unlimited Unlimited
Windows Server Containers Unlimited Windows containers and up to two Hyper-V containers Unlimited Windows containers and Hyper-V containers Unlimited Windows containers and Hyper-V containers
Storage Replica 1 partnership and 1 resource group with a single 2TB volume Unlimited Unlimited

Version Differences

Locks and limits Windows Server 2022 Standard Windows Server 2022 Datacenter Windows Server 2022 Datacenter: Azure Edition
Can be used as virtualization guest Yes; 2 virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license
Virtual OSE/Hyper-V isolated Containers 2 Unlimited Unlimited
Windows Server Containers Unlimited Windows containers and up to two Hyper-V containers Unlimited Windows containers and Hyper-V containers Unlimited Windows containers and Hyper-V containers
Storage Replica 1 partnership and 1 resource group with a single 2TB volume Unlimited Unlimited

To view the locks and limits for Windows Server 2019, select the full comparison tab or the version differences tab.

Full Comparison

Locks and limits Windows Server 2019 Standard Windows Server 2019 Datacenter
Maximum number of users Based on CALs Based on CALs
Maximum SMB connections 16,777,216 16,777,216
Maximum RRAS connections Unlimited Unlimited
Maximum IAS connections 2,147,483,647 2,147,483,647
Maximum RDS connections 65,535 65,535
Maximum number of 64-bit sockets 64 64
Maximum number of cores Unlimited Unlimited
Maximum RAM 24 TB 24 TB
Can be used as virtualization guest Yes; 2 virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license
Windows Server Containers Unlimited Windows containers and up to two Hyper-V containers Unlimited Windows containers and Hyper-V containers

Version Differences

Locks and limits Windows Server 2019 Standard Windows Server 2019 Datacenter
Can be used as virtualization guest Yes; 2 virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license
Windows Server Containers Unlimited Windows containers and up to two Hyper-V containers Unlimited Windows containers and Hyper-V containers

To view the locks and limits for Windows Server 2016, select the full comparison tab or the version differences tab.

Full Comparison

Locks and limits Windows Server 2016 Standard Windows Server 2016 Datacenter
Maximum number of users Based on CALs Based on CALs
Maximum SMB connections 16,777,216 16,777,216
Maximum RRAS connections Unlimited Unlimited
Maximum IAS connections 2,147,483,647 2,147,483,647
Maximum RDS connections 65,535 65,535
Maximum number of 64-bit sockets 64 64
Maximum number of cores Unlimited Unlimited
Maximum RAM 24 TB 24 TB
Can be used as virtualization guest Yes; 2 virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license

Version Differences

Locks and limits Windows Server 2016 Standard Windows Server 2016 Datacenter
Can be used as virtualization guest Yes; 2 virtual machines, plus one Hyper-V host per license Yes; unlimited virtual machines, plus one Hyper-V host per license

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 06/27/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。