Microsoft KB Archive/300044

= How the System Restore Tool Handles Hard-Disk Space Usage =

Article ID: 300044

Article Last Modified on 5/7/2007

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



This article was previously published under Q300044



SUMMARY
This articles describes how the System Restore tool handles hard-disk space usage, particularly where low disk-space issues are concerned.



MORE INFORMATION
By default, System Restore is enabled on all hard-disk partitions upon the completion of Windows XP Home Edition and Windows XP Professional Setup. However, after installation of the operating system, System Restore is automatically suspended when there is less than 200 megabytes (MB) of free hard-disk space on the system drive. The service automatically resumes its monitoring activities at the next system idle time -- as soon as 200 MB of hard-disk space is available. The same behavior is expected after Windows XP installation if any of the partitions become low on available hard-disk space.

Additionally, if disk-space use encroaches on the data store size, with non-monitored files for example, System Restore always yields its data store space to the system. This is because the data store size is not a reserved space and is always calculated as effective size. For example, if the data store size is configured to 500 MB, of which 200 MB is already used, and the current free hard-disk space is only 150 MB, the effective size is 350 MB (200 + 150), not 500 MB. In other words, the data store size is always limited by the available free hard-disk space. Specifically, note the following conditions:
 * When a given hard disk has less than 80 MB of remaining free disk space, System Restore purges the data store down to 75 percent of its size, or purges at least one restore point (this is the case if the data store is already below 75 percent). System Restore does not stop restore point creation. It continues to create idle time check points as time demands, and keeps purging on a first in, first out (FIFO) basis, as space demands.
 * When a disk has less than 50 MB of remaining free disk space, System Restore purges the data store completely and suspends System Restore on all drives (consistent freeze) until the minimum disk space (200 MB) is created again. Then, System Restore restarts monitoring.

NOTE: 200 MB is required on the system drive only.

If any disk is suspended, System Restore is suspended on all disks. If you check the System Restore Properties user interface (UI), it shows the drives as suspended. The reason for this behavior is that, if System Restore performs an independent suspension (freeze), and then you perform a restore, you would restore some drives but not others if the end user did not explicitly disable those drives. This scenario would place the system in a very inconsistent state, especially if you are installing programs on a non-system drive. If you try to start System Restore when it is in the suspended state, you receive the following warning message:

System Restore is suspended on Drive  because there is not enough disk space available. To restart System Restore, free at least 200 MB of disk space. Do you want to start Disk Cleanup to free more disk space now?

When the computer begins to get low on disk space, you receive a pop-out balloon warning in the System Tray (Systray), alerting you that your computer is running low, or is out of, disk space, as the thresholds are approached (which are 200 MB, 80 MB, and 50 MB, respectively). If you click the balloon, the Disk CleanUp utility (DCU) is automatically started in an attempt to free up additional disk space. If the space freed is not sufficient, you receive one of the warning messages listed in the following sections of this article. At that point, you have the opportunity to start the Add/Remove Programs utility to uninstall some programs and create more space on the hard disk.

You receive &quot;low disk space&quot; warning messages from Disk Cleanup when your disks become low on space and System Restore protection is at risk. If you choose to ignore the messages at the 200 MB threshold and become critically low on disk space, you will continue to receive the messages and warning messages at approximately 80 MB and 50 MB of free disk space.

On non-system drives, you receive the warning, but not the additional warnings, after starting DCU.

Balloon Messages
You will receive various balloon messages regarding disk space. These include the following.



At 200 MB of free disk space:

Low Disk Space

You are running out of disk space on Local Disk. To free space on this drive by deleting old or unnecessary files, click here...

At 80 MB and 50 MB of remaining free disk space:

Low Disk Space

You are running very low on disk space on Local Disk. To free space on this drive by deleting old or unnecessary files, click here...

Warning Messages
You will receive various warning messages regarding disk space. These include the following.

At 200-MB threshold of free disk space:

Your Windows drive has only ( MB) of free disk space available.

It is recommended to have at least a minimum of 200 MB free on your Windows drive to ensure system reliability. You can free even more disk space by removing programs that you do not use.

Would you like to do that now?



At 80-MB threshold of free disk space:

Your Windows Drive has only ( MB) of free disk space available. This is a critically low amount of disk space. If you do not free at least 200 MB, on this drive, System Restore may not be able to track or undo harmful changes to your computer. You can free even more disk space by removing programs that you do not use. Would you like to do that now?



Note If the system reaches less than 80 MB of free hard-disk space, and you try to start System Restore, you receive the following message:

System Restore

You do not have sufficient free disk space on the system drive ( :\) to perform a restore. Please free at least 80 MB of disk space on this drive.

Do you want to start Disk Cleanup to free more disk space now?

At the 50-MB threshold of free disk space:

Your Windows Drive has only ( MB) of free disk space available. This is a critically low amount of disk space. System Restore has suspended tracking changes to your computer because there is not enough disk space available. This means that System Restore will not be able to undo harmful changes if they occur. To reactivate System Restore, free at least 200 MB of disk space. You can free even more disk space by removing programs that you do not use.

Would you like to do that now?



Note If you ignore the warning, the next time that you try to start System Restore, you receive the following message:

System Restore is suspended because there is not enough disk space available on the system drive. To restart System Restore, ensure that at least 200 MB of free disk space are available on this drive.

Do you want to start Disk Cleanup to free more disk space now?

For additional information about the System Restore utility, click the following article numbers to view the articles in the Microsoft Knowledge Base:

299904 The System Restore Utility May Be Suspended on a System Drive Even Though There Is Enough Disk Space

295659 The Registry Keys and Values for the System Restore Utility

Keywords: kbinfo KB300044

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.