The Oven
Project World => Win7PE SE HomePage => Topic started by: hgdagon on September 04, 2018, 04:48:51 AM
-
Currently, Windows shows 0MB of virtual memory. Instead, I would like it to make a swapfile on the flash drive of at least 1GB. Any way I can do that?
-
You can use swapadd (http://www.ltr-data.se/opencode.html/) to add a pagefile.
swapadd C:\pagefile.sys 1GB 1GB
-
You can use swapadd (http://www.ltr-data.se/opencode.html/) to add a pagefile.
Thanks a lot for the answer. I'll give this a try and comment back. My slight concern is that it looks like I would have to run the command during every boot.
-
Yes, that right you need to do it after booting.
-
Sadly, this doesn't work. I added the command to autorun - it did nothing (Yes, I'm sure the autorun is being processed), I ran command manually - still nothing. Manually unticking "Autamtically manage..." and adding a pagefile requires restart, and it won't be saved. I need a build time solution. Any compatible plugins for that?
-
for x64 olof's swapadd works great.
for x86, I must goto x:\windows\system32\SystemPropertiesAdvanced.exe/Settings/Advanced - Change/
Select Drive/ Select Custom Size / Set Initial, Set Max / Set / OK.
It may ask to overwrite existing pagefile.sys <-- select yes.
pagefile will now work with x86.
I would like to have pagefile available @x86 Win10pese upon boot.
So far it has eluded me, As it is on the backburner, I have plenty of workarounds to get desired result.
Happy Baking.
RoyM
-
for x64 olof's swapadd works great.
Hm... I used the x86 version. Does it not work in win7x86?
for x86, I must goto x:\windows\system32\SystemPropertiesAdvanced.exe/Settings/Advanced - Change/
Select Drive/ Select Custom Size / Set Initial, Set Max / Set / OK.
It may ask to overwrite existing pagefile.sys <-- select yes.
pagefile will now work with x86.
Um... No? That's what I described above, and it requires a restart, so it won't be saved. I've tried that before posting. :sad:
-
I forgot to mention that the error code I'm receiving is "Page file creation failed: An invalid parameter was passed to a service or function as the second parameter". I've tried passing 1GB, 1G, and simply 1024, but the result is always the same. Any ideas?
-
Well, report it to the author of the tool.