Cannot create Pagefile on B-drive - "Windows created a temporary paging file..."
Posted on 2011-09-05
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?