Jump to content

Recommended Posts

Posted

Hi All:

I'd like to set virtual memory to a custom and use 1024 MB

and I want to charge this space from drive or partition D:

Does there is any way to do it automatically for unattended setup for XP

I've searched the forum, for such info but I'm afraid I did not find any related.

Thanks


Posted

The value is "PagingFiles", and it's in the key HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management. It's a binary string value, so the easiest thing to do is set it the way you want on a test machine and export the registry key and value. You can then import it to your machine (I import mine during a script that runs via the [setupParams] section of the winnt.sif at T-9) and on reboot, it will have changed.

Posted (edited)
The value is "PagingFiles", and it's in the key HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management. It's a binary string value, so the easiest thing to do is set it the way you want on a test machine and export the registry key and value. You can then import it to your machine (I import mine during a script that runs via the [setupParams] section of the winnt.sif at T-9) and on reboot, it will have changed.
Thanks a lot for your reply, the key bath is
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

When I set it manually to custome size to be 1024 MB as initial size and 1500 MB as Maximum size... I right click the value PagingFile and found it read

C:\pagefile.sys 336 672
D:\pagefile.sys 1024 1500

and when I export it to .reg file I found it read

Windows Registry Editor Version 5.00

"PagingFiles"=hex(7):43,00,3a,00,5c,00,70,00,61,00,67,00,65,00,66,00,69,00,6c,\
00,65,00,2e,00,73,00,79,00,73,00,20,00,33,00,33,00,36,00,20,00,36,00,37,00,\
32,00,00,00,48,00,3a,00,5c,00,70,00,61,00,67,00,65,00,66,00,69,00,6c,00,65,\
00,2e,00,73,00,79,00,73,00,20,00,31,00,30,00,32,00,34,00,20,00,31,00,35,00,\
30,00,30,00,00,00,00,00

So now I will integrate the .reg file only directly during unattended setup, right?

Edited by MGadAllah

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...