Windows 2008R2 Paging File Issue
I am trying to move the pagefile onto a dedicated disk but, after moving the paging file and rebooting, a message pops up stating it has created a temporary paging file.
Here is what I have configured, please advise if there is anything I have missed:
Windows 2008R2 SP1 with 20GB of memory. It is to be used as RDS Session Host.
B:\ is for the paging file
C:\ is the System Drive
Because I wanted to keep dump files, in case of system errors, I set the following within registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl
REG_SZ: DedicatedDumpFile Value: B:\DedicatedDumpFile.sys
DWORD: DumpFileSize
Value: 2060MB
DWORD: IgnorePagefileSize Value: 1
Under Virtual memory settings, B:\ is configured for the paging file custom set to maximum size. C:\ drive is set to none.
But, as I stated, every time I log on I get a message stating a temporary paging file was created on the C:\ drive which is not what I want.
Can anyone help?
Regards
Mark
May 2nd, 2012 11:48am
A:\ and B:\ drive are set for floppy disk drives, may be that is why you are facing the issue, try changing the drive letter to D:\ or something elseThanks and Regards, Mukesh. This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2012 1:27pm
I am trying to move the pagefile onto a dedicated disk but, after moving the paging file and rebooting, a message pops up stating it has created a temporary paging file.
Here is what I have configured, please advise if there is anything I have missed:
Windows 2008R2 SP1 with 20GB of memory. It is to be used as RDS Session Host.
B:\ is for the paging file
C:\ is the System Drive
Because I wanted to keep dump files, in case of system errors, I set the following within registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CrashControl
REG_SZ: DedicatedDumpFile Value: B:\DedicatedDumpFile.sys
DWORD: DumpFileSize
Value: 2060MB
DWORD: IgnorePagefileSize Value: 1
Under Virtual memory settings, B:\ is configured for the paging file custom set to maximum size. C:\ drive is set to none.
But, as I stated, every time I log on I get a message stating a temporary paging file was created on the C:\ drive which is not what I want.
Can anyone help?
Regards
Mark
You would likely to get an error message " a temporary paging file was created " when there is not enough free space on drives.
Also, its not suggested to completely remove paging file from C drive, instead you might want to split paging file on two different drives. You might come across unforeseen issues on OS if there is NO paging file set on C drive.
Here is what I follow for setting paging file on servers; hope that info helps
For WS 2003, C drive should have 40 GB disk irrespective of OS version and platform. C drive should have 4GB page file.
For WS 2008/R2, C drive should have 66 GB disk irrespective of OS version and platform. C drive should have 6GB page file.
As a best practice, you need to set page file 1.5 Times the RAM available on any Windows Servers.
For instance, Say, you have 16 GB RAM on a server, 1.5 times the RAM 16 GB = 24 GB; you need to set 24 GB Page file on the Server.
Now, how would you ditribute the page file ?
Here is the way, You need create a separate Drive and split the Page file (other than the preset page file on C drive)
For WS 2003, C drive already has 4 GB, now on a newly created drive set 20GB page file (i.e. 24 -4=20 GB), make sure you have at least 25 GB Drive to accomodate 20GB page file.
For WS 2008/2, C drive already has 6 GB, now on a newly created drive set 18 GB page file (i.e. 24 -6=18 GB), make sure you have at least 23 - 25 GB Drive to accomodate 18GB page file.
A UNIVERSE without WINDOWS is CHAOS !
This posting is provided "AS IS" with no warranties or guarantees and confers no rights.
About Me ?
May 2nd, 2012 2:10pm
Thanks for reply Mukesh,
I was under impression that drive letters A & B coudl now be used by Windows 2008R2 (& Windows 7).
Maybe I was wrong?
regards
Mark
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2012 2:54pm
Hi Santosh,
Thanks for responding.
I was under impression the paging file could now be kept on a completely different drive & that the issue with no paging file on the system drive, because of system errors, was resolved using the registry values that I mentioned I had used (see
KB969028 ).
As such shouldn't my setup with the dedicated dump file, sized at 2060MB for kernel dumps, work without the need to temporarily create a paging file on the system drive?
Regards
Mark
May 2nd, 2012 3:04pm
I was under impression that drive letters A & B coudl now be used by Windows 2008R2 (& Windows 7).
-- As far as I know, drive letters have NO impact on paging files. You can use any free drive letters including A:\ and B:\
As such shouldn't my setup with the dedicated dump file, sized at 2060MB for kernel dumps, work without the need to temporarily create a paging file on the system drive?
-- Memory dump files are by default will be created in %SystemRoot% (%SystemRoot%\MEMORY.DMP), this has no relation with paging file on C drive. You may disable paging file on C drive however, that is not recommended as I mentioned in my earlier reply.
Also, please refer following articles to know more about memory dumps
How to generate a kernel or a complete memory dump file in Windows Server 2008 and Windows Server 2008 R2
http://support.microsoft.com/kb/969028
How to use the DedicatedDumpFile registry value to overcome space limitations on the system drive when capturing a system memory dump
http://blogs.msdn.com/b/ntdebugging/archive/2010/04/02/how-to-use-the-dedicateddumpfile-registry-value-to-overcome-space-limitations-on-the-system-drive-when-capturing-a-system-memory-dump.aspx
A UNIVERSE without WINDOWS is CHAOS !
This posting is provided "AS IS" with no warranties or guarantees and confers no rights.
About Me ?
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2012 3:58pm
Hi Mukesh,
I've had the time to change the drive letter for the paging file disk. Changed it to E:\, amended the registry settings I made to refer to E:\ and rebooted. I no longer get the message about temporarily creating a paging file. It would seem that
Windows 2008R2 does not like putting the paging file on the B:\ drive.
Thanks for the advice.
Regards
Mark
May 2nd, 2012 4:32pm
Hi Mukesh,
I've had the time to change the drive letter for the paging file disk. Changed it to E:\, amended the registry settings I made to refer to E:\ and rebooted. I no longer get the message about temporarily creating a paging file. It would seem that
Windows 2008R2 does not like putting the paging file on the B:\ drive.
Thanks for the advice.
Regards
Mark
I tried to reproduce the issue by moving paging file to B drive. Rebooted my test server ( 2008 R2 running on a VM ) couple times however, didn't get any errors.
Perhaps, keeping memory dump file on B drive using registry entry must have caused the issue.
Anyways, Good to know that, issue has been resolved :)
A UNIVERSE without WINDOWS is CHAOS !
This posting is provided "AS IS" with no warranties or guarantees and confers no rights.
About Me ?
Free Windows Admin Tool Kit Click here and download it now
May 2nd, 2012 4:41pm


