1. #1
    jcgriff2's Avatar
    Join Date
    Feb 2012
    Location
    New Jersey Shore
    Posts
    16,591
    • specs System Specs
      • Manufacturer:
        HP
      • Model Number:
        HP ENVY TouchSmart 17-j130us Notebook - E8A04UA
      • Motherboard:
        HP Insyde 720265-501 6050A2549501-MB-A02
      • CPU:
        Intel Core i7-4700MQ Processor with Turbo Boost up to 3.4GHz.
      • Memory:
        12GB DDR3L SDRAM (2 DIMM)
      • Graphics:
        Intel HD graphics 4600 with up to 1792MB total graphics memory
      • Sound Card:
        Beats Audio quad speakers and two subwoofers
      • Hard Drives:
        1TB 5400RPM hard drive with HP ProtectSmart Hard Drive Protection
      • Disk Drives:
        Hitachi 500 GB SSD; 7 TB USB External
      • Power Supply:
        90w
      • Case:
        Laptop
      • Display:
        17.3-inch diagonal HD+ BrightView LED-backlit touchscreen display (1600 x 900)
      • Operating System:
        Windows 8.1

    Deletion + Reallocation of the Page File (Windows 10, 8.1, 8, 7 & Vista)


    Page File Deletion + Reallocation



    Page File Deletion & Reallocation Tutorial
    The following will instruct you on how to delete and reallocate the page file (c:\pagefile.sys).

    Start by clicking on the applicable Windows OS:




    Windows 8.1 and Windows 8 - Bring up Search screen (press WIN + S keys) and type/paste sysdm.cpl; select the entry below it - (Windows 7 and Vista - see next step) -
    Sysnative Forums Screenshot



    Windows 10, Windows 7 and Windows Vista - Click on START; type/paste sysdm.cpl into the Start Search box; select sysdm.cpl from the search listing results
    Sysnative Forums Screenshot




    Click on "Advanced" tab; click on "Settings" (hover mouse over image to enlarge it) -
    Sysnative Forums Screenshot



    Click on "Advanced" tab; click on "Change" (hover mouse over image to enlarge it) -
    Sysnative Forums Screenshot



    1. Un-check "Automatically manage paging file size for all drives"
    2. Check "No paging file" box
    3. Click on "Set"
    4. Click on "OK"
    Sysnative Forums Screenshot



    This screen will likely appear -- if so, press "OK" -
    Sysnative Forums Screenshot


    Re-boot your system.



    Next, we need to remove the "hidden" and "system" file attributes from the page file.

    Bring up an Admin CMD prompt -
    Open an Elevated Admin Command Prompt (CMD) - Windows 10
    Open an Elevated Admin Command Prompt Window (Windows 8 / 8.1)
    Open an Elevated Admin Command Prompt Window (Windows 7/ Vista)

    Type or paste the following into the CMD screen:
    Code:
    attrib -s -h %systemdrive%\pagefile.sys

    When complete, leave the CMD screen open for now.

    Next - delete the page file.

    You can use Windows Explorer -- locate c:\pagefile.sys, RIGHT-click on the file, press & hold the left SHIFT key down while clicking on DELETE. This is called a "hard delete" - it will bypass the Recycle Bin. A hard-delete is preferred as the page file may be too large for the Recycle Bin or in cases of low hard disk space.

    My preferred method - delete the page file via CMD. Type/paste the following into the Admin CMD screen left open from the ATTRIB step. If you closed the CMD, screen, simply follow the instructions to open a new Admin CMD screen -
    Code:
    del /a /q %systemdrive%\pagefile.sys


    Deletion of Paging Files on Drives other than c: (System Drive)
    Drive c: is the usual designation for the system drive (or "OS drive"). You can delete page file(s) from other drives or partitions via Windows Explorer or by substituting the drive letter for %systemdrive% in the CMD screen.

    Example: To delete a paging file on drive j: - substitute j:\pagefile.sys for %systemdrive%\pagefile.sys


    For info, %systemdrive% is an environment variable (ENV VAR). The system/OS drive/partition letter followed by a colon (:) is substituted by Windows for the ENV VAR as can be seen here by a simple CMD ECHO command - (hover mouse over image to enlarge it) -

    Sysnative Forums Screenshot






    Time to reallocate the Page File/ Turn virtual memory back on.

    Go back into the page file screen - follow the above steps except for the last one.


    Check Box #1 to allow Windows to manage paging files; then click on OK -

    Sysnative Forums Screenshot



    You will likely see this screen:

    Sysnative Forums Screenshot



    Re-boot your system. Page file deletion and reallocation are now complete!

    If you would like assistance, please start a new thread in the appropriate OS forum:
    Microsoft Support & Malware Removal - Sysnative Forums







    Additional Information from Microsoft
    RAM, virtual memory, pagefile, and memory management in Windows
    RAM, Virtual Memory, PageFile and all that stuff
    Change the size of virtual memory - Windows Help
    How to determine the appropriate page file size for 64-bit versions of Windows
    What is virtual memory? - Windows Help
    Page File How big is Yours ? - Jane Lewis's Weblog - Site Home - TechNet Blogs
    Last edited by jcgriff2; 07-30-2015 at 05:47 PM.
    HonorGamer says thanks for this.


    • Ad Bot

      advertising
      Beep.

        
       

Similar Threads

  1. Indexing and Page File on SSD
    By Tekno Venus in forum Hardware
    Replies: 50
    Last Post: 02-06-2015, 12:27 AM
  2. Replies: 0
    Last Post: 11-02-2014, 07:13 PM

Log in

Log in