If anyone is running WSA on a Terminal Server and having hanging issues on logoff, here's how to fix it:
Adding a wrsa.exe DWORD value, with no data, to the registry key:
HKLMSYSTEMCurrentControlSetControlTerminal ServerSysProcs.
Simply creating a .reg file with the contents below, will add this key:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerSysProcs]
"wrsa.exe"=dword:00000000
Answer
Terminal Server sessions hanging on logoff
Best answer by JohnnyS
We have discovered that key alone isn't providing the best solution for the issue. I have done some testing and the following keys together alleviate the issue:
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerSysProcs]
"wrsa.exe"=dword:00000000
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl]
“WaitToKillAppTimeout”=”2000”
“AutoEndTasks”=hex:0
We are working on a fix for this at the agent level ouside of these registry keys. We should have this fix out hopfully soon. Please keep an eye on our release notes.
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlTerminal ServerSysProcs]
"wrsa.exe"=dword:00000000
[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControl]
“WaitToKillAppTimeout”=”2000”
“AutoEndTasks”=hex:0
We are working on a fix for this at the agent level ouside of these registry keys. We should have this fix out hopfully soon. Please keep an eye on our release notes.
Login to the community
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
