Use several Explorer.exe processes to increase stability

5 February 2001 by Snakefoot | Comment » | Trackback Off
By default the same Explorer.exe is used to support the Desktop, Taskbar and Folder-views. If one of these get into a bad state or crashes then all of them will fail. This can usually be seen when having to close a Windows Explorer showing folder, as it also closes the desktop (One can just prest CTRL+SHIFT+ESC to launch the Task Manager and start a new task called "explorer" and the desktop will return).

It is possible to configure that each Folder-view should get their own Explorer.exe process. Create/update this DWORD in the registry:

[HKEY_CURRENT_USER \Software \Microsoft \Windows \CurrentVersion \Explorer]
SeparateProcess = 1 (Default=0)

Matches the setting "Launch folder windows in a separate process" in Folder Options.

Note this option is also required if wanting to launch Explorer.exe with different credentials using RunAs though it is not supported by Microsoft (Another option is just to make a copy of Explorer.exe to ex. Xplorer.exe).

More Info MS KB Q264728 (Problem with Explorer.exe showing Windows-folder at startup)
More Info MS KB Q321942
More Info MS KB Q817861 (Problem with wrong labels on mapped network drives)

Note there exists a different option that will enable Desktop and Taskbar to get their own Explorer.exe process, but this option has several annoying side effects (See below). It is intended to be used when debugging the shell, as one doesn't have to stop and start the desktop and taskbar. Create/update this DWORD in the registry:

[HKEY_CURRENT_USER \Software \Microsoft \Windows \CurrentVersion \Explorer]
DesktopProcess = 1 (Default=0)

More Info MS KB Q156366
More Info MS KB Q181562 (Problem when using WinNT4 and IE 4.0/4.01)
More Info MS KB Q228502 (Problem with Explorer.exe showing Windows-folder at startup)
More Info MS KB Q306117 (Problem with wrong labels on mapped network drives)

Note if launching Internet Explorer (iexplore.exe) inside Explorer (Start -> Run...), then it will re-use the Explorer-process unless separate process have been selected for iexplore:

[HKEY_CURRENT_USER \Software \Microsoft \Windows \CurrentVersion \Explorer]
BrowseNewProcess = "Yes"

Matches the setting "Launch browser windows in a separate process" on Advanced-tab in Internet Options. With IE 5.01 it is automatically enabled if having more than 32 MByte RAM.

Note if using Windows XP and having set the value to "No", then Grouping of similar tasks in the taskbar will put Windows Explorer and Internet Explorer in the same group.

More Info MS KB Q175232
More Info MS KB Q240928

Credits is-it-true.org

Updated: 3 September 2007

Leave a comment


NB! Use the Forum for computer help and off-topic questions.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>