Cramped C: Partition? - Move your pagefile.

July 11, 2008 · Print This Article

 
 

ScreenOk, so here’s the scenario, you created a partition when you installed Windows, but you made the C: (or Windows) partition too small. Now you don’t have space to temporarily download files, defragment (requires %15 free disk space), or even add additional programs. What to do? You don’t want to rebuild the machine!

 

Answer
Well there are a couple of things you can do. Both of which include buying an additional hard drive, if you don’t already have one.
1. Start changing your install path for new software installs to your new additional drive. (i.e. D:\Program_Files\newsoftware)
2. Move your pagefile.sys to the new drive. (This is what we will be focusing on.)

 

Moving your Pagefile.sys

    1. Click Start > Run Type Regedit and Press Enter
    2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
    3. Double-Click the PagingFiles entry on the right-hand side of the screen.
    Pagefile regedit
    4. Now enter the new path where you want the pagefile to reside. (In this case it will be located on our separate drive D:/pagefile.sys)
    Registry Edit

    5. Once you have successfully edited the path, you will need to restart the computer before the changes will take effect.
    6. After you have restarted you can now navigate to your old pagefile location (C:\pagefile.sys) and delete it.

     

    Moving the pagefile is not always recommended and moving it to a separate drive is not a best practice, try to remember to give yourself enough room for the next partition you create!

     
    StumbleUpon It!

    Related Topics

Comments

Please leave us your comments.