Microsoft KB Archive/812448

= &quot;Limited Virtual Memory&quot; error message when you start your computer after you install or remove a hard disk =

Article ID: 812448

Article Last Modified on 11/21/2006

-

APPLIES TO


 * Microsoft Windows 2000 Professional Edition

-



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SYMPTOMS
After you install or remove a hard disk on your computer, when you start your computer you may receive the following error message:

Limited Virtual Memory

Your system is running without a correctly sized paging file. Please use the virtual memory option of the System applet in Control Panel to create a paging file, or to increase the initial size of your paging file.



CAUSE
This behavior may occur if the drive letters that represent the hard drives installed in your computer are listed incorrectly in the following registry key:



RESOLUTION
To resolve this behavior, follow these steps:

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.  Start your computer to the Windows 2000 Recovery Console. For more information about how to do so, click the following article number to view the article in the Microsoft Knowledge Base:

301645 How to use Recovery Console on a computer that does not start in Windows 2000

 Type the number that represents your Windows 2000 installation, and then press ENTER. Type the Administrator password, and then press ENTER. Rename the System file in the %SystemRoot%\System32\Config folder to System.old. To do so, type the following lines at the command prompt, pressing ENTER after each line:

cd system32\config

ren system system.old

 Copy the %SystemRoot%\Repair\System file to the %SystemRoot%\System32\Config folder. To do so, type the following lines at the command prompt, pressing ENTER after each line, where  is the drive and folder where Windows is installed :

cd \repair

copy system \system32\config

exit

Your computer restarts. Compare the contents of the current and original  registry keys. To do so: <ol style="list-style-type: lower-alpha;"> Click Start, and then click Run.</li> In the Open box, type regedt32, and then click OK .</li> Click the following key in the registry:

</li> On the Registry menu, click Load Hive.</li> In the Load Hive dialog box, locate the %SystemRoot%\System32\Config folder, click the System.old file, and then click Open.</li> In the Key Name box, type test, and then click OK.

This action loads the original  hive as a subkey of the current key using the name &quot;Test&quot;.

Compare the contents of the current  key with the contents of the   key in the original System.old hive that you loaded in step 6e.</li></ol>

.</li> Import the contents of the  key to the System.old file. To do so: <ol style="list-style-type: lower-alpha;"> Click the following key in the registry:

key.</li> On the Registry menu, click Save Key.</li> In the Save Key dialog box, click Desktop in the Save in box, type mounteddevices in the File name box, and then click Save.</li> Click the following key in the registry:

</li> On the Registry menu, click Restore. In the Restore Key dialog box, locate the Mounteddevices file that you saved to your desktop in step 7b, click the file, and then click Open.</li> Click Yes when you are prompted to continue the operation.</li> Click the following key in the registry:

</li> On the Registry menu, click Unload Hive.</li> Click Yes when you are prompted to continue the operation.</li> <li>Quit Registry Editor.</li></ol> </li> <li>Restart your computer to the Windows 2000 Recovery Console.</li> <li>Type the number that represents your Windows 2000 installation, and then press ENTER.</li> <li>Type the Administrator password, and then press ENTER.</li> <li>In the %SystemRoot%\System32\Config folder, rename the System file to System.bak, and then rename the System.old file to System. To do so, type the following lines at the command prompt, pressing ENTER after each line:

cd system32\config

ren system system.bak

ren system.old system

</li> <li>Type exit to restart your computer.</li></ol>

Note: If you have a working, parallel installation of Windows 2000, there is one more method to resolve this issue. If you install Windows 2000 to another folder in the same partition or if you install Windows 2000 to a different partition, you can replace the  registry key in your original installation with the same key from the working, parallel installation of Windows 2000. For more information about how to perform a parallel installation of Windows 2000, click the following article number to view the article in the Microsoft Knowledge Base:

266465 How to perform a parallel installation of Windows 2000 or Windows Server 2003

<div class="moreinformation_section">

MORE INFORMATION
For more information about how to troubleshoot other situations in where this error message can occur, click the following article numbers to view the articles in the Microsoft Knowledge Base:

257758 FIX: &quot;Limited Virtual Memory&quot; error message when you start your computer

140472 PRB: Limited virtual memory error when starting Windows NT

Keywords: kbprb KB812448

-

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

© Microsoft Corporation. All rights reserved.