Solved

Cannot create Pagefile on B-drive - "Windows created a temporary paging file..."

Posted on 2011-09-05
4
2,698 Views
Last Modified: 2012-05-12
I'm setting up a Windows Server 2008 R2 64-bit SP1 VM for use with Citrix XenApp.  The image is kept in a frozen mode, so when it reboots, any changes made are reversed and the image goes back to exactly how it was.  But part of this particular setup involves creating another drive to keep rolling data on, such as the Pagefile, Event Viewer logs, and a couple of other logs and caches associated with Citrix.

So I have partitioned the V-disk to create the space.  Rather than calling it, say, E-drive (which cannot be hidden by Group Policy), I have decided to call it, B: (which can).

Now, my problem is with the Pagefile.  Windows doesn't seem to create a Pagefile on B:.

After logging in to Windows, I am greeted with the error:

"Windows created a temporary paging file on your computer because of a problem that occurred with your paging file configuration when you started your computer.  The total paging size for all disk drives may be somewhat larger that the size you specified."

I have set my Virtual Memory settings to C: as "None", and B: as "4096 - 4096".  This how I want it, but Windows cannot seem to create the file on B:

I have tried testing with allocating 2GB on C: and 2GB on B:, and rebooted - but then the "Total paging file size for all drives" is shown only as 2GB.

I then put the whole 4GB on C: and rebooted, and "Total paging file size for all drives" is shown correctly as 2GB.

I've checked permissions on B: and they seem OK - both SYSTEM and Administrators have Full Control.  Also, other things that write to B:, such as Event Viewer logs, work fine.  Speaking of Event Viewer, there are no events in the Event Viewer that are relevant to this issue.

Any ideas what it might be?
Thanks
0
Comment
Question by:meirionwyllt
  • 2
4 Comments
 
LVL 88

Accepted Solution

by:
rindi earned 334 total points
ID: 36483232
Windows expects the A: and B: drives to be either floppy drives or some other removable media, and pagefiles shouldn't be kept on removable drives.

Apart from that you should have a minimal pagedrive on your system partition (256MB should be enough) so the server can create minidump files in case it crashes.
0
 

Author Comment

by:meirionwyllt
ID: 36483381
Hi rindi,

Although it is true that Windows has historically seen A: and B: as removable or floppy drives, I cannot see any reason why I wouldn't be able to have a pagefile on B: - I can't see what would prevent this from happening.

If there is something preventing this, there must be a way of circumventing it, right?

Also, could you please explain why you say that 256MB should be enough for a pagefile - seems awfully small to me.

Thanks.
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 334 total points
ID: 36483412
I don't think there is any way you can circumvent this.

The small pagefile is just used to be able to create the minidump files which are needed to find out why a BSOD has happened. You still need a larger pagefile at another location for the server to run properly.
0
 
LVL 79

Assisted Solution

by:David Johnson, CD, MVP
David Johnson, CD, MVP earned 166 total points
ID: 36484654
It is inherent in the operating system you cannot use a: or b: as they are reserved for floppy drives. in fact, drive b: can be used in a 1 floppy system: i.e. copy a:*.* b:
where the operating system will ask you to remove the disk in a: and insert another disk then press a key to continue'  remember that the paging file is created and accessed very early in the boot process before any services are loaded
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now