Discussion Locked

can't find HIMEM.SYS

0 helpful
16 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I get an error message stating it can't load or it can't find himem.sys. (haven't seen the machine yet. this is what I've been told over the phone.) He says that it will go into Safe Mode but won't load his Win98. I've read of one fix which is this....
Make sure the Config.sys file has a line which reads....
DEVICE=C:\WINDOWS\HIMEM.SYS
Thanks for any suggestions.

16 replies

by c_m_s

Hi there,
From the description you gave you should ensure that HIMEM.SYS is in the Windows directory. This is because IO.SYS and MSDOS.SYS have taken most of the configuration settings that used to be handled by CONFIG.SYS and AUTOEXEC.BAT and HIMEM.SYS is one of them.
If it is there then make sure IO.SYS and MSDOS.SYS are not corrupted. As a last resort an entry in CONFIG.SYS may correct this problem, but others are probably further down the road, especially if the above two files are corrupted.

Good Luck,

Mike

by yagar

Not sitting at the machine I guess one of these

1 A virus has corrupted the system files or registry or msdos.sys

2 The hard drive is going bad

3 The boot sector it self is bad in the hard drive but the hard drive is OK

by dmiles

There may be something loading before the himem.sys line that could be causing the problem
Remove the line or move the himem.sys line on top
In config.sys lines should be
DOS=HIGH,UMB
device=c:\windows\himem.sys
Use a startup disk to boot computer
change drive to C: at dos prompt
C:\more config.sys press enter(or you see the edit command if you need to make changes in config.sys
It should display contents of config.sys on the screen
Look for line Device=C:\WINDOWS\HIMEM.SYS
Copy the HIMEM.SYS from the boot disk to the location on C: drive specified in the config.sys file
Himem.sys should be on line 1 of your config.sys
device=c:\windows\emm386.exe noems

by shuja52

1.Boot with WIN98 Startupt disk and transfer sys file a:sys c:
2.if it fail then ext file himeme.sys to ite original location.
3. If problem persist then there are virus in boot sector namely "ONE HALF BOOT SECTOR VIRUS" or "WRITE VIRUS"

by fenaikh

Hi
This could be:
1- A virus damaging system files. (check and clean it if found)
replace damage files. example damaged
himem.sys rename it then copy it say from othere machine.
2- himem.sys path in config.sys is not right.
3- a damaged Msdos.sys or the WinDir=, WinBootDir= , ect ..
in it is not the correct path. (check msdos.sys)
and check that the windir=,WinBootDir= is the same as where windows is (smome times user drag or move
folders or damage msdos.sys (may be used sys.comcommand)
4- Delete the Wnbootng.sts file in the Windows folder
this file is created when Windows starts and should be deleted by windows
if successfully started. (if not delete you will get error massages)

How to fix damaged msdos.sys:

1-attrib -s -h -r c:\msdos.sys
ren c:\msdos.sys *.dmg

2- locate edit.com dir c:\eidt.com /s then edit a new msdos.sys files
places these on it : for example

[Paths]
WinDir=C:\WIN98 (put the correct path where windows is installed)
WinBootDir=C:\WIN98
HostWinBootDrv=C

(Note you may add these too)

[Options]
BootMulti=1
BootGUI=1
DoubleBuffer=1
AutoScan=1

3- save it and reboot your pc.

by jerridorw

Also, make sure that HIMEM.SYS exists in the C:\windows directory. Plus if windows keeps booting into safe mode, use a boot disk, and use the SYS A: C: command which replaces your startup files. Thus fixing any possible corruption in config.sys,& command.com

by dmowatt

Try looking at the Microsoft article number Q96711 in the Knowledge Base. I have seen this a lot on our Compaq Desk Pro's. And it fixes for use by adding the line to config.sys : Device=C:\Windows\himem.sys /cpuclock:on /v /machine:8

Machine number differs by the manuf.

Hope this helps!

This discussion is closed to new replies.