Select the product you need help with
Remote Desktop or RemoteApp session does not terminate due to spawned splwow64.exe processArticle ID: 2513330 - View products that this article applies to. SYMPTOMSA Remote Desktop session that specifies a program to start on logon may not terminate in a timely manner when the specified program is exited. The remote session may appear empty with only a blank background. This program may be specified under "Start the following program on connection" in RDP client settings or "Start the following program at logon" in Active Directory user properties. CAUSEThe specified program may have spawned a new process. As part of the Remote Desktop session termination logic, if the specified program spawns a new process that new process is considered part of the program and the session will not terminate until that process also terminates. One scenario that meets this criteria is printing from a 32-bit application on a 64-bit Remote Desktop Session Host. This printing action will spawn splwow64.exe, the 32-bit to 64-bit thunking process for spooler. Splwow64.exe has a 3 minute timeout to prevent the process from being repeatedly re-spawned during heavy printing, so it does not immediately exit when printing is complete. This can cause the remote session to to appear "hung" with a blank background. RESOLUTIONYou can add the splwow64.exe process to the following registry key to tell the operating system that the process may be safely terminated automatically: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Sysprocs] Value name: splwow64.exe Data type: REG_DWORD Base: Hex Value data: 0 MORE INFORMATIONTerminal Services RemoteApp Session Termination Logic http://blogs.msdn.com/b/rds/archive/2007/09/28/terminal-services-remoteapp-session-termination-logic.aspx
(http://blogs.msdn.com/b/rds/archive/2007/09/28/terminal-services-remoteapp-session-termination-logic.aspx)
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use
(http://go.microsoft.com/fwlink/?LinkId=151500)
for other considerations.Properties |


Back to the top








