diff --git a/base/shell/explorer-new/explorer.c b/base/shell/explorer-new/explorer.c index 4ee65b0996a..bd103740e6c 100644 --- a/base/shell/explorer-new/explorer.c +++ b/base/shell/explorer-new/explorer.c @@ -407,6 +407,12 @@ _tWinMain(IN HINSTANCE hInstance, InitCommonControls(); OleInitialize(NULL); + /* + * Set our shutdown parameters: we want to shutdown the very last, + * but before any TaskMgr instance (which has a shutdown level of 1). + */ + SetProcessShutdownParameters(2, 0); + ProcessStartupItems(); if (GetShellWindow() == NULL)