You cannot set page files on a partition that is larger than 2 terabytes

Article translations Article translations
Article ID: 973423 - View products that this article applies to.
Expand all | Collapse all

Symptoms

On a computer that is running Windows Server 2008 R2 or Windows Server 2012, when you try to set a page file on a partition that is larger than 2 terabytes (TB), you receive the following error message:
Drive X: is too small for the maximum paging file size specified. Please enter a smaller number.

Collapse this imageExpand this image
973423A


This problem occurs when you try to set page files in the Virtual Memory user interface in the Advanced System Settings, regardless of whether the page file is a customized page file or a system managed page file.

Cause

This problem occurs because the Virtual Memory user interface incorrectly calculates the maximum space for creating the page file.

Workaround

To work around this problem, use Windows Management Instrumentation (WMI) instead of the Virtual Memory user interface to set page files.

To create a page file, run the following command:
wmic.exe pagefileset create name="X:\pagefile.sys"
Note In this command, X is the letter of the drive on which you want to create the page file.

To set the size of the page file, run the following command:
wmic.exe pagefileset where name="X:\\pagefile.sys" set InitialSize=300000,MaximumSize=3000000
Note In this command, the page file size is set to 300,000 megabytes.

If you do not need the page file on drive C, run the following command to delete it:
wmic.exe pagefileset where name="C:\\pagefile.sys" delete

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 973423 - Last Review: February 25, 2013 - Revision: 1.3
Applies to
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Standard
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Starter
  • Windows 7 Ultimate
  • Windows Server 2012 Foundation
  • Windows Server 2012 Standard
  • Windows Server 2012 Datacenter
  • Microsoft Hyper-V Server 2012
  • Windows Server 2012 Essentials
  • Windows 8 Enterprise
  • Windows 8 Enterprise N
  • Windows 8 Pro
  • Windows 8 Pro N
Keywords: 
kbexpertiseinter kberrmsg kbtshoot kbsurveynew kbprb KB973423

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com