Enable+disable pagefile.sys in registry?


  1. Posts : 244
    win7pro 64bit
       #1

    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 Computer


  2. Posts : 2,497
    Windows 7 Pro 64 bit
       #2

    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


 

  Related Discussions
Our Sites
Site Links
About 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 22:08.
Find Us