How to Delete the Pagefile.sys File in Recovery Console

Article translations Article translations
Article ID: 255205 - View products that this article applies to.
This article was previously published under Q255205
This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.
Expand all | Collapse all


When you boot into Recovery Console and try to delete the Pagefile.sys file, the file is not present. A directory listing does not show the Pagefile.sys on the root of the boot folder (the drive containing the %SystemRoot% folder).


This behavior occurs because the Pagefile.sys file is not accessible when you are in Recovery Console.


To work around this behavior, copy another file to the Pagefile.sys file. After you copy a file to Pagefile.sys, the Pagefile.sys file is displayed and can then be deleted. To do this, use the following steps:
  1. Boot into Recovery Console.
  2. Because you boot into the %SystemRoot% folder (most commonly the C:\Winnt folder), type the following command:
    cd \
  3. Type the following command to overwrite the existing Pagefile.sys file with Boot.ini:
    copy c:\boot.ini pagefile.sys
  4. Type the following command:
    del pagefile.sys
  5. After you copy Boot.ini over to Pagefile.sys, Pagefile.sys appears in the directory listing.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.


Article ID: 255205 - Last Review: February 28, 2007 - Revision: 3.4
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
kbenv kbprb KB255205

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from