Nov 11 2020 05:56 AM - edited Nov 11 2020 05:57 AM
Hi. We have a mutli-session Win10 WVD farm up and running. We are running 1909 with the latest quality updates applied. FSLogix profile container is being used.
We are seeing intermittent issues with users not being able to login. They are being presented with the error:
"The Group Policy Client Service failed the sign-in. Access is denied"
From investigation, cant see anything appropriate in the event logs. Anyone seen this issue before?
Feb 20 2022 03:11 PM
Feb 22 2022 03:21 PM
Feb 23 2022 07:13 AM
Mar 07 2022 09:23 AM
Mar 07 2022 09:32 AM - edited Mar 07 2022 09:35 AM
@Lee_E Hello. Sorry for the issue you are experiencing. We released a fix for the public preview a few weeks ago please check :FSLogix 2201 Public Preview Update 1 is now available - Microsoft Tech Community
That issue has restarted our QA process. Unfortunately we cannot commit to a date until it meets our quality bar. I'll keep you all posted here. Sorry for the inconveniences that this is causing.
Mar 13 2022 01:43 PM
I've set up a 5 minute scheduled task that runs a script (below). It's not pretty and if someone logs off and back on in less than 5 minutes it may still error until the 5 minute point but it works for us. We can run this with minimal complications until a production ready version is released. Hope this helps a few of you.
$profilesKey = "HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileService\References\"
$userProfiles = Get-ChildItem -Path $profilesKey
ForEach ($userProfile in $userProfiles) {
$RefCountProperty = Get-ItemPropertyValue -Path "Registry::$userProfile" -Name "RefCount"
If ($RefCountProperty[0] -eq 1) {
$RefCountProperty[0] = 0
Set-ItemProperty -Path "Registry::$userProfile" -Name "RefCount" -Value $RefCountProperty
}
}
Mar 31 2022 12:13 PM
Hi All,
FSLogix 2201 is now Generally Available > Announcing General Availability of FSLogix 2201 (2.9.8111.53415)
Best regards,
MM
May 12 2022 12:35 PM
Hi Michael, we are seeing this issue with the latest FSLogix version running on Server 2022. If I set the Refcount key to 0 then the affected person can log in again.
May 13 2022 05:49 AM
Jun 09 2022 02:10 PM
Oct 24 2022 03:18 AM
Oct 26 2022 06:23 AM
Nov 11 2022 07:06 AM
@Guido - in my case user is getting same Group policy error but Ref count is already 00000 . Let me know how can we fix this
Nov 11 2022 07:42 AM
Dec 12 2022 04:33 PM
Dec 12 2022 10:45 PM
Dec 16 2022 05:47 AM - edited Dec 16 2022 05:53 AM
I was able to predict the problem happening with this script. I checked the non-zero usernames against who was logged in with the 'quser' command. Code formatting doesn't work?
# profilecheck.ps1
function sid2user {
param($id)
$SID = New-Object System.Security.Principal.SecurityIdentifier($id)
$objUser = $SID.Translate([System.Security.Principal.NTAccount])
$objUser.Value
}
get-itemproperty HKLM:\SOFTWARE\Microsoft\Windows` NT\CurrentVersion\ProfileService\References\* refcount |
select @{n='Sid';e={$_.pschildname}},@{n='User';e={sid2user $_.pschildname}},@{n='Refcount';e={$_.refcount[0]}}
# example:
.\profilecheck.ps1 | ? refcount
Sid User Refcount
--- ---- --------
S-2-4-11-3423303271-1025932689-3187700767-574700 jszabo_98 1
Dec 16 2022 08:01 AM
I successfully predicted this happening by looking for users with a non-zero refcount, and seeing if they were actually logged in. I tried to post some powershell, but I don't see it yet.
Dec 29 2022 03:15 PM - edited Dec 29 2022 03:19 PM
I'm hopeful that upgrading from "FSLogix 2201 hotfix 1 (2.9.8171.14983)" to "FSLogix 2210 (2.9.8361.52326)" resolves the issue for me.
In particular, this bug fix note for hotfix 2 (2.9.8228.50276) sounds promising:
"Resolved an issue during profile cleanup where user registry hives would be removed regardless of the FSLogix local group exclusions."
In my case, the affected user is a member of an AD group that is in turn a member of the local "FSLogix Profile Exclude List" group. So, it makes sense that fslogix is interfering with the user's hive despite being a member of that exclusion group - because of that bug.