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
861 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

A procedure for exporting installed hotfix details of remote computers using powershell
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

617 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