Microsoft KB Archive/255205

= How to Delete the Pagefile.sys File in Recovery Console =

Article ID: 255205

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Datacenter Server

-



This article was previously published under Q255205





SYMPTOMS
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).



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



RESOLUTION
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:  Boot into Recovery Console. Because you boot into the %SystemRoot% folder (most commonly the C:\Winnt folder), type the following command:

cd \

 Type the following command to overwrite the existing Pagefile.sys file with Boot.ini:

copy c:\boot.ini pagefile.sys

 Type the following command:

del pagefile.sys

 After you copy Boot.ini over to Pagefile.sys, Pagefile.sys appears in the directory listing.</ol>

<div class="status_section">

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

Additional query words: pagefile

Keywords: kbenv kbprb KB255205

-

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

© Microsoft Corporation. All rights reserved.