A remote session does not end immediately on a computer that is running Windows Server 2003 Service Pack 1 (901196)
The information in this article applies to:
- Microsoft Windows Server 2003 SP1, when used with:
- Microsoft Windows Server 2003, Enterprise Edition
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems
- Microsoft Windows Server 2003, Web Edition
- Microsoft Windows Server 2003, Standard x64 Edition
- Microsoft Windows Server 2003, Enterprise x64 Edition
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows registry SYMPTOMSYou try to close a published application shortly
after the application is started on a remote computer that is running Terminal Services and Microsoft
Windows Server 2003 Service Pack 1 (SP1). However, the remote session does not
end immediately. The Remote Desktop Connection window may stay open for up to
70 seconds.CAUSEThis issue occurs because Windows Server 2003 SP1 moves the
user and computer certificate autoenrollment into the Userinit process. The
certificate autoenrollment has up to 70 seconds to finish.RESOLUTIONWarning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk. To resolve this issue, create the AEExpress
registry subkey in the registry of the Windows Server 2003 SP1-based remote computer that is running Terminal Services. To do this, follow these steps. Note You have to create this registry key for every user on the Windows Server 2003 SP1-based computer. - Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following registry subkey:
HKEY_CURRENT_USER\Software\Microsoft\Cryptography\AutoEnrollment - On the Edit menu, point to New, and then click Key.
- Type AEExpress, and then press ENTER.
- On the File menu, click Exit to close Registry Editor.
Note We recommend that you not to use the AEExpress registry subkey in a regular production environment. If you have to use the AEExpress registry subkey, use it on a per-user basis.
WORKAROUNDTo work around this issue, follow these steps:
- Click Start, click Run,
type Gpedit.msc, and then click OK.
- Expand User Configuration, expand
Windows Settings, expand Security Settings,
and then click Public Key Policies.
- Double-click Autoenrollment Settings, and
then click the Do not enroll certificates automatically
option.
STATUS This
behavior is by design.
Modification Type: | Major | Last Reviewed: | 6/30/2006 |
---|
Keywords: | kbtshoot kbprb KB901196 kbAudITPRO |
---|
|