Windows 2016 -RDS user get temp profile - Error Code 0x4005.135 then 0x20.135

Guilhaume 1 Reputation point
2021-09-01T09:21:26.637+00:00

Hello,

I have a strange and random problem with only one different user per day on RDS over 100 active users.

We use Windows Server 2016.

To explain :

  • User connect on our RDS farm through a broker
  • For the user that have the problem, we see that his profile is loading but at the end it finished with a temp profile
  • It happens only once a day, only for one user and with different server from the farm.
  • udp uses vhdx
  • problem since august friday 27th

Searching on event viewer, I've found that at the first openning session from the user who got the problem that there is an error with Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin - Error code 0x4005.135

Then, on next try, errors are Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin - Error code 0x20.135

I've seen over Microsoft Community that I had to delete "***.bak" registry on ProfileList on Regedit, even the ProfilGuid registry but it doesn't work.

I've tried to move or rename the udp disk but I can't because it says that it's actually locked by System.

I've search on all RDS server and the udp disk is not mounted.

It seems that rebooting the server broker temporary correct the problem.... but only temporary.

Thanks for your help.

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,381 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,176 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,252 questions
0 comments No comments
{count} votes

21 answers

Sort by: Newest
  1. Mitchell Lindsay 5 Reputation points
    2023-04-05T00:11:29.4633333+00:00

    After having the same issue, however we do not use the same Panda AV software. Even removing the profile from the registry and directories on our 2016 RDS server, we would get a temporary profile every time. I have found the following if you're using User Profile Disks, as apart of your RDS Setup. Make sure if you're including files or directories as apart of your RDS User Disks, that such locations or files listed/specified are valid. You can test by stripping everything out of the settings or turning off user profile disks. Referring to the following settings: User's image

      One of my above ntuser.dat.log1 files was set as a folder path. When the user profile is being created, it would fail during the process and give a temporary profile every time. Also showing access denied errors in the event viewer (ID Numbers, 1509,1511,1515). After removing the invalid entry from the user profile disk configuration page, it now is writing the user disk to the directory and more importantly, the user profile to the specified location via the RDS Profile Location GPO. Whereas before it would create a temporary folder under C:\Users
    Hope that helps someone in the future!    

    0 comments No comments

  2. Pablo Magliola 1 Reputation point
    2022-01-13T09:38:48.38+00:00

    Hi all,

    We are currently experiencing the exact same issue, also terminal server 2016 with user profile disks configuration and Watchguard (Panda) EPP.

    Has any of you found a solution yet?


  3. Guilhaume 1 Reputation point
    2021-11-19T08:03:20.99+00:00

    Hello,

    Does any one of you have found a solution ?
    We didn't use the low level hotfix.

    I've build a new RDS Collection et start to migrate users on it.
    Il worked great for 2 month and now it does the same error...

    TY


  4. SML 1 Reputation point
    2021-10-22T09:16:09.193+00:00

    Hi,
    we maybe got a litte further.
    There was a hotfix provided by panda. (hotfix_lowleveld_gui_v1.6.exe)
    We will see how it worked out.


  5. Xavier Llorca 1 Reputation point
    2021-10-11T15:23:32.713+00:00

    Hello!

    It is clear then that it is Panda AV.

    In our case, the affected servers have:
    Panda Adaptive Defense 360 ​​8.0.19
    Panda Endpoint Agent 1.18.00

    In several servers we found a warning in application viewer ID: 201 related to Aether Agent right at the beginning of the problems.

    Some days ago, we tried disabling the scanning of files with the vhd and vhdx extensions without success.

    One of the affected servers has been running smoothly and without requiring a reboot for 15 days after switching from Panda to Sophos.

    Another server with Eset has not reported errors either.