question

larto avatar image
0 Votes"
larto asked LeilaKong-MSFT answered

FSLogix - Failed to re-attach after Server Reboot (frxsvc crash)

hi there

vmware horizon environment
windows 10 20H2 machines
server 2016 (fileshare)
Profiles + ODFC + redirections.xml

when the server (fileshare) reboots, the fslogix profiles (all) will not able to re-attach the profile.

(Profile Log)

 [01:46:02.591][tid:00000810.00000890][INFO]           Configuration setting not found: SOFTWARE\FSLogix\Profiles\ReAttachRetryCount.  Using default: 60
 [01:46:02.591][tid:00000810.00000890][INFO]           Configuration setting not found: SOFTWARE\FSLogix\Profiles\ReAttachIntervalSeconds.  Using default: 10
 Log file created 2021-04-18 at 01:46:02
 UTC+01:00
 Origin: C:\Program Files\FSLogix\Apps\frxsvc.exe (Version 2.9.7654.46150)
 Windows 10.0.19042  (Windows 10 Enterprise 64-bit)
 Computer Name: PC-01    User Name: SYSTEM
 WinDir: C:\windows
 User Profile: C:\windows\system32\config\systemprofile
 Profile Version: 6
 Installed system RAM: 10238 MB  (load: 41 %)
    
 FSLogix Service Version 2.9.7654.46150  Status: RUNNING
 FSLogix Kernel Driver Version 2.9.7654.46150  Status: RUNNING
 FSLogix Kernel Virtualization Driver Version 2.9.7654.46150  Status: RUNNING
 ---------------------------------------------------------------
 [01:46:02.591][tid:00000810.00000890][INFO]           ===== Begin Session: Volume re-attach
 [01:46:02.593][tid:00000810.00000890][INFO]            Attempting re-attach of volume: \\?\Volume{32289647-a5c7-4576-9e8e-514b35a11497}\ for SID: S-1-5-21-1364788855-2115091653-1398831382-10675
 [01:46:02.593][tid:00000810.00000890][INFO]            Configuration setting not found: SOFTWARE\FSLogix\Profiles\LogonSyncMutexTimeout.  Using default: 60000
 [01:46:02.593][tid:00000810.00000890][INFO]            Acquired reattach virtual disk lock for user S-1-5-21-1364788855-2115091653-1398831382-10675 (Elapsed time: 0)
 [01:46:02.593][tid:00000810.00000890][WARN: 00000002]  Error querying VHDReAttachFilePath (Das System kann die angegebene Datei nicht finden.)
 [01:46:02.593][tid:00000810.00000890][INFO]            VHDPath: \\server\profiles\S-1-5-21-1364788855-2115091653-1398831382-10675_username\Profile_username.VHDX
 [01:46:02.594][tid:00000810.00000890][INFO]            Username: username
 [01:46:02.594][tid:00000810.00000890][INFO]            Attempting re-attach as the user
 [01:46:02.594][tid:00000810.00000890][INFO]            Retry Count: 60  Retry Interval (seconds): 10

(Service Log)

 Log file created 2021-04-18 at 01:46:02
 UTC+01:00
 Origin: C:\Program Files\FSLogix\Apps\frxsvc.exe (Version 2.9.7654.46150)
 Windows 10.0.19042  (Windows 10 Enterprise 64-bit)
 Computer Name: VDI-FSL-01    User Name: SYSTEM
 WinDir: C:\windows
 User Profile: C:\windows\system32\config\systemprofile
 Profile Version: 6
 Installed system RAM: 10238 MB  (load: 41 %)
    
 FSLogix Service Version 2.9.7654.46150  Status: RUNNING
 FSLogix Kernel Driver Version 2.9.7654.46150  Status: RUNNING
 FSLogix Kernel Virtualization Driver Version 2.9.7654.46150  Status: RUNNING
 ---------------------------------------------------------------
 [01:46:02.585][tid:00000810.00000890][INFO]           ===== Begin Session:   Service Control Handler Device Event
 [01:46:02.591][tid:00000810.00000890][INFO]              Volume detach event

@ 01:46:03 the win 10 machine gets an 7034 event (error)

 FSLogix Apps Services service terminated unexpectedly. This has already happened 1 time.

so, of course, they can't re-attach, because the frxsrv service is gone, but how can i figure out why the service is gone? can anyone help me?

Server reboots at 01:35 and was back at ~01:45...

thanks a lot

windows-server-fslogix
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @Larto ,

What's the version of your fslogix? Is there any active session when you reboot the file share server? There may be unclean logoff.
Please also check the following links for troubleshooting:
https://www.meinekleinefarm.net/caution-fslogix-2009-2-9-7621-30127-profiles-wont-logoff-completely/
https://social.msdn.microsoft.com/Forums/en-US/9fb5aad2-41ab-420a-b0f1-add557d6dd8a/fslogix-disk-reattach-causes-session-crash?forum=FSLogix
https://social.technet.microsoft.com/wiki/contents/articles/13764.event-id-7034-service-terminated.aspx


Best regards,
Leila


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

larto avatar image
0 Votes"
larto answered

Hi there, thank you for your reply

My Version from FSLogix:
Version 2.9.7654.46150

I showed your Links, but the Problem is different or there are no solution for me.

maybe i was unclear with my description.

so at the evenig i just disconnect my session (VMWare Horizon - Win 10) but do not logoff the Computer. So the Session from FSLogix to the Fileshare stays the whole Night.

But when the Server reboot, the Session lost and at the re-attach fslogix service shuts down...

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @Larto ,

Thanks for your sharing.
Will the issue be reproduced if you downgrade to FSLogix 2004 (2.9.7349.30108)?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @Larto ,

How are things going there on this issue?
Please let me know if you would like further assistance.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @Larto ,

We haven’t heard from you for a long time. How are things going there on this issue?

Will the issue be resolved if you downgrade to FSLogix 2004 (2.9.7349.30108) or upgrade to the latest version FSLogix 2105 (2.9.7838.44263)?
https://docs.microsoft.com/en-us/fslogix/whats-new

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.