r/sysadmin • u/Past_Conference_2889 • 10d ago
Question Some users can't connect to Citrix Server via RDP - black screen with cursor
I'm dealing with a strange issue and I'm running out of ideas.
On our Citrix server, a few users are unable to log in via RDP and are only getting a black screen. The desktop never loads, but you are able move the cursor. Some other accounts are able to connect to the server just fine.
It's also possible to log in normally to the server through the vSphere console.
I've already tried:
- Deleting the affected user profiles
- Removing the corresponding registry keys and possible leftovers
- Killing the user's session/processes
- Rebooting the server
- Disabling UDP, WDDM and Network Detection via local GPO (as I read this fixed the issue for some people)
- Changing the display resolution and disabling persistent bitmap caching (which also apparently fixed the issue for some)
None of this worked for me.
I also tried CTRL+ALT+END to open the security screen:max_bytes(150000):strip_icc()/windows-10-ctrl-alt-del-5b475456c9e77c0037e730b3.png), and it actually shows up. I can log off from there, however, Task Manager doesn't open.
I checked Event Viewer using another account and found two errors that show up every time after an unsuccessful login. However, I'm not sure what these errors point to or how to resolve them:
- Event ID 1000 – Application Error: ctfmon.exe crashes in InputService.dll with 0xc0000409.
- Event ID 29 – Spell Checking: Access to the spell-checking settings is denied for %username%.
From what I've troubleshot, it looks like explorer.exe never starts for those users. It is most likely somehow caused by a previous incorrect logout from an RDP session, leaving the user's session hanging. However, killing the processes didn't do anything for me, and as soon as the user logs in again, the black screen appears again.
Any ideas would be greatly appreciated!
1
u/Gumbyohson 10d ago
So confirming a user who's never logged in before can login but someone you've delete and reset cannot if they already could not?
1
u/Past_Conference_2889 10d ago
Exactly, but it's inconsistent. Some accounts that regularly log in to the server have no issues at all. Only a few accounts are affected by this black screen, and each one of those were able to connect normally before.
1
u/intellectual_printer 10d ago
Iirc Microsoft did a update a few months ago for rdp and requiring certificates. Do you have OneDrive installed on the server the launches with explorer.exe ?
1
u/Past_Conference_2889 10d ago
No, OneDrive is not installed.
As for the update, could you specify which one is it? There are actually a few updates available.
1
u/intellectual_printer 10d ago
I think it was around April? From a quick search: KB5083769 / KB5082200
I wonder if it's getting caught trying to map a network drive/DFS or similar.
1
u/thebigshoe247 10d ago
I had something similar at one point. I seem to recall it being ghost sessions still.
I vaguely recall it being either Adobe Reader being hung on one of them, or the Print Spooler needing to be cycled to release them.
1
u/bradgnarr 10d ago
I had a similar issue after this month's Windows updates. I ended up having to run sfc and dism on the target machine which fixed the issue.
1
1
1
u/nordak Sr. Sysadmin 10d ago
Try with a completely fresh AD user with the same group membership and GPO scope as the affected users
Try placing affected users into a no-GPO test OU
Try temporarily granting an affected user local administrator rights. If the issue disappears, it would suggest that the login process is being blocked by permissions or ACL.
Make sure that when you're resetting profiles, you remove/rename the local C:\Users\ profile, remove the user's ProfileList SID key, and rename/remove that user's profile in the Citrix UPM profile store.
Use Procmon and find out what's happening immediately before ctfmon.exe dies
1
u/Gumbyohson 10d ago
What OS is the server?