PageFile -2008 R2 64Bit

So..My Hard Drive is in dyer need of space, it only has 121mb left. The page File is 9gb and system managed. My server has 6Gb of Memory.

Virtual Memory Settings
I have alot of Data on the E:\ Drive. Whats the best way to change c:\ page file so that it resides on E:\? Does this erase or effect my data on E:\? Do i automatically reclaim the space on the c:\ after this is done? I was thinking of making the c:\ drive set statically at 2048MB and E:\ 9GB static? Thoughts & Solutions please.

Thanks in Advance?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You CAN lower the size of the page file, but if the system recommends 9GB I would leave it at that size.  You CAN change the page file to be on the E: drive, it will just take up 9GB more space on the E: Drive.  It will not affect any of the data you have there now.  

I would go ahead and move the page file to the E: Drive.  You will need to reboot for it to take effect.  It will free up the space on C: if moved.
Glen KrinskySystems AdministratorCommented:
Are these seperate PHYSICAL drives?  Try getting rid of temp files and trash and such first.  The, look at programs that can be removed and re-installed on E:.  Windows LOVES the C:\ for the page file, don't know why, I think it is a throwback to the days of Win 95.
Darius GhassemCommented:
Well I would keep the pagefile that size. You can move the pagefile to another partition which might be a good idea.

You can download this product to help you determine what is taking the space up as well. From here you can determine if you can move this data to another partition as well
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

earlyriser99Author Commented:
Same physical disk, does this matter.
Gajendra RathodLead System AdministratorCommented:
In case memory usage of server less than 6GB.

you can simply disable paging file.

Remove the click from "Automatically manage paging  file for all drives"

Now select "No paging file"

This require reboot and paging file will remove automatically.
Glen KrinskySystems AdministratorCommented:
Yes.  Same disk means there is no real savings in performance.  You can still do it, but the performance gains will not be there.
earlyriser99Author Commented:
Gajendra_Rathod...What are the repercussions from not having a pageFile?

 airborne1128....Not really looking at performance gains, just need more space on C:\ drive.
earlyriser99Author Commented:
So if i resize the c:\pagefile to static 2500mb and e:\ to 9000mb, this doesnt do anything to the data that is residing on E:\drive does it? Do i get my reclaimed space back on c:\Drive?
Darius GhassemCommented:
You can see a performance hit without a page file
Glen KrinskySystems AdministratorCommented:
@earlyriser99...that is correct.  However, windows would prefer to have the pagefile on c:\.  It may take some work and monitoring, but I would re-install applications from c:\ to the E:\ and leave the page file.  However, splitting it possible as well...just not preferred.
Glen KrinskySystems AdministratorCommented:
You HAVE to have a pagefile.  Without it your machine will not run properly if at all.
earlyriser99Author Commented:
By splitting it up....Will i reclaim some of my C:\ HD space?
Darius GhassemCommented:
Yes if you limit the size on C then the system will only use 2GB for example
Glen KrinskySystems AdministratorCommented:
Yes.  In fact, you only NEED 250MB on C:\.  That is for the dumpfile.
Gajendra RathodLead System AdministratorCommented:
Paging file is use to increase RAM capacity.

In case you disable it , there will no issue until server utilization exceed 90% to 100%.

In case RAM utilization is more that 6GB then you should not change this setting.
earlyriser99Author Commented:
Thanks  everyone for you input....Im super paranoid so sorry for all the silly questions, one more and i will award point. When i put the 9gb on the E: drive, it should do anything to my data that resides on the E:\drive right?
Glen KrinskySystems AdministratorCommented:
Correct.  Your data will be fine.  All the system will do is allocate 9GB for the page file.  I recommend defraging the drive FIRST.
it won't alter your existing data, it will just use up however much space you designate for that page file.. basically it just adds another file to the E:\ Drive.
Lee W, MVPTechnology and Business Process AdvisorCommented:
confirming some posts, debunking others, and providing some missing details (or so I hope):

1.  The only reason to have a pagefile on C: is for memory dumps in the event of a STOP error.  While it's always POSSIBLE you'd need a full memory dump, I cannot recall one single instance in 17 years as an IT Pro that I've needed a full memory dump (in order to have a full memory dump, the Pagefile must be on C: and equal to RAM + 2 MB (I think, if memory serves).  So odds are VERY, VERY good that removing the pagefile from C: will not have an adverse effect, all other things being equal.  (I do leave a small 250-500 MB Pagefile for minidumps, but that's it and frankly, I'm not sure that's even necessary for minidumps.

2. Completely agree - DEFRAG the E: drive before putting a pagefile there.  Better still, consider adding a hard drive you can dedicate to non-critical things like the pagefile, shadow copies, and other data.  This disk need not be RAIDed but likely will need to be the same interface type - SAS if the server uses SAS, SATA if the server uses SATA.  At least if it's on the same controller.

3. You CAN have a system without a pagefile... BUT it's generally not recommended.

For more information on pagefiles, see:
How to determine the appropriate page file size for 64-bit versions of Windows

How to determine the appropriate page file size for 64-bit versions of Windows Server 2008 and or Windows 2008 R2
(Note: in this article, Microsoft states:
The 64-bit versions of Microsoft Windows Server 2008 and Microsoft Windows Server 2008 R2 can support more RAM than the 32-bit versions of Windows Server. When lots of memory is added to a computer, a paging file may not be required. When you use the Memory-Pages/sec counter to measure paging file use, the value that is returned may not be accurate. To obtain an accurate measurement of paging file use, you must also use other performance counters. You can use System Monitor measurements to calculate the size of the paging file that your computer requires.

Windows Server 2008 and Windows Server 2008 R2 Domain Controllers are not supported without a configured pagefile. Because the algorithm the LSASS database cache depends on the "transition pages repurposed/second" perfmon counter, a pagefile is required to make sure that the database cache is capable to release memory if memory is requested by other services or applications.

Though this article is intended more for Windows 2000/2003, there are several items listed in it that can still apply to 2008 and may help you recover disk space - see:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.