Enable+disable pagefile.sys in registry?

pstein

New member
Member
VIP
Local time
4:56 AM
Messages
244
Is there a way NOT to enable + disable Pagefile.sys through Systems dialog but with a Registry key?

When enabling from disbaled state it should take the previously (eventually in the past) set partition location and file size.

If this is not possible then pagefile.sys should be set to "system managed".

Be aware: I am NOT talking about just a deletion of pagefile.sys at shutdown but a complete disabling!

Peter
 

My Computer

Computer type
PC/Desktop
OS
win7pro 64bit
The registry value that controls the pagefile is "ExistingPageFiles" in the key:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management"

I don't know what the value would be to disable the pagefile but I am quite sure that this will lose the previous values.

You can determine the values yourself by setting the pagefile configuration the normal way and checking what the results are.
Note that this is a REG_MULTI_SZ type as there can be multiple pagefiles.

The setting does not take effect until after a reboot.
Disabling the pagefile is not normally recommended.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Back
Top