Windows Server 2019, OneDrive Windows known folders

Anton Zolotarev 1 Reputation point
2020-12-08T15:26:16.323+00:00

Hi!

Our setup:

  1. Windows Server 2019 with RDS role, FSLogix (Profile + Office Container), OneDrive installed per machine.
  2. GPO for OneDrive: Files on Demand, Silently sign in, Silently move Windows known Folders.

The user enters the first time normally, there are no errors. Profile is created, known folders are redirected to OneDrive. But next time you can't log in, a black screen appears, the profile is not fully loaded. In the logs I see the following errors:

[18:18:09.688][tid:00000aa0.0000191c][ERROR:00000002] RegSetValue error (Could not find file.)
[18:18:09.688][tid:00000aa0.0000191c][ERROR:00000002] RegSetValue error (Could not find file.)
[18:18:09.688][tid:00000aa0.0000191c][INFO] Setting INetCache folder
[18:18:09.689][tid:00000aa0.0000191c][ERROR:80070002] SHSetKnownFolderPath error (Could not find file.)

46246-session.png

Fault bucket 1454628011947861457, type 5
Event Name: BEX64
Response: Нет данных
Cab Id: 0

Problem signature:
P1: explorer.exe
P2: 10.0.17763.1369
P3: 5fea0b23
P4: ucrtbase.dll
P5: 10.0.17763.1490
P6: 48ac8393
P7: 000000000006e77e
P8: c0000409
P9: 0000000000000007
P10:

Any idea?

FSLogix
FSLogix
A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
497 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Anton Zolotarev 1 Reputation point
    2020-12-09T09:04:45.003+00:00

    Hi!

    1. Policy in the screenshot
      46568-one-drive.png
    2. Documents, pictures, desktop are redirected. If i remove OneDrive Policy and reboot RDS server login is successful.
    0 comments No comments

  2. Anton Zolotarev 1 Reputation point
    2020-12-09T09:28:48.447+00:00

    this is strange. but after a certain number of logins, the error appears again. while OneDrive policy is disabled.

    12:24:20.654][tid:00000cb4.00000f28][ERROR:00000002] RegSetValue error (Не удается найти указанный файл.)
    [12:24:20.654][tid:00000cb4.00000f28][ERROR:00000002] RegSetValue error (Не удается найти указанный файл.)
    [12:24:20.654][tid:00000cb4.00000f28][INFO] Setting INetCache folder
    [12:24:20.655][tid:00000cb4.00000f28][ERROR:80070002] SHSetKnownFolderPath error (Не удается найти указанный файл.)

    0 comments No comments

  3. Anton Zolotarev 1 Reputation point
    2020-12-09T13:13:21.223+00:00

    [ERROR:00000002] D:\agent_01_work\13\s\libraries\Frx.ServiceLib\Settings.cpp(576): Settings.cpp(576): [WCODE: 0x00000002] static_read_session_sz: Session configuration setting not found (REG_SZ): VHDRODiffDiskFilePath (The system cannot find the file specified.)

    and more strange error..

    0 comments No comments

  4. Anton Zolotarev 1 Reputation point
    2020-12-10T14:29:29.093+00:00

    This error occurs if the user is a member of the Domain Admins group. users have no such error.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.