Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Enable+disable pagefile.sys in registry?

08 Aug 2015   #1
pstein

win7pro 64bit
 
 
Enable+disable pagefile.sys in registry?

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 System SpecsSystem Spec
.
08 Aug 2015   #2
LMiller7

Windows 7 Pro 64 bit
 
 

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 System SpecsSystem Spec
Reply

 Enable+disable pagefile.sys in registry?




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Disable/Enable Pagefile?
Hi, noticed the other day when I was trying to minimize what I have on my C drive ssd that the pagefile took up around 11GB and I did a Google search but I don't feel that the answer I got from there enlighten-ed me at all, I'm still wondering what to do. /BTA
Performance & Maintenance
Trying to re-enable pagefile, trying to free up SSD Space
http://i.imgur.com/C0NC6.png My biggest folders are seemingly Network Service and AppData. My OS is on an SSD with 60GB, I have another 1TB SATA and a second 60GB SSD as well. If I were to create these two folders in the second SSD, and make them point there, would this cause any issues? I...
Performance & Maintenance
Disable VBox from swapping to pagefile when idle?
How can I stop Windows from swapping the VirtualBox application's memory to disk when it's idle? It's a performance issue when my guest OS looks for data and it's not available - also since it makes use of its own sawp partition. Any ideas?
Virtualization
Registry and Pagefile, do they need to be defragmented?
I rembered I had PageDefrag when I was using XP but now I'm using 7. So do I need to find 3rd party software or will 7's default defragmenter do the job?
Performance & Maintenance
Can we just disable pagefile. Can we???
Just want to ask about Pagefile.sys is it possible to give it away i mean some have about 4 gb RAM so is it possible to disable this and count on the RAM in Linux in the new versions u can give away the swap partition wich is like the pagefile in Windows but its always RECOMNDED to keep it so...
Performance & Maintenance


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App