Submit a request

Nerdio Help Center

I get an error “The View agent reports that this desktop is currently logging off a previous session” when I log into my desktop

Applies to: Nerdio Private Cloud (NPC)

The error message "The View agent reports that this desktop is currently logging off a previous session" is generally displayed when a VM has a process hanging up the VM upon logoff.  This is a known issue with VMWare and our steps below include a fix from VMWare that can be applied.  The same error can also manifest itself as “Available desktop resources are currently busy” or as “A desktop resource is unavailable”. 


Steps to troubleshoot the error:

  1. The first and foremost step is to troubleshoot the error to find its root cause. This error occurs when there is a process from the previous session hanging up the VM, preventing the session to log off. 
  2. Looking at the workstation via your RMM tool or RDP'ing into it may allow you to see what process is pending termination to allow the VM to completely logoff. 
  3. Looking at the "Task Manager" for the particular VM may provide some insights into what processes are still running for the user as well.

Steps to resolve the issue:

  1. The quick resolution, allowing the user to log in, is to perform a reset from the NAP, or the user can reset their own workstation using the steps given in the article below:
  2. Another way is setting processes to "Auto-end" at logoff:  Regardless of the root cause, the registry key shown below and described in this article ( should be implemented to "Auto-end" processes at logoff.  This will force quit the processes upon logoff. Refer article for more details:

    Here's the excerpt from the article:

    Set AutoEndtasks to 1: If the user process does not cleanly shut down, this will tell Windows to close the process rather than prompt the user.
    HKCU\Control Panel\Desktop | AutoEndTasks = 1

    WaitToKillAppTimeout determines how long in milliseconds Windows will wait before prompting the user or closing the process. Note: If AutoEndTasks does not equal 1, this will not prevent the issue described in this article. Changing this value is optional. The default value is 20000 (20 seconds).
    HKCU\Control Panel\Desktop | WaitToKillAppTimeout = 20
Was this article helpful?
0 out of 0 found this helpful
Important Notification for NFA Partners Only
  • Microsoft is sunsetting Azure Classic (not Azure Virtual Desktop (AVD)) - Microsoft Article
  • NFA sunset occurs February 20th, 2023
  • NFA will be fully supported until the official sunset -


Article is closed for comments.