The008 Posted August 12, 2006 Share Posted August 12, 2006 we know that WinPE enables pagefile if running with low RAM (ex 64MB), but I can't do this with WinXPE (BartPE + XPE Plugin). Any ideas??? Maybe we could transfer some files from WinPE to WinXPE, but what files? 'cause I think that factory.exe enables the pagefile, but I'm not sure, and if is this, how can I manage the "Tasks" factory.exe does? I'd like, for example, to disable network configuration. Link to comment Share on other sites More sharing options...
Paraglider Posted August 12, 2006 Share Posted August 12, 2006 Try my setpagefile plugin at www.paraglidernc.com Link to comment Share on other sites More sharing options...
The008 Posted August 13, 2006 Author Share Posted August 13, 2006 yep, I downloaded and will try, but I think that there's a way to enable automatic creation of the pagefile *IF NECESSARY* just like WinPE. For example, I wouldn't like to create a pagefile if I have a 1GB or 512MB RAM, but I'd like to automatic create a pagefile if I have only 64MB RAM.Have you tested WinPE? I think that factory.exe does the pagefile job, but I don't know how to transfer it to BartPE. Link to comment Share on other sites More sharing options...
uid0 Posted August 14, 2006 Share Posted August 14, 2006 You could use pstat to find the available ram, then conditionally run Paraglider's setpagefile::Begin:: Use PSTAT.EXE from the NT 4 Resource Kit:: to find the amount of RAM installed (in KB)FOR /F "tokens=2 delims=K " %%A IN ('PSTAT ^| FIND "Memory:"') DO SET RAM=%%A:: The following command line is added to round up instead of down;:: change the value from 1023 to 512 for "mathematical" rounding,:: or remove the line to round downSET /A RAM = %RAM% + 1023:: Convert from KiloBytes to MegaBytesSET /A RAM = %RAM% / 1024:: Display the resultecho RAM SIZE IS %RAM%IF %RAM% LSS 65 %SystemRoot%\system32\SetPageFile.exe c:\pagefile.sys 128(cheers oscar)You would need to run this early in the boot process, could use peshell or preshell. Link to comment Share on other sites More sharing options...
JuMz Posted August 14, 2006 Share Posted August 14, 2006 (edited) I know how to enable the pagefile in WinPE 1.6 if your interested...but it seems you are using a hybrid of BartPE / WinPE so I don't know if this would be of much use to you...do you have a winbom.ini that executes?EDIT: I shouldn't say I know "how" but I have all the documentation that indicates the procedures neccessary... Edited August 14, 2006 by JuMz Link to comment Share on other sites More sharing options...
Joshuas Posted August 14, 2006 Share Posted August 14, 2006 (edited) I wouldn't like to create a pagefile if I have a 1GB or 512MB RAM, but I'd like to automatic create a pagefile if I have only 64MB RAM.You can try my PreShell.http://www.drowaelder.de/winpe/PEIndex.htmJoshua Edited August 14, 2006 by Joshuas Link to comment Share on other sites More sharing options...
The008 Posted August 17, 2006 Author Share Posted August 17, 2006 I use WinPE from XP SP2 OPK, but BartPE + XPE Plugins is better, 'cause you can customize everything, but I'm thinking about creating an hybrid WinPE + BartPE/XPE or something like this!I don't know my WinPE version, but I think it's version 2004 or 1.2, but I'm not sure. I don't know how to get WinPE 1.6, only 2.0, but actually I don't have a fas internet connection, so I can't download 0,9GB (WinPE 2.0 + something). Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now