Article ID: 812448 - Last Review: November 21, 2006 - Revision: 3.3 "Limited Virtual Memory" error message when you start your computer after you install or remove a hard diskAfter 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. 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: HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices To resolve this behavior, follow these
steps: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows - 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
(http://support.microsoft.com/kb/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
%SystemRoot% is the drive and folder where Windows
is installed :
cd %systemroot%\repair copy system %systemroot%\system32\config exit Your computer restarts. - Compare the contents of the current and original
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
registry keys. To do so:
- Click Start, and then click
Run.
- In the Open box, type
regedt32, and then click
OK.
- Click the following key in the registry:
HKEY_LOCAL_MACHINE - On the Registry menu, click
Load Hive.
- In the Load Hive dialog box, locate
the %SystemRoot%\System32\Config folder, click the System.old
file, and then click Open.
- In the Key Name box, type
test, and then click OK.
This
action loads the original HKEY_LOCAL_MACHINE hive as a subkey of
the current key using the name "Test".
Compare the contents of the
current HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
key with the contents of the HKEY_LOCAL_MACHINE\Test\MountedDevices
key in the original System.old hive that you loaded in step 6e. . - Import the contents of the
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
key to the System.old file. To do so:
- Click the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices key. - On the Registry menu, click
Save Key.
- In the Save Key dialog box, click
Desktop in the Save in box, type
mounteddevices in the File name
box, and then click Save.
- Click the following key in the registry:
HKEY_LOCAL_MACHINE\Test\MountedDevices - 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.
- Click Yes when you are prompted to
continue the operation.
- Click the following key in the registry:
HKEY_LOCAL_MACHINE\test\MountedDevices - On the Registry menu, click
Unload Hive.
- Click Yes when you are prompted to
continue the operation.
- Quit Registry Editor.
- Restart your computer to the Windows 2000 Recovery
Console.
- Type the number that represents your Windows 2000
installation, and then press ENTER.
- Type the Administrator password, and then press
ENTER.
- 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 - Type exit to restart your
computer.
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 HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
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
(http://support.microsoft.com/kb/266465/
)
How to perform a parallel installation of Windows 2000 or Windows Server 2003
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
(http://support.microsoft.com/kb/257758/
)
FIX: "Limited Virtual Memory" error message when you start your computer
140472
(http://support.microsoft.com/kb/140472/
)
PRB: Limited virtual memory error when starting Windows NT
APPLIES TO- Microsoft Windows 2000 Professional Edition
| |