Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Remote Desktop Services could not disconnect a user disk for the user account with a SID of <SID>. The error code is 0x80070005.0

Posted on 2015-01-15
6
Medium Priority
?
945 Views
Last Modified: 2015-02-02
Users are complaining about blank desktops when they log on.
There are no policy's configured for automatic log off, ...
Users disconnect their session when they go home and leave everything open. When they log on again the day after they get a blank desktop and start menu. The only solution is to log off and log on again.

They only error related to this event I can found in the log is this one:
Log Name:      Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin
Source:        Microsoft-Windows-TerminalServices-RemoteConnectionManager
Date:          15/01/2015 9:51:47
Event ID:      20491
Task Category: None
Level:         Error
Keywords:      
User:          SYSTEM
Computer:      WOUSRD01.woutersfruit.local
Description:
Remote Desktop Services could not disconnect a user disk for the user account with a SID of S-1-5-21-2734725699-4262487074-1331432658-1140. The error code is 0x80070005.0

We are using profile disks stored on the file server.
All servers are running Server 2012 (NOT R2 unfortunately)
We have one physical server running ESXi

I can't seem to find any solution and hope to find it here.
Thx
Filip
0
Comment
Question by:FlipTrip
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 7

Expert Comment

by:DrAtomic
ID: 40550812
This could happen due to a backup application running at night fiddling with the user profile, system restore is another culprit of this, as is AVG (use MSE instead).

Another reason could be another form of connectivity loss at the network level.
0
 
LVL 2

Author Comment

by:FlipTrip
ID: 40553181
We have Veeam backup running.
vhdx (UPD are stored on our file server) and offcourse stay mounted on the RDS server.

So what can I do to prevent this?
0
 
LVL 7

Expert Comment

by:DrAtomic
ID: 40557468
So what can I do to prevent this?

Force logoff the open sessions before Veeam starts running is worth the try/experiment I'd say. Even if you do it for just one day like that you'll be able to determine for sure if Veeam is the cause of the issue.
0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 2

Accepted Solution

by:
FlipTrip earned 0 total points
ID: 40559895
I have advised them to log off before going home. I'll post back here when I get some feedback from my customer.

Thx
0
 
LVL 7

Expert Comment

by:DrAtomic
ID: 40579341
Hi Flip,

So did you look at the other possible causes I listed? Backup software was only one of the possible causes. Bottomline is that 0x80070005.0 equals a sharing violation (in use) or an access denied.

With regards to access denied, does the system user have full control on the user profile directories and files? Cross check the rights on the profile directory; https://msdn.microsoft.com/en-us/library/cc757013(v=ws.10).aspx 

With regards to the sharing violation (in use) you'll need to evaluate applications accessing the folders at said time.

If you are going to rely on users logging off themselves, then start enforcing that by logging off disconnected sessions. If you don't you'll still end up encountering the issue every once in a while due to the nature of users.
0
 
LVL 2

Author Closing Comment

by:FlipTrip
ID: 40583570
It wasn't caused by the backup.
Users are now logging off before going home.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
Windows Server 2003 introduced persistent Volume Shadow Copies and made 2003 a must-do upgrade.  Since then, it's been a must-implement feature for all servers doing any kind of file sharing.
In this Micro Tutorial viewers will learn how to use Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

688 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