NTuser.dat is holding someones fslogix profile hos...
# microsoft-fslogix
s
NTuser.dat is holding someones fslogix profile hostage. Proxmon shows the "system" and "registry" is using it. Tried restarting fslogix. Any other ways to unlock it?
r
if you can't logoff the profile from the server, or "close file" on the file server, you are pretty much stuck with a reboot, unless someone knows some magic i don't... and I really hope they do.
check frx list-redirects and see if something is still mounted, and unmount it manually
s
"check frx list-redirects" Well at least that a good tip to determine if its a fslogix issue or a native windows issue. Thnx
👍 1
j
Go into regedit and see if you can unload the hive from the users key.
s
ohh. good idea, but access denied
j
NTUSER.DAT is your HKCU Registry hive, generally. You won't be able to load it in regedit because it is locked in use. Check Process Explorer for clues. Antivirus is probably responsible
But yes, check file server for locks and release is your only chance generally without reboot, unless you can "Close Handle" from Process Explorer
j
If you run a procmon when you try and unload the hive it should tell you what is locking that.
s
Arg, happend again on another server. Do we still need theses reg keys on 2022 servers to prevent hung sessions on log out? Write-Verbose "Customization" -Verbose New-Item -Path "HKLM:\SOFTWARE\Citrix\Reconnect" -Force | New-ItemProperty -Name "FastReconnect" -PropertyType "DWord" -Value "0" -Force New-Item -Path "HKLM:\SOFTWARE\Citrix\Ica\GroupPolicy" -Force | New-ItemProperty -Name "EnforceUserPolicyEvaluationSuccess" -PropertyType "DWord" -Value "0" -Force Path: HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Reconnect Name: Type: REG_DWORD Value: 1
l
Hello, we use these regkey in WS2022 VDA because we had logoff problems (UPM and Fslogix ODFC).
We had logoff errors linked with WindowsSearch service which was in starting state but never started. We had to disable the search service.
r
@stormlight, not an exact answer to your question, but in our Windows Server 2019 environment... While running 2203 CU2, we needed the following three entries on our parent/gold VMs: HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Ica\GroupPolicy "EnforceUserPolicyEvaluationSuccess"=dword:00000000 HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Reconnect "FastReconnect"=dword:00000000 HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\Reconnect "DisableGPCalculation"=dword:00000001 The in-place update to 2203 CU3 automatically removed the "EnforceUserPolicyEvaluationSuccess" entry, leaving the other two entries intact, and everything continued to work. We have since upgraded in place to 2402 CU1/CU2, and still have not revisited those two remaining settings because everything continues to work. When we deploy Windows Server 2025, we will not readd those two settings unless it's required in our environment.