Forum Discussion
Dale Hayter
Nov 11, 2020Copper Contributor
WVD logon issues. The Group Policy Client Service failed the sign-in. Access is denied.
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...
Agdar
Microsoft
Dec 07, 2021Hi Dale, try a reboot and see if it fixes the issue temporarily (am sure it will)
Also you can always:
ā Look for RefCount value in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileService\References\<User SID> and set that to 0
This is a temp fix for the issue
Lets hope it gets fixed in the next version
Also you can always:
ā Look for RefCount value in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileService\References\<User SID> and set that to 0
This is a temp fix for the issue
Lets hope it gets fixed in the next version
syedaltamash
Dec 22, 2021Copper Contributor
Agdar
We are facing same issue from many days we have many times changed ReFcount value to 0 but again and again it's reversing.
- MarkF26Dec 23, 2021Brass Contributor
I am suggesting the following short script as a logoff script for WVD users to be deployed by a GPO. Please use at your won risk:
$ProfRefsPath = "Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileService\References" $MySID = (Get-CimInstance -Class Win32_UserAccount -Filter "Domain = '$ENV:Userdomain' AND Name = '$ENV:UserName'").SID If (Test-path $ProfRefsPath\$MySID) { set-itemProperty -Path $ProfRefsPath\$MySID -Name RefCount -Value 0 }
- ThorstenSobFeb 16, 2022Copper ContributorThit Script shows me the right way to resolve that issue, thx MarkF26
Propably i renamed the Folder of that affected SID and it works too. - mnickomJan 18, 2022Copper ContributorI plan on doing my own testing but has anyone validated if this script works? Does the user need to be a local admin to write into HKLM or are they given access to the subkey when it's created?