Pagefileconfig command in Windows

(Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2).

The pagefileconfig command will not be accepted and is not guaranteed to be supported in future releases of Windows.This tool is used in Windows Server 2003 as follows:

Pagefileconfig command in Windows

  1. Pagefileconfig.vbs
    1. pagefileconfig change
    2. pagefileconfig create
    3. pagefileconfig delete
    4. pagefileconfig query

Pagefileconfig.vbs

Allows administrators to display and configure virtual memory settingsof the system.

For command syntax, this command includes:

pagefileconfig change

Change the existing installation page of the virtual memory system.

The pagefileconfig change command syntax

pagefileconfig [ .vbs ] / change [ / s Computer [ / u Domain ** User [ / p ** Password ]]] {[ / I InitialPageFileSize ] | [ / m MaximumPageFileSize ]} / vo { VolumeLetter | * } [ / vo { VolumeLetter2 | * } [.]]

The pagefileconfig change command parameter

Parameters

Describe

/ sComputer

Specify the name or IP address of the remote computer (do not use a backslash). The default will be the local computer.

/ uDomain User

Run the script with the user account privileges specified by User ( User) or Domain Name ( Domain ) **** User . The default is the currently logged-in user rights on the computer that is issuing the command.

/ pPassword

Specify the password of the user account specified in the parameter / u.

/ iInitialPageFileSize

Specify a new initial size (in MB) to use for the specified paging file.

/ vo {VolumeLetter|*}

Specify the size or sizes of the generated paging file settings. This size is indicated by a letter following the colon (eg "C:").

/?

Show help at the command prompt.

For example the pagefileconfig change command

The following examples show how you can use the pagefileconfig / change command :

pagefileconfig.vbs / change / m 400 / vo c:

pagefileconfig.vbs / change / s srvmain / u maindomhiropln / m 400 / vo c:

pagefileconfig.vbs / change / s srvmain / u maindomhiropln / i 20 / vo *

** pagefileconfig.vbs / change / s srvmain / u maindomhiropln / pp @ ssW23 / i 200 / m 500 / vo c: / vo d: **

pagefileconfig create

Create or add additional paging file to the system.

Syntax command pagefileconfig create

pagefileconfig.vbs / create [ / s Computer [ / u Domain ** User [ / p ** Password ]]] / I InitialPageFileSize / m MaximumPageFileSize / vo { VolumeLetter | * } [ / vo { VolumeLetter2 | * } [.]]

Command parameter pagefileconfig create

Parameters

Describe

/ sComputer

Specify the name or IP address of the remote computer (do not use a backslash).The default will be the local computer.

/ uDomain User

Run the script with the user account privileges specified by User (User) or Domain Name ( Domain ) **** User.The default is the currently logged-in user rights on the computer that is issuing the command.

/ pPassword

Specify the password of the user account specified in the parameter / u.

/ iInitialPageFileSize

Specify a new initial size (in MB) to use for the specified paging file.

/ mMaximumPageFileSize

Specify the new maximum size (in MB) to use for the specified paging file.

/ vo {VolumeLetter|*}

Specify the size or dimensions of the generated paging file settings.This size is indicated by a letter following the colon (for example, "C:").

/?

Show help at the command prompt.

Command example pagefileconfig create

The following examples show how you can use the pagefileconfig / create command :

pagefileconfig.vbs / create / i 140 / m 300 / vo d:

pagefileconfig.vbs / create / s srvmain / u maindomhiropln / i 150 / m 300 / vo d:

pagefileconfig.vbs / create / s srvmain / u maindomhiropln / i 50 / m 200 / vo *

** pagefileconfig.vbs / create / s srvmain / u maindomhiropln / pp @ ssW23 / i 100 / m 600 / vo d: / vo e: / vo f: **

pagefileconfig delete

Remove the paging file from the system.

Syntax command pagefileconfig delete

pagefileconfig.vbs / delete [ / s Computer [ / u Domain ** User [ / p ** Password ]]] / vo { VolumeLetter | * } [ / vo { VolumeLetter2 | * } [.]]

Parameter command pagefileconfig delete

Parameters

Describe

/ sComputer

Specify the name or IP address of the remote computer (do not use a backslash). The default is the local computer.

/ uDomain User

Run the script with the user account privileges specified by User ( User) or Domain Name ( Domain ) **** User . The default is the currently logged-in user rights on the computer that is issuing the command.

/ pPassword

Specify the password of the user account specified in the parameter / u.

/ vo {VolumeLetter|*}

Specifies the size or sizes of the paging file settings to be deleted. This size is indicated by a letter following the colon (eg "C:").

/?

Show help at the command prompt.

For example

The following examples show how you can use the pagefileconfig / delete command:

pagefileconfig.vbs / delete / vo d:

pagefileconfig.vbs / delete / s srvmain / u maindomhiropln / vo d:

** pagefileconfig.vbs / delete / s srvmain / u maindomhiropln / pp @ ssW23 / d: / vo e: / vo f: **

pagefileconfig query

Query and display the paging file of the system of virtual memory settings.

Syntax command pagefileconfig query

pagefileconfig.vbs / query [ / s Computer [ / u Domain ** User [ / p ** Password ]]] [ / fo { TABLE | LIST | CSV }]

The pagefileconfig query command parameter

Parameters

Describe

/ sComputer

Specify the name or IP address of the remote computer (do not use a backslash). The default is the local computer.

/ uDomain User

Run the script with the user account privileges specified by User ( User) or Domain Name ( Domain ) **** User . The default is the currently logged-in user rights on the computer that is issuing the command.

/ pPassword

Specify the password of the user account specified in the parameter / u.

CSV}

Specify the format to use for the query output. Valid values ​​are TABLE, LIST and CSV. The default value is LIST.

/?

Show help at the command prompt.

The pagefileconfig query command example

The following examples show how you can use the pagefileconfig / query command :

pagefileconfig.vbs / query

pagefileconfig.vbs / query / fo table

pagefileconfig.vbs / query / s srvmain / u maindomhiropln

** pagefileconfig.vbs / query / s srvmain / u maindomhiropln / pp @ ssW23 / fo list **

The pagefileconfig query statement

  1. The maximum paging file size is limited to available disk space except for settings that recover crashdump for booting the drive.

Annotation format

Format

Meaning

Italicized

Information that users will have to provide

Bold

The elements that the user must enter are exactly as shown.

Ellipsis (.)

Parameters can be repeated many times in a command line.

In brackets ([])

Optional elements.

In the sign ({}) and separated by a straight slash (|).For example: {even | odd}

Set of options in which the user is only selected one.

Courier font

Code or output results.

see more

  1. Nbtstat command in Windows
  2. Bitsadmin create command in Windows
  3. Bcdboot command in Windows
  4. The bcdedit command in Windows
4 ★ | 1 Vote

May be interested

  • Instructions for using Command PromptInstructions for using Command Prompt
    deep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
  • Rd command in WindowsRd command in Windows
    the rd command helps delete a directory
  • Cmd command in WindowsCmd command in Windows
    the cmd command starts a new version of the command interpreter, cmd.exe. if used without parameters, cmd will display copyright information and the version of the operating system.
  • How to use the command history function in Command PromptHow to use the command history function in Command Prompt
    command prompt is an extremely familiar command for anyone using windows operating system. besides, a lot of current software also supports the command line to perform actions on the command prompt window, instead of on the screen.
  • The sfc command in WindowsThe sfc command in Windows
    (applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
  • Reg command copy in WindowsReg command copy in Windows
    to copy an entry to the location specified on the local pc or the remote computer we will use the reg copy command. to learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example tipsmake.com has compiled below.
  • Fc command in WindowsFc command in Windows
    the fc command compares two files or a collection of files and displays the differences between them.
  • The echo command in WindowsThe echo command in Windows
    the echo command displays the message or turns on / off the command repeat feature. if used without parameters, the echo command will display the current echo setting.
  • Xcopy command in WindowsXcopy command in Windows
    the xcopy command is a command prompt command used to copy one or more files or folders from one location to another. with many options and the ability to copy entire directories, the xcopy command is similar to, but much more powerful, than the copy command.
  • The cacls command in WindowsThe cacls command in Windows
    the cacls command displays or modifies an arbitrary access control list (dacl) on the specified file. the command applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012.