Not enough memory to start windows

I reinstalled Win 95 today.  The drive had Windows on it once before but I began using it as a backup only drive.  To save space I had deleted the Windows and DOS directories.  Today I placed that drive back in service as the main drive and "reinstalled" Windows on it.  WIndows detected that it had been installed before and I selected the option for a full reinstall.

When Windows first starts I get the error message "Not enough memory available to run Windows.  Quit one or more programs or restart your computer."

Config.sys has the following lines:
Device=C:\Windows\Himem.sys
Device=C:\Windows\eMM386.exe RAM ON
Buffers=20,0
Files=20
Devicehigh=C:\Windows\Ramdrive.sys 1000/e

The ONLY thing I am loading in auotexec.bat is DOSKEY.  

If I start with either the RAM drive OR DOSKEY remmed out I can start Windows.  Now I don't really _need_ Doskey but that fact that I get this error leads me to beleive that something else is wrong.  I have used a similar configuration on the last master drive with no problem.  If I boot into Windows via safe-mode I have no trouble starting Windows. MSKB indicates that the error message results when a RAM drive is defined oas being over 15 megs, but I am well under that.

Running  P75, stealth video card, SB 16 sound card, ComStar 33.6 modem, 32 megs RAM, Conner 540 HD.

KubaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dew_associatesCommented:
Hi Kuba, welcome back!

Change your config.sys to this and try it:

Device=C:\Windows\Himem.sys
Device=C:\Windows\eMM386.exe NOEMS
Dos=HIGH,UMB
Buffers=30,0
Files=40

If this still doesn't take care of the problem, check your Msdos.sys file using wordpad for any errors. Msdos.sys is created from config.sys, autoexec.bat etc.

Dennis
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
KubaAuthor Commented:
Hi Dennis,

Sorry to _be_ back <VBG>.  I am assuming that you meant for me to keep the RAM disk line in (which I did).  That was too easy.  Booted just fine.  But a followup question remains.
It looks like I might not need the EMS.  The system has a dedicated use.  When the program was DOS based I needed EMS but a quick test looks like it is not going to be needed in the Win 95 version.  Even so, that config.sys was booting just fine for me for many weeks.  Why doesn't it work now?  
0
dew_associatesCommented:
As you begin working with Windows and add various programs, windows needs additional buffering as well as the ability to open more than the basic number of files. By limiting it to 20 or 30, it couldn't fully load the OS. You may not need the Ramdrive entry either. Insert a REM before the line, save the file, reboot and try it!
Dennis

BTW: Your always welcome here, that's what this site is all about!
0
KubaAuthor Commented:
The thing with the files is that this was a fresh installation of Windows and should have resulted in fewer files I would think.  I do need the RAM drive.  The program I run uses it to speed things up.  Although I would imagine that as the author completes the conversion from DOS to Windows he may eliminate that need.
0
dew_associatesCommented:
There's no way to anticipate file usuage with Win95. The numbers I gave you are those published in the Win95 Resource Kit.
Dennis
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.