KeepPageFile setting in sysprep.inf

R

Rich

OK, I'm trying to setup WDS to deploy XP SP3. I'm trying to make a
sysprep.inf file, but I don't understand how to use the KeepPageFile setting.
On my master computer, I manually configured the page file how I want it. I
want to keep that custom forced min and max size (which are the same number)
on all my computers I image. How do I use this setting to do that? Also,
can I delete the huge pagefile.sys file from my master computer before or
after imaging?
 
Z

Zaphod Beeblebrox

Rich said:
OK, I'm trying to setup WDS to deploy XP SP3. I'm trying to make a
sysprep.inf file, but I don't understand how to use the KeepPageFile
setting.
On my master computer, I manually configured the page file how I
want it. I
want to keep that custom forced min and max size (which are the same
number)
on all my computers I image. How do I use this setting to do that?
Also,
can I delete the huge pagefile.sys file from my master computer
before or
after imaging?

From what I can tell, that setting determines whether or not a new
page file will get generated or if the existing one will be preserved,
but does not do anything to preserve your custom pagefile settings.
It looks like you'll want to use a method to force
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Memory Management\PagingFiles to your desired values. Since I
don't use WDS, I'm not sure how best to go about it in your
environment. If nothing else, you could use the [GUIRunOnce] section
to launch a script or batch file to set it for you (export that key to
a file and use REG IMPORT to merge it, for example). Keep in mind
that commands in this section run in on the first logon to the system
and run in the context of the logged in user.

--
Zaphod

Arthur Dent, speaking to Trillian about Zaphod:
"So, two heads is what does it for a girl?"
"...Anything else he's got two of?"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top