Changing Paging File From Command Prompt

  • Thread starter Thread starter Adam
  • Start date Start date
A

Adam

When I log in to Win2K Professional, I get the following
error.

"Limited Virtual Memory

Your System has no paging file, or the paging file is too
small."

After clicking ok, I'm presented with the login prompt
again. Booting in safe mode yields the same results. If
I could boot in to windows I could probably check the size
of the page file and set it to zero, then reboot, and set
it to the appropriate size, (as suggested by KB257758) but
I can't load Windows.

Does anyone know how to modify the paging file size from a
command prompt?
 
That sounds like more then a paging file issue.
Have you done anything to the machine recently?
Like ghost or image the drive, or put the drive in another machine?
 
Adam said:
When I log in to Win2K Professional, I get the following
error.

"Limited Virtual Memory

Your System has no paging file, or the paging file is too
small."

After clicking ok, I'm presented with the login prompt
again. Booting in safe mode yields the same results. If
I could boot in to windows I could probably check the size
of the page file and set it to zero, then reboot, and set
it to the appropriate size, (as suggested by KB257758) but
I can't load Windows.

Does anyone know how to modify the paging file size from a
command prompt?


If this machine is on a network, you could connect to the registry from
another machine and change the size remotely:
Key:
"HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory
Management"
Value:
"PagingFiles" (REG_MULT_SZ)

Or if it's not on a network you could install another copy of Windows 2000
to the same machine into another folder, like C:\Win2k and then load the
other system's registry using REGEDT32.EXE and the "load hive" feature.
 
Back
Top