SOLVED

WVD logging in issue

Copper Contributor

Capture.PNG

I'm facing this problem while trying to login to my WVD for the first time. After clicking on ok I'm getting logged out of the system. Please help.

4 Replies
best response confirmed by bhuwan8051 (Copper Contributor)
Solution
Maybe is better if you can give us some other details. Fslogix or something else... Seems an error on the profile... Try anyway to connect with mstsc and see if you have the same error
I have one user that experiences this symptom about once a month. While I haven't isolated the cause, the fix is to reboot the host to unlock files in use for his profile in windows, then I rename the profile from UserProfile to XXUserProfile. That gets a quick resolution, but not helpful if it's a reoccurring problem.
I agree... This is not a solution. Maybe you can see something in the log or events

@bhuwan8051 

1. Get user SID, can run AD PowerShell (replace firstname.lastname@domain.com with affected user userprincipalname): get-aduser -filter {UserPrincipalName -eq "firstname.lastname@domain.com"} -Properties * | select objectSid

2. Check every Session host in the farm and go to: "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileService\References<sid affected user>"

3. Search for value RefCount and change all values to 00

So for example below is the current value:

 
lightupdifire_2-1637745494573.png

Then you change it to:

 
lightupdifire_3-1637745505085.png

 

The user will now be able to log in again.

1 best response

Accepted Solutions
best response confirmed by bhuwan8051 (Copper Contributor)
Solution
Maybe is better if you can give us some other details. Fslogix or something else... Seems an error on the profile... Try anyway to connect with mstsc and see if you have the same error

View solution in original post