Solved

Terminal services will not log out user after they close their session

Posted on 2012-04-12
7
2,168 Views
Last Modified: 2014-01-21
Hi Everyone,

This is my first time with Remote Desktop Services in Server 2008 R2 and I am having an issue. I am using this terminal server for remote access to Quickbooks Enterprise edition and I have it auto launch on log-in. On exit of the program Terminal Services starts the log-out process then the session hangs at a blue screen (not a BSOD just a blue background). The only way for me to quit the session is to manually kill the session via Remote Desktop Services Manager. I was wondering if anyone has any ideas why this is happening and where to go to find the issue, When I look in Event Viewer nothing jumps out at me.

Thanks for any help!
0
Comment
Question by:WindhamSD
7 Comments
 
LVL 25

Assisted Solution

by:Tony Johncock
Tony Johncock earned 500 total points
ID: 37837346
I would launch the application from a cmd file to be honest as this will allow other processes the time to run/end gracefully.

Alternatively, you might want to look at publishing the app via RemoteApp (which you'll be licensed for via your RDS CALs).

So the cmd (or bat file if you prefer) would look like this:

"C:\Program Files (x86)\Path to exe\program.exe" and launch that CMD/BAT file at login rather than the program exe.
0
 

Author Comment

by:WindhamSD
ID: 37837491
I do have it installed using Remote App.. Hmm... That's a good idea to try out the cmd file but I'd like to find the root of the issue. If all else fails I will give that a try.
0
 

Accepted Solution

by:
WindhamSD earned 0 total points
ID: 37837712
So After digging deeper and thought to myself, "hmm why not check the running processes" seems so obvious that I overlooked it. It has a hanging process called QBW32.exe and that's where my problem lies. Thanks for the help and the brain storming! Off to a support call with QB.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Closing Comment

by:WindhamSD
ID: 37854911
So After digging deeper and thought to myself, "hmm why not check the running processes" seems so obvious that I overlooked it. It has a hanging process called QBW32.exe and that's where my problem lies. Thanks for the help and the brain storming! Off to a support call with QB.
0
 

Expert Comment

by:ehrsw
ID: 39096230
So what the resolution to the QBW32.exe hanging? Don't leave us hanging!
0
 

Expert Comment

by:IMICoder
ID: 39797402
Lil dated but also interested in this solution...
There is a preference in QB to 'keep running for faster startup' (uncheck under Edit -> Preferences -> My Preferences) which does kill the QBW32 process, but user (whether disconnect or logoff) still leaves multiple processes running in their RDS session on the server which can only be killed at the server.
0
 

Author Comment

by:WindhamSD
ID: 39797413
Thanks IMI
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Normally after a failure of Domain Controller, when promoting new DC the DC is renamed, we will discuss the options in Dcpromo to re-create the DC with the same name. Scenario: You are a small IT shop with two Domain Controllers (Domain Contr…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question