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
623 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
  • 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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now