"Limited Virtual Memory" Error Message When You Start Your Computer After You Install Or Remove a Hard Disk (812448)
The information in this article applies to:
- Microsoft Windows 2000 Professional
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 SYMPTOMSAfter 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 Pane to create a paging file, or to
increase the initial size of your paging file. CAUSEThis 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 RESOLUTIONTo 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 additional 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
%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:
- 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 additional 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
Modification Type: | Major | Last Reviewed: | 11/5/2003 |
---|
Keywords: | kbprb KB812448 |
---|
|
|
©2003 Microsoft Corporation. All rights reserved.
|
|