Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We use the Remote Desktop role in Server 2008 Enterprise SP2 to give users access to a 32-bit application. It is configured to auto-start the application via the "Start the following program at logon:" property for the user. When the user exits from the application, it should automatically log them off the server.

However, it simply hangs with a blank desktop in the RDP session. If we run task manager in the session, we can see that splwow64.exe is still running (along with the other standard RDP session applications.) If we terminate splwow64.exe then the session logs off.

How can we force splwow64.exe to terminate with our application so the session will log off?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

Using Regedit, add a REG_DWORD called "splwow64.exe" to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\SysProcs

and set the value to 0.

This tells the operating system that splwow64.exe can be safely terminated. This technique can be used for any application that needs to be terminated for a log off.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.