Solved

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

Posted on 2012-04-12
7
2,199 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
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

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

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

860 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