FSlogix Profile not attaching

Stephen Skwierawski 36 Reputation points
2022-11-10T23:42:07.59+00:00

Hi , I had a working FSLogix environment on Windows 2022 and was working happily till the other day.

Now when the user logs in the profile is blank even though they have an existing VHD and FSLogix appears to see it fine. The profile upon logoff is also not saved. When the user is logged in a metadata file extension is present and removed when the user logs off.

A local profile user account is also created when the user logs in both with their name and local_username - both of these are cleared on logoff.

Deleting the original VHD gets another blank VHD profile created but once again settings aren't saved upon logoff. Verified permissions to the VHD location - user can see and access VHD location

In the logs I don't see any errors apart from these :

[09:35:35.890][tid:00000ce0.00001798][ERROR:00000002] Rename of new export (The system cannot find the file specified.)
[09:35:35.890][tid:00000ce0.00001798][ERROR:00000002] Error exporting profile registry information (The system cannot find the file specified.)

As mentioned this was previously working and I'm not sure what if anything has changed. Oddly enough I had the same issue last year in a similar environment logged it with Microsoft and didn't get any result and decided to just rebuild the environment which is the one I was using up until now.

FSLogix is updated to the latest version : 2.9.8228.50276

In the FSLogix apps operational profile log this is logged when the user logs in - though it's not flagged as an error

Profile load: Status: 100 Reason: 0 Error: 0

I've cleared the logs previoulsy but I don't think the status was 100 originally.

The same errors listed above are also logged in the ops log. Admin log is clear.

Has anyone else seen this issue ?

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.
463 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Stephen Skwierawski 36 Reputation points
    2023-08-05T09:18:11.9733333+00:00

    I believe I have found a solution to this particular issue - it is unique to our environment hence why there hasn't been any activity around it in any forums but in case anyone else comes across this thread the solution is quite simple in the end.

    In our environment we have a few processes blackholed via group policy into svchost as a way to eliminate execution - this policy includes reg.exe.

    The key is located below:

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\reg.exe

    FSlogix must use Reg.exe during it's process somewhere - by blackholing this service we receive the error about the rename of new export which in turn affects the users existing profile. The profile resorts back to a blank empty profile and any changes are not saved.

    This has been difficult for us to determine as only a subset of users have this blackholing in place - once one of them log in the symptoms begin so it appears intermittent.

    By removing the blackholing on this file to SVChost the FSLogix profile handling occurs as normal - however if the profile was logged into with reg.exe blackholed then that profile is damaged - restoring to an earlier date before logging in restores the users profile.

    0 comments No comments