The disconnected sessions are not deleted on a computer that is running Windows Server 2008 R2 or Windows 7 after a time-out if the users log on by using the Fast User Switching feature

Applies To
Windows 7 Enterprise Windows 7 Ultimate Windows Server 2008 R2 Standard Windows Server 2008 R2 Enterprise Windows Server 2008 R2 Datacenter

Symptoms

Consider the following scenario:

  • You have a computer that is running Windows Server 2008 R2 or Windows 7.

  • Some users log on by using the Fast User Switching feature. All the other sessions are at the disconnected state except the current active user.

  • You enable the following Group Policy setting by using the Gpedit.msc tool, and then you immediately refresh the Group Policy:
    Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Session Time Limit\Set time limit for disconnected sessions

In this scenario, the disconnected sessions are not deleted from the computer after a time-out.

Note This issue only occurs in the Fast User Switching feature. If you create a remote desktop connection to the computer and then disconnect, the disconnected session is deleted after a time-out.

Cause

This issue occurs because the Group Policy setting that is mentioned in the "Symptoms" section does not support the disconnected sessions that are created by using the Fast User Switching feature.

Resolution

To resolve this issue, install the following hotfix on the affected computers that are running Windows Server 2008 R2 or Windows 7.

To enable this option, you must add a new registry entry after you apply the hotfix. To do this, follow these steps.

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk. Note although the hotfix does not need to be installed on later versions the registry must still be set to enable this option.

⁠1⁠. Click Start , click Run , type regedit in the Open box, and then click OK .
⁠2⁠.  Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE \System\CurrentControlSet\Control\Terminal server\WinStations\Console 
⁠3⁠. On the Edit menu, point to New , and then click DWORD Value .
⁠4⁠. Type ApplySessionLimits , and then press ENTER.
⁠5⁠. On the Edit menu, click Modify .
⁠6⁠. In the Value data box, type 1 , and then click OK .
⁠7⁠.  Quit Registry Editor. 

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 the problem described in this article. 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:

http:⁠//support.microsoft.com/contactus/?ws=support 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.

Prerequisites

To apply this hotfix, both of the following conditions must be true:

  • You must be running Windows 7 or Windows Server 2008 R2.
  • Remote Connection Manager is enabled on the computer.

Registry information

To use the hotfix in this package, you have to make some changes to the registry.

Restart requirement

You may have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 7 and Windows Server 2008 R2 file information notes

Important Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies To" section in articles to determine the actual operating system that each hotfix applies to.

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows Server 2008 R2 and for Windows 7" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows 7

File name File version File size Date Time Platform
Gpme.dll 6.0.6001.22670 722,432 14-Apr-2010 17:52 x86
Gppref.dll 6.0.6001.22670 3,838,976 14-Apr-2010 17:52 x86
Gpprefbr.dll 6.0.6001.22670 691,200 14-Apr-2010 17:52 x86
Gpprefcn.dll 6.0.6001.22670 202,240 14-Apr-2010 17:52 x86
Gpregistrybrowser.dll 6.0.6001.22670 222,720 14-Apr-2010 17:52 x86
Propshts.dll 6.0.6001.22670 2,139,648 14-Apr-2010 17:52 x86
Gpme.dll 6.0.6002.22382 722,432 14-Apr-2010 19:00 x86
Gppref.dll 6.0.6002.22382 3,838,976 14-Apr-2010 19:00 x86
Gpprefbr.dll 6.0.6002.22382 691,200 14-Apr-2010 19:00 x86
Gpprefcn.dll 6.0.6002.22382 202,240 14-Apr-2010 19:00 x86
Gpregistrybrowser.dll 6.0.6002.22382 222,720 14-Apr-2010 19:00 x86
Propshts.dll 6.0.6002.22382 2,139,648 14-Apr-2010 19:00 x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name File version File size Date Time Platform
Gpme.dll 6.0.6001.22670 771,584 14-Apr-2010 18:15 x64
Gppref.dll 6.0.6001.22670 4,331,008 14-Apr-2010 18:15 x64
Gpprefbr.dll 6.0.6001.22670 956,928 14-Apr-2010 18:15 x64
Gpprefcn.dll 6.0.6001.22670 265,728 14-Apr-2010 18:15 x64
Gpregistrybrowser.dll 6.0.6001.22670 290,816 14-Apr-2010 18:15 x64
Propshts.dll 6.0.6001.22670 3,104,256 14-Apr-2010 18:15 x64
Gpme.dll 6.0.6002.22382 771,584 14-Apr-2010 18:57 x64
Gppref.dll 6.0.6002.22382 4,331,008 14-Apr-2010 18:57 x64
Gpprefbr.dll 6.0.6002.22382 956,928 14-Apr-2010 18:57 x64
Gpprefcn.dll 6.0.6002.22382 265,728 14-Apr-2010 18:57 x64
Gpregistrybrowser.dll 6.0.6002.22382 290,816 14-Apr-2010 18:57 x64
Propshts.dll 6.0.6002.22382 3,104,256 14-Apr-2010 18:57 x64
Gpme.dll 6.0.6001.22670 722,432 14-Apr-2010 17:52 x86
Gppref.dll 6.0.6001.22670 3,838,976 14-Apr-2010 17:52 x86
Gpprefbr.dll 6.0.6001.22670 691,200 14-Apr-2010 17:52 x86
Gpprefcn.dll 6.0.6001.22670 202,240 14-Apr-2010 17:52 x86
Gpregistrybrowser.dll 6.0.6001.22670 222,720 14-Apr-2010 17:52 x86
Propshts.dll 6.0.6001.22670 2,139,648 14-Apr-2010 17:52 x86
Gpme.dll 6.0.6002.22382 722,432 14-Apr-2010 19:00 x86
Gppref.dll 6.0.6002.22382 3,838,976 14-Apr-2010 19:00 x86
Gpprefbr.dll 6.0.6002.22382 691,200 14-Apr-2010 19:00 x86
Gpprefcn.dll 6.0.6002.22382 202,240 14-Apr-2010 19:00 x86
Gpregistrybrowser.dll 6.0.6002.22382 222,720 14-Apr-2010 19:00 x86
Propshts.dll 6.0.6002.22382 2,139,648 14-Apr-2010 19:00 x86

For all supported IA-64-based versions of Windows Server 2008 R2

File name File version File size Date Time Platform
Gpme.dll 6.0.6001.22670 1,038,848 14-Apr-2010 17:45 IA-64
Gppref.dll 6.0.6001.22670 5,992,960 14-Apr-2010 17:45 IA-64
Gpprefbr.dll 6.0.6001.22670 1,842,688 14-Apr-2010 17:45 IA-64
Gpprefcn.dll 6.0.6001.22670 480,256 14-Apr-2010 17:45 IA-64
Gpregistrybrowser.dll 6.0.6001.22670 563,200 14-Apr-2010 17:45 IA-64
Propshts.dll 6.0.6001.22670 5,739,008 14-Apr-2010 17:45 IA-64
Gpme.dll 6.0.6002.22382 1,038,848 14-Apr-2010 18:36 IA-64
Gppref.dll 6.0.6002.22382 5,992,960 14-Apr-2010 18:36 IA-64
Gpprefbr.dll 6.0.6002.22382 1,842,688 14-Apr-2010 18:36 IA-64
Gpprefcn.dll 6.0.6002.22382 480,256 14-Apr-2010 18:36 IA-64
Gpregistrybrowser.dll 6.0.6002.22382 563,200 14-Apr-2010 18:36 IA-64
Propshts.dll 6.0.6002.22382 5,739,008 14-Apr-2010 18:37 IA-64
Gpme.dll 6.0.6001.22670 722,432 14-Apr-2010 17:52 x86
Gppref.dll 6.0.6001.22670 3,838,976 14-Apr-2010 17:52 x86
Gpprefbr.dll 6.0.6001.22670 691,200 14-Apr-2010 17:52 x86
Gpprefcn.dll 6.0.6001.22670 202,240 14-Apr-2010 17:52 x86
Gpregistrybrowser.dll 6.0.6001.22670 222,720 14-Apr-2010 17:52 x86
Propshts.dll 6.0.6001.22670 2,139,648 14-Apr-2010 17:52 x86
Gpme.dll 6.0.6002.22382 722,432 14-Apr-2010 19:00 x86
Gppref.dll 6.0.6002.22382 3,838,976 14-Apr-2010 19:00 x86
Gpprefbr.dll 6.0.6002.22382 691,200 14-Apr-2010 19:00 x86
Gpprefcn.dll 6.0.6002.22382 202,240 14-Apr-2010 19:00 x86
Gpregistrybrowser.dll 6.0.6002.22382 222,720 14-Apr-2010 19:00 x86
Propshts.dll 6.0.6002.22382 2,139,648 14-Apr-2010 19:00 x86

Status

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 about software update terminology, 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

Additional file information for Windows 7 and for Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7

File name Package_1_for_kb980356~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not Applicable
File size 1,815
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_2_for_kb980356~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not Applicable
File size 1,797
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_3_for_kb980356~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not Applicable
File size 2,139
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_4_for_kb980356~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not Applicable
File size 2,121
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_client_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not Applicable
File size 1,434
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_client_2~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not Applicable
File size 1,529
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_client~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not Applicable
File size 1,712
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_server_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not Applicable
File size 1,416
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_server_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not Applicable
File size 1,529
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_server~31bf3856ad364e35~x86~~6.0.1.0.mum
File version Not Applicable
File size 1,713
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name X86_6640ac7e40a644e10ce87effd6b468af_31bf3856ad364e35_6.0.6001.22670_none_f728b61d7939bf11.manifest
File version Not Applicable
File size 721
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name X86_a66b51deb65956c90ba6f1ce380fc79e_31bf3856ad364e35_6.0.6002.22382_none_6010bd487dcce5c8.manifest
File version Not Applicable
File size 721
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name X86_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_6.0.6001.22670_none_b672e255ca13b185.manifest
File version Not Applicable
File size 1,362,318
Date (UTC) 15-Apr-2010
Time (UTC) 00:41
Platform Not Applicable
File name X86_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_6.0.6002.22382_none_b85084e5c7405548.manifest
File version Not Applicable
File size 1,362,318
Date (UTC) 14-Apr-2010
Time (UTC) 21:32
Platform Not Applicable

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name Amd64_3933fe7a3f5e3a57cacf7a2465b84bbc_31bf3856ad364e35_6.0.6002.22382_none_3afb269d8be0071d.manifest
File version Not Applicable
File size 1,090
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Amd64_79c51d59f8ceca57974618b385b8fc78_31bf3856ad364e35_6.0.6001.22670_none_bbf18c37d5bbc1e7.manifest
File version Not Applicable
File size 1,090
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Amd64_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_6.0.6001.22670_none_12917dd9827122bb.manifest
File version Not Applicable
File size 1,362,376
Date (UTC) 15-Apr-2010
Time (UTC) 00:45
Platform Not Applicable
File name Amd64_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_6.0.6002.22382_none_146f20697f9dc67e.manifest
File version Not Applicable
File size 1,362,376
Date (UTC) 14-Apr-2010
Time (UTC) 21:18
Platform Not Applicable
File name Package_1_for_kb980356~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not Applicable
File size 2,064
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_2_for_kb980356~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not Applicable
File size 2,046
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_3_for_kb980356~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not Applicable
File size 2,392
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_4_for_kb980356~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not Applicable
File size 2,374
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not Applicable
File size 1,442
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_client_2~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not Applicable
File size 1,539
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_client~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not Applicable
File size 1,722
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not Applicable
File size 1,424
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_server_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not Applicable
File size 1,539
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File version Not Applicable
File size 1,723
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name X86_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_6.0.6001.22670_none_b672e255ca13b185.manifest
File version Not Applicable
File size 1,362,318
Date (UTC) 15-Apr-2010
Time (UTC) 00:41
Platform Not Applicable
File name X86_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_6.0.6002.22382_none_b85084e5c7405548.manifest
File version Not Applicable
File size 1,362,318
Date (UTC) 14-Apr-2010
Time (UTC) 21:32
Platform Not Applicable

Additional files for all supported IA-64-based versions of Windows Server 2008 R2

File name Ia64_2fdde8200724aafc711633e8fd988a94_31bf3856ad364e35_6.0.6002.22382_none_d0caf83a48e3ce7a.manifest
File version Not Applicable
File size 1,088
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Ia64_ec0d5b31c74eec742e1ab7952674ab0d_31bf3856ad364e35_6.0.6001.22670_none_912cd77308fbd90c.manifest
File version Not Applicable
File size 1,088
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Ia64_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_6.0.6001.22670_none_b674864bca11ba81.manifest
File version Not Applicable
File size 1,362,347
Date (UTC) 14-Apr-2010
Time (UTC) 21:32
Platform Not Applicable
File name Ia64_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_6.0.6002.22382_none_b85228dbc73e5e44.manifest
File version Not Applicable
File size 1,362,347
Date (UTC) 15-Apr-2010
Time (UTC) 01:48
Platform Not Applicable
File name Package_1_for_kb980356~31bf3856ad364e35~ia64~~6.0.1.0.mum
File version Not Applicable
File size 2,041
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_2_for_kb980356~31bf3856ad364e35~ia64~~6.0.1.0.mum
File version Not Applicable
File size 2,204
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File version Not Applicable
File size 1,420
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_server_1~31bf3856ad364e35~ia64~~6.0.1.0.mum
File version Not Applicable
File size 1,371
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name Package_for_kb980356_server~31bf3856ad364e35~ia64~~6.0.1.0.mum
File version Not Applicable
File size 1,716
Date (UTC) 15-Apr-2010
Time (UTC) 11:30
Platform Not Applicable
File name X86_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_6.0.6001.22670_none_b672e255ca13b185.manifest
File version Not Applicable
File size 1,362,318
Date (UTC) 15-Apr-2010
Time (UTC) 00:41
Platform Not Applicable
File name X86_microsoft-windows-g..rveradmintools-gpme_31bf3856ad364e35_6.0.6002.22382_none_b85084e5c7405548.manifest
File version Not Applicable
File size 1,362,318
Date (UTC) 14-Apr-2010
Time (UTC) 21:32
Platform Not Applicable