When you start a terminal session to a computer that is running Windows Server 2008 and that has the terminal server role installed, the full Windows desktop starts instead of the program that is specified by the terminal server

Applies to: Windows Server 2008 for Itanium-Based SystemsWindows Server 2008 DatacenterWindows Server 2008 Enterprise


Consider the following scenario:
  • You start a terminal session to a computer that is running Windows Server 2008 and has the terminal server role installed.
  • A specific program is configured to start on this terminal server when a terminal session is started.
  • You end the terminal session while the terminal session is still being established. For example, you close the terminal session window when you see the "Preparing your desktop" screen.
  • You start another terminal session to the same terminal server by using the same user account.
In this scenario, the full Windows desktop starts instead of the specified program.


When a terminal session starts, the userinit.exe program determines which program to start. However, when this issue occurs, the server does not correctly log off from the terminal session. Therefore, the userinit.exe program cannot locate the specified program. Instead, the program starts the explorer.exe process. Therefore, the full Windows desktop appears in the terminal session.


A hotfix is available to resolve this issue. After you apply this hotfix, the userinit.exe program logs off the current terminal session if it cannot locate the specified program.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Important Windows Vista and Windows Server 2008 hotfixes are included in the same packages. However, only one of these products may be listed on the “Hotfix Request” page. To request the hotfix package that applies to both Windows Vista and Windows Server 2008, just select the product that is listed on the page.


To apply this hotfix, your computer must be running one of the following operating systems:
  • Windows Server 2008
  • Windows Server 2008 Service Pack 2

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other previously released hotfixes.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Server 2008 file information note

The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are
listed separately. MUM and MANIFEST files, and the associated security catalog (.cat) files, are critical to maintaining the state of the updated component. The security catalog files (attributes not listed) are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatformSP requirement
For all supported x64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatformSP requirement
For all supported Itanium-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatformSP requirement


To work around this issue, you log off the terminal session, and then start a new one.


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information for Windows Server 2008

Additional files for all supported x86-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Package_for_kb969940_sc_0~31bf3856ad364e35~x86~~ Applicable1,42106-May-200913:33Not Applicable
Package_for_kb969940_sc_1~31bf3856ad364e35~x86~~ Applicable1,36106-May-200913:33Not Applicable
Package_for_kb969940_sc~31bf3856ad364e35~x86~~ Applicable1,70106-May-200913:33Not Applicable
Package_for_kb969940_server_0~31bf3856ad364e35~x86~~ Applicable1,42506-May-200913:33Not Applicable
Package_for_kb969940_server_1~31bf3856ad364e35~x86~~ Applicable1,36506-May-200913:33Not Applicable
Package_for_kb969940_server~31bf3856ad364e35~x86~~ Applicable1,71306-May-200913:33Not Applicable
Package_for_kb969940_winpesrv_0~31bf3856ad364e35~x86~~ Applicable1,42206-May-200913:33Not Applicable
Package_for_kb969940_winpesrv~31bf3856ad364e35~x86~~ Applicable1,43006-May-200913:33Not Applicable
X86_microsoft-windows-userinit_31bf3856ad364e35_6.0.6001.22425_none_dca1be2cead945df.manifestNot Applicable7,93004-May-200914:03Not Applicable
X86_microsoft-windows-userinit_31bf3856ad364e35_6.0.6002.22128_none_de8b30f2e7fce708.manifestNot Applicable7,93004-May-200914:04Not Applicable
Additional files for all supported x64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Amd64_microsoft-windows-userinit_31bf3856ad364e35_6.0.6001.22425_none_38c059b0a336b715.manifestNot Applicable7,96404-May-200914:21Not Applicable
Amd64_microsoft-windows-userinit_31bf3856ad364e35_6.0.6002.22128_none_3aa9cc76a05a583e.manifestNot Applicable7,96404-May-200913:36Not Applicable
Package_for_kb969940_sc_0~31bf3856ad364e35~amd64~~ Applicable1,42906-May-200913:33Not Applicable
Package_for_kb969940_sc_1~31bf3856ad364e35~amd64~~ Applicable1,36906-May-200913:33Not Applicable
Package_for_kb969940_sc~31bf3856ad364e35~amd64~~ Applicable1,71106-May-200913:33Not Applicable
Package_for_kb969940_server_0~31bf3856ad364e35~amd64~~ Applicable1,43306-May-200913:33Not Applicable
Package_for_kb969940_server_1~31bf3856ad364e35~amd64~~ Applicable1,37306-May-200913:33Not Applicable
Package_for_kb969940_server~31bf3856ad364e35~amd64~~ Applicable1,72306-May-200913:33Not Applicable
Package_for_kb969940_winpesrv_0~31bf3856ad364e35~amd64~~ Applicable1,43006-May-200913:33Not Applicable
Package_for_kb969940_winpesrv~31bf3856ad364e35~amd64~~ Applicable1,43806-May-200913:33Not Applicable
Additional files for all supported Itanium-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Ia64_microsoft-windows-userinit_31bf3856ad364e35_6.0.6001.22425_none_dca36222ead74edb.manifestNot Applicable7,94704-May-200913:53Not Applicable
Ia64_microsoft-windows-userinit_31bf3856ad364e35_6.0.6002.22128_none_de8cd4e8e7faf004.manifestNot Applicable7,94704-May-200913:23Not Applicable
Package_for_kb969940_sc_0~31bf3856ad364e35~ia64~~ Applicable1,42506-May-200913:33Not Applicable
Package_for_kb969940_sc_1~31bf3856ad364e35~ia64~~ Applicable1,36506-May-200913:33Not Applicable
Package_for_kb969940_sc~31bf3856ad364e35~ia64~~ Applicable1,70606-May-200913:33Not Applicable
Package_for_kb969940_server_0~31bf3856ad364e35~ia64~~ Applicable1,42906-May-200913:33Not Applicable
Package_for_kb969940_server_1~31bf3856ad364e35~ia64~~ Applicable1,36806-May-200913:33Not Applicable
Package_for_kb969940_server~31bf3856ad364e35~ia64~~ Applicable1,71806-May-200913:33Not Applicable
Package_for_kb969940_winpesrv_0~31bf3856ad364e35~ia64~~ Applicable1,42606-May-200913:33Not Applicable
Package_for_kb969940_winpesrv~31bf3856ad364e35~ia64~~ Applicable1,43406-May-200913:33Not Applicable