Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Can't remove Pagefile from C: drive - SBS 2003

Posted on 2012-09-11
Medium Priority
Last Modified: 2012-09-16
Hi All,

have picked up a client with an SBS2003 server that has a small primary (C) partition - 33GB.
It is very low on space - 1.65GB free.  As we are going to be migrating to SBS2011 there is some patching and preps to be required prior. The low space is a concern.

Have tried clearing up as much as possible, to free space, but there was a critical app that is installed and unable to move it.

I have tried to move the pagefile to the D drive, via the usual method
System Properties > Advanced > Performance Options > Advanced tab > Virtual Memory.
Have set the C: drive to 'No Paging File'
Have set the D: drive to Custome size - 4095-4095  (as the server has 4GB RAM installed)
This has always worked in the past - after rebooting of course.

If I run 'Systeminfo' it reports back the following.

Total Physical Memory:     3,582 MB
Available Physical Memory: 157 MB
Page File: Max Size:       7,010 MB
Page File: Available:      2,702 MB
Page File: In Use:         4,308 MB
Page File Location(s):     d:\pagefile.sys

*note: the page file maxsize appears to be the combination of both the C Drive page file and D drive page file.

The server had been set like this when we first saw it, but we noticed that the pagefile was  still on the C Drive. I assumed that it just required a restart as that would normally clear it. After a restart the pagefile was still there - and when trying to delete it manually, it wouldn't delete as it was still in use.

I have dug down into the registry and it appears to be as it should.  Have even set the registry to purge the pagefile at each reboot. I can see that it is recreating the C drive page file after rebooting.  But not the D drive page file (as I deleted it to see if it was in use)

Key Name:          HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
Value 0
  Name:            ClearPageFileAtShutdown
  Type:            REG_DWORD
  Data:            0x1

Value 9
  Name:            PagingFiles
  Type:            REG_MULTI_SZ
  Data:            d:\pagefile.sys 4095 4095

I have checked the security permissions on both C and D drive - System has full control of both.
I have checked the permissions on the registry to make sure that System has full control - HKLM, HKUSers, HKClassesRoot, HKCurrentConfig, even HKLM\System\CurrentControlSer\Control\Session Manager\Memory Management

It kind of looks like the registry settings are being ignored.

I am really stumped, would greatly appreciate any advice anyone has to offer.
Question by:Travola77
LVL 23

Assisted Solution

by:Suliman Abu Kharroub
Suliman Abu Kharroub earned 750 total points
ID: 38389600
Try to clean the registry using ccleaner.


Configure page file. On c drive to be something very small (16 Mb) and make sure to to configure it d drive.... Here there is a risk which is server may not be able to boot if it ignores page file on d drive...so making page file on c drive bigger will eliminate that risk.

Last thing, are both c and d in the same HDD ?

Expert Comment

ID: 38389621
While applying System Properties > Advanced > Performance Options > Advanced tab > Virtual Memory.
After entering the value in D drive click set then ok and apply and reboot the server.

Accepted Solution

Travola77 earned 0 total points
ID: 38389786
Hi DJSharma - yes I had already tried that. Thanks for your response

Hi Sulimanw - I am a bit hesitant about using CCleaner on a server.
I had also tried setting the pagefile to 16MB - however as soon as the server booted it complained of not enough space, and then increased the page file size - the server was also very slow and a few services shut down till I restarted it.

However you question about the drives being on the same HDD had me thinking.  I checked the Array configuraiton.  The drives are on a 3-disk RAID 5 set.  The C and D are partitions set at the RAID level, and seen as seperate drives in Windows Disk Management.

In Windows Disk Management I noticed that the D drive is actually a dynamic disk. It turns out you can't put a pagefile on a dynamic disk!


So it looks like I will need to convert the Data drive back to a Basic disk.
LVL 47

Expert Comment

ID: 38389926
Convert it without dataloss using Paragon Drive Backup 11 Server. It does this conversion pretty fast.

Author Closing Comment

ID: 38402965
Helped me look at the Disk structure to then find the root of the problem. The first reposnder didnot provide the solution but gave me the idea of where to look.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Suggested Courses

580 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