Explorer does not behave correctly when it is not the Default Shell

Last reviewed: November 27, 1998
Article ID: (e)000001

The information in this article applies to:

  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0

SYMPTOMS

When using a shell other than explorer.exe, on a per user basis, (i.e. it is possible that each user has a different shell) explorer does not function correctly in that it attempts to load as the main shell.

CAUSE

Explorer.exe looks at the [boot] section of the system file: system.ini for the 'shell' entry to determine if it is the default shell. Under Windows NT this is not actually an entry in system.ini but rather an entry in the registry that is mapped by the following entry under HKEY_LOCAL_MACHINE:

Software\Microsoft\Windows NT\CurrentVersion\IniFileMapping\system.ini\boot\shell

Which has the value SYS:Microsoft\Windows NT\CurrentVersion\Winlogon.

Which in turn maps to Software\Microsoft\Windows NT\CurrentVersion\Winlogon in the HKEY_LOCAL_MACHINE key. This is a global key value and therefore a per-user shell setting (under HKEY_CURRENT_USER) will not work.

WORKAROUND

See (e)000002.

STATUS

This behavior (can you believe it?) is by design.



THE INFORMATION PROVIDED IN THE (e) KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. (e) DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL (e) BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF (e) HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 27, 1998
© 1998 (e) Stuff. All rights reserved.