Solved

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

Posted on 2011-09-05
4
2,653 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 87

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 87

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 78

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

706 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

20 Experts available now in Live!

Get 1:1 Help Now