Pagefile command for SYSPREP.INF

  • Thread starter Thread starter WILLIAM
  • Start date Start date
W

WILLIAM

I've found a way to make my (ghost) images a lot smaller. When I'm all done
setting up the master, I set the pagefile to none. Then reboot a couple of
times to make sure it's gone :-) then defrag the machine.

Now when I run sysprep and shut the machine down, is there a command I can
use in sysprep.inf so on the next reboot the machine will be set to either a
specific sized pagefile, or a systems managed pagefile?

Thanks
 
Thanks a bunch. One other question, is there a way then to control the max
and min size of the pagefile this way?

In other words, I don't want the pagefile fragmented, so on a machine with
1gig of ram I want it set to 1.5gig 1.5gig, with 2gigs set it to 3gig 3gig.
(I believe my calculations are the MS default with min pagefile set to 1.5
times the amount of ram)....

I realize these aren't server class machines, but I want to know if it's
possible to do. Otherwise I'll just go with your suggestion and call it a
day :-)

Will
 
LOL, gotta love the registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management\PagingFiles

Just a reg add on that first shutdown after it's sysprepped should work out
great! Thanks for the advice!
 
You're welcome.

John
LOL, gotta love the registry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management\PagingFiles

Just a reg add on that first shutdown after it's sysprepped should work out
great! Thanks for the advice!

:
 
Back
Top