CMD.EXE - Program too big to fit in memory

Posted on 2009-12-30
Medium Priority
Last Modified: 2012-05-08
Windows Server 2003 R2 will not run CMD.EXE or any *.cmd batch files. I loaded up PowerShell and tried to run cmd.exe from there to view the error message, and came up with "Program too big to fit in memory." The server does nothing but run a SQL Server 2005 database, and there are no performance or other problems with the server. It has run for the last couple of weeks with no problem except for the cmd.exe issue. Rebooting the server has no effect. COMMAND.COM runs fine.

mem /d (from PowerShell) returns:

  Address     Name          Size       Type
  -------     --------     ------     ------
  000000                   000400     Interrupt Vector
  000400                   000100     ROM Communication A
  000500                   000200     DOS Communication A

  000700      IO           000370     System Data
                  CON                   System Device Dri
                  AUX                   System Device Dri
                  PRN                   System Device Dri
                  CLOCK$                System Device Dri
                  COM1                  System Device Dri
                  LPT1                  System Device Dri
                  LPT2                  System Device Dri
                  LPT3                  System Device Dri
                  COM2                  System Device Dri
                  COM3                  System Device Dri
                  COM4                  System Device Dri

  000A70      MSDOS        001650     System Data

  0020C0      IO           002080     System Data
                KBD        000CE0      System Program
                HIMEM      0004E0      DEVICE=
                  XMSXXXX0              Installed Device
                           000490      FILES=
                           000090      FCBS=
                           000170      LASTDRIVE=
                           0007D0      STACKS=
  004150      COMMAND      000A20     Program
  004B80      MSDOS        000070     -- Free --
  004C00      COMMAND      0006F0     Environment
  005300      MEM          000620     Environment
  005930      MEM          0174E0     Program
  01CE20      MSDOS        0831C0     -- Free --
  09FFF0      SYSTEM       02D000     System Program

  0CD000      MSDOS        000610     -- Free --
  0CD620      MSCDEXNT     000160     Program
  0CD790      REDIR        000A70     Program
  0CE210      DOSX         0087B0     Program
  0D69D0      DOSX         000080     Data
  0D6A60      MSDOS        005580     -- Free --
  0DBFF0      SYSTEM       008000     System Program

  0E4000      IO           003100     System Data
                MOUSE      0030F0      System Program
  0E7110      MSDOS        008EE0     -- Free --

    655360 bytes total conventional memory
    655360 bytes available to MS-DOS
    632496 largest executable program size

   1048576 bytes total contiguous extended memory
         0 bytes available contiguous extended memory
    941056 bytes available XMS memory
           MS-DOS resident in High Memory Area
Question by:jaredfaulkner

Accepted Solution

fsouzabrasil earned 2000 total points
ID: 26147238
this error explain corrupted file.

Author Closing Comment

ID: 31671277
SFC /scannow detected/corrected the corruption.

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question