Jump to content

Set size pagefile.sys in Autounattend?


Recommended Posts

Is it possible to set the size of pagefile.sys in Autounattend.xml?

I added these lines in Autounattend.xml, but I get errors everytime in windows Setup:

<PageFile>

<Path>C:\Pagefile.sys</Path>

<Size>256</Size>

</PageFile>

and this one:

<OSConfiguration>

<PageFile Path="C:\pagefile.sys" InitialSize="256" MaximumSize="512" />

</OSConfiguration>

Maybe someone can post a example of Autounattend.xml with the above lines?

Thanks!

Link to comment
Share on other sites


In the first example dont use the same name as the Windows pagefile, those are separate

PageFile specifies the location and the size of the Windows PE operating system page file to create. This setting applies only to the Windows PE page file, and not to the page file of the Windows installation.

Maybe you can do it in sysprep

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...