Solved

The Win16 Subsystem was unable to enter Protected Mode, DOSX.EXE must be in your AUTOEXEC.NT and present in your PATH.

Posted on 2004-03-21
22
7,228 Views
Last Modified: 2007-12-19
Every time I try to install certain programs like The Font Thing, MS Office extras, or other programs of the like, I get this message. I attmepted to replace the autoexec.nt, command.com, and dosx.exe files but that didn't help either. I checked the RAM using memtest86 (ran about 5 passes) and it checks out OK.

Did I miss something?
0
Comment
Question by:usmcdevildog
  • 8
  • 7
  • 3
  • +3
22 Comments
 
LVL 11

Expert Comment

by:kabaam
ID: 10646101
DD,
What is the message you are getting?  Are there any errors in event viewer from install attempts?
0
 
LVL 11

Expert Comment

by:kabaam
ID: 10646108
duh... ignore me.  damn reservists don't know how to read.
check this MS link on the same error
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q103/1/04.asp&NoWebContent=1

Make sure that the line, "device=%SystemRoot%\system32\himem.sys," exists in the CONFIG.NT file.

Make sure that the line, "lh %SystemRoot%\system32\dosx.exe," exists in the AUTOEXEC.NT file.

Expand HIMEM.SYS, DOSX.EXE, or both from the Windows NT setup disks or CD- ROM disc if either or both are missing from the SYSTEM32 directory.

hth
0
 

Expert Comment

by:stand_56
ID: 10646154
My only experience with the win16 subsystem was that a poorly behaved application was eating up all the available GDI handles, which are not unlimited in XP.  Have a look in device manager and see if any such things are going on.  If so, the "fix" is to reduce the handlequota that you'll find in the registry from 10,000 to a lower number....I'm using 3000 and it's fine.
0
 

Author Comment

by:usmcdevildog
ID: 10646210
the comment from kabaam didn't work. that is pretty much what i had already tried before. i should add on a couple of things. OS is Win XP Pro SP1. I didn't have this problem prior to this last reformat (first one was factory, no problem; second one, no problem, reason for doing was too much garbage; third one (current), problem, reason for doing was i had installed the drivers in the wrong order in the second one which created problems requireing a 3rd reformat).

I looked in device manager and i couldn't find the gdi handles and there is no such thing as handlequota in my registry. Or did I miss something?
0
 

Author Comment

by:usmcdevildog
ID: 10646215
however i did do the suggestion from kabaam. With the same result as before.
0
 
LVL 11

Expert Comment

by:kabaam
ID: 10646297
try this one here
http://support.microsoft.com/default.aspx?scid=kb;en-us;314495
it includes some other line entries that are required
0
 

Author Comment

by:usmcdevildog
ID: 10646444
Those are all correct. The MS Office Add-ons I was refering to are from Office 2003. I don't know if they fit in under the 16-bit program category or not.
0
 

Expert Comment

by:stand_56
ID: 10648002
Agh....sorry.  I said "device manager", of course I meant "task manager".....what you get when you hit ctl-alt-del.  In task manager, the parameter is called GDI Objects.  Tha parameter I set to 3000 in the registry is called GDIProcessHandleQuota
0
 

Author Comment

by:usmcdevildog
ID: 10648950
Nothing. The only registry entry that came close was called gdi32 with a value of gdi32.dll No mention of gdi in the task manager either.
0
 

Expert Comment

by:stand_56
ID: 10649733
I'm very surprised that there's no entry called GDIProcessHandleQuota in your registry.  It's pretty fundamental.  As far as task manager, you're going to have to add some columns to your view on the processes sheet.  There's a world of information there, too much in fact.
0
 
LVL 11

Expert Comment

by:kabaam
ID: 10649920
If you can't find the dword entry in the registry... that may be the problem.
I am not familiar with GDI precesses but this is where it would be in the registry.  I found it in mine with a value of 10000
 HKEY_LOCAL_MACHINE/Software/Microsoft/Windows NT/CurrentVersion/Windows
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 

Author Comment

by:usmcdevildog
ID: 10651348
Ok, found the string in the registry and changed the value to 3000. Did a restart and still the same issue. Don't know why I didn't find the registry entry earlier, but the search didn't bring anything up using various different keywords (I wasn't inclined to go through each entry!).
0
 
LVL 11

Expert Comment

by:kabaam
ID: 10651438
ok... one question on the entry that is important.
when you change it to 3000 ... was that decimal or hexidecimal format?  It makes a big difference
Stand recommends using a LOWER number such as 3000.  in hex 3000 is larger than 12,000 decimal.
when viewing via regedit .. the number in ( ) is the decimal value.   the numbers preceding it are hex.
if you changed it to 3000 it should look something like    0000bb8(3000)
0
 

Author Comment

by:usmcdevildog
ID: 10651484
Yes, I did do the change in the decimal format, not the hexidecimal format. I know JUST enough about it to understand the difference.
0
 
LVL 11

Accepted Solution

by:
kabaam earned 125 total points
ID: 10651588
0
 
LVL 11

Expert Comment

by:kabaam
ID: 10651593
try the first one first... I think it is closer to your problem
0
 

Expert Comment

by:ptryan
ID: 11073746
I am experiencing the same problem as usmcdevildog.  I printed out the Microsoft support solutions listed by kabaam, 222975 and 168925, but unfortunately, the instructions to correct the problem are too difficult for me to understand.  I thought I was pretty good at computers, but I just don't understand the instructions.  Any suggestions?
0
 

Expert Comment

by:ptryan
ID: 11073808
Does anyone know if PCDoctor will fix this error?
0
 

Author Comment

by:usmcdevildog
ID: 11076101
well, to be quite honest with you, I think your best option would be to "repair the OS" not reinstall but just repair. That way, you do not need to reload all your software documents etc.

However, I would make a backup just in case it doesn't go right and you have to reinstall the OS anyway. I had it happen once to me, when I had SP2 Beta for WinXP Pro installed.

The repair solved the problem for me once and for all, the Microsoft seuggestions only work part of the time.

Hope this helps.
0
 

Expert Comment

by:addict1974
ID: 13339196
I have the same issue - the only difference is... I have 40 computers with this problem. Win2000 SP4.
0
 

Author Comment

by:usmcdevildog
ID: 13341956
I have only been able to fix the problem with a reinstall or repair (cannot be done with XP if it was upgraded to SP2 via internet or update disc). However, I have noticed that certain other problems I've had, can be solved by deleting the user profile and then recreating it. I haven't tried it on this problem yet, but it may work. Also, are you running specialty programs such as Maya, AutoCAD, 3D Studio Max, etc. They may cause problems as well.
0
 

Expert Comment

by:jschmidt2002
ID: 22320692
I received  this same error, "Win16 subsystem unable to enter Protected Mode," trying to run a 16-bit app in Windows XP SP2.  Googled and looked at a lot of threads, verified the existence of Autoexec.nt and Config.nt, verified proper configuration, verified the existence of mscdexnt.exe, redire.exe, and dosx.exe.  Tried the RAM configuration in Config.nt.  Another symptom I noticed is "file not found" 3 times when typing "command" at the XP command prompt (CMD).

I tried "dir C:\Windows\System32\dosx.exe" at the CMD line, and got "file not found."  So I changed the attributes of the dosx.exe file, removing the S (system) and H (hidden) attributes.  I typed "command" at the CMD line, and did NOT get "file not found."  I changed the same attributes on redir.exe and mscdexnt.exe.  Then, I tried running my 16-bit app, and it ran successfully!
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now