RDP issues with AZ VM
Posted by Fair-Bookkeeper-1833@reddit | sysadmin | View on Reddit | 9 comments
Reposting here since I know you guys deal with this a lot, might know the reason.
________________________________________________________________
occasionally I get this issue where the remote session would be stuck on login background (I have credentials saved)
usually i close and reopen the connection and it fixes itself, sometimes it doesn't, I could toy around with session resolution and monitor and all that and sometimes it works
today it happened longer, and I even downloaded the RD Client from M$ into my android and it gave the same thing
curious why this happens.
I can't post images here, pelase check RDP issues into Azure VM : r/techsupport
my rdp file:
full address:s:IP:3389
prompt for credentials:i:0
administrative session:i:1
username:s:m
audiocapturemode:i:1
videoplaybackmode:i:1
tomhughesmcse@reddit
I don’t think it has to do with your endpoints at all. It seems to be whatever is loading the profile is hanging on a gpo, login script, mapped drive etc. usually long login times can be caused by old drive mappings in scripts or gpos that are trying to connect and take a while to fail or another network “thing” that can’t connect right away. Could also be local DNS on the RDS box not finding AD right away because maybe that changed or you have a public IP on the NIC of the RDS box. Event logs are your friend as well as gpresult.
Fair-Bookkeeper-1833@reddit (OP)
it is a VM which I only have access to, public IP never changed, I just found it odd since it happens randomly sometimes.
tomhughesmcse@reddit
Really its just the application logs, look for the warnings and the errors with ones about group policy and it should tell you what it can and can’t map as drives.
Fair-Bookkeeper-1833@reddit (OP)
I'm confused, why would this need any mapping if it is direct vm (not AVD pooled), so the user folder is local to the guest
tomhughesmcse@reddit
It’s a matter of determining what is causing your login to take a long time to establish. If you have drive mappings through group policies or scripts, it’s possible they are trying to map with your session when you log on. Another test is understanding if you have the same issue logging in as a local admin to the machine vs a domain account. Drive mappings is one possibility but you have to check your application logs to see what they tell you regarding what is loading with the domain account.
Fair-Bookkeeper-1833@reddit (OP)
So something similar happened, went under Log: Microsoft-Windows-Terminal-Services-RemoteConnectionManager/Operational
and it said WDDM graphics mode enabled.
went under security, and it said successful log in
Idk where to look and probably beyond my skill level.
Fair-Bookkeeper-1833@reddit (OP)
Yeah I'm remoting in as local admin, will check application logs next time it happens, hopefully never.
Batsenbv@reddit
Have you tried connection from another device by any chance?
Fair-Bookkeeper-1833@reddit (OP)
yeah tried from android same issue.