- WMI Library -
WMI Libraly > Win32_PageFileSetting Class

Win32_PageFileSetting Class

The Win32_PageFileSetting class represents the settings of a page file. Information contained within objects instantiated from this class specify the page file parameters used when the file is created at system startup. The properties in this class can be modified and deferred until startup. These settings are different from the run time state of a page file expressed through the associated class Win32_PageFileUsage.

Note: The SE_CREATE_PAGEFILE privilege is required for Windows XP
Namespace value is root/CIMV2.
WMI Provider value is CIMWin32.


  • Caption
  • A short textual description (one-line string) of the CIM_Setting object.

  • Description
  • A textual description of the CIM_Setting object.

  • InitialSize
  • The InitialSize property indicates the initial size of the page file.
    Example: 139

  • MaximumSize
  • The MaximumSize property indicates the maximum size of the page file.
    Example: 178

  • Name
  • The Name property indicates the path and file name of the page file.
    Example: C:\PAGEFILE.SYS

  • SettingID
  • The identifier by which the CIM_Setting object is known.


    Method not found.

    Example WQL

    SELECT * FROM Win32_PageFileSetting
    About this site information

    This contents is created by WMI having class information.
    WMI Environment is Windows Server 2008 R2 Enterprise Edition.

    This link is Microsoft documents for "Managing Windows with WMI".
    That is VB(Visual Basic) scripting sample.
    This link is Microsoft documents for "Advanced Programming Topics in WMI .NET".
    That is VB.net(Visual Basic .net) scripting sample.

    - WMI Library -

    WMI useful by VB,VB.Net,VC,VC.Net,VC#.Net,VBS(WSH),PowerShell for PC asset management, system monitoring and collecting hardware and software inventory.

    This website is created by Toh.
    Copyright(C) 1997-2016 WMI Fun !!. All rights reserved.
    ^ Go to the top...