VMware Horizon Community
Justin_Y
Enthusiast
Enthusiast
Jump to solution

Horizon First logon After windows logon screen goes to black screen for 30 seconds before completing logon

Long overdue but I am using the latest optimization tool with 1803, The only thing that is an issue at this point is we have about a 45 second logon which is understandable with our GPO, UEM, Machine assigned appstacks but after I am seeing an an additional 30 - 40 second delay with a brief popup in the middle for configuring windows media player. Has anyone seen this before and figured out what it is doing during this time frame. I would rather they continue to see the windows blue screen then this black screen. Using the latest b1160 optimization tool.

Example logon, Clocked at 83 seconds total, 45 seconds of windows screens then 38 seconds of black screen with a small prompt that says something then configuring media player for no more then a second in the middle.

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] Logon Time: 82.11 seconds

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] Logon Start To Hive Loaded Time: 0.81 seconds

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] Logon Start To Classes Hive Loaded Time: 1.70 seconds

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] Profile Sync Time: 0.00 seconds

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] Windows Folder Redirection Apply Time: 0.00 seconds

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] Shell Load Time: 29.79 seconds

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] Total Logon Script Time: 0.00 seconds

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] User Policy Apply Time: 37 seconds

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] Machine Policy Apply Time: 0 seconds

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] Group Policy Software Install Time: 4.25 seconds

2020-07-15T17:00:13.724 INFO (1284-1d20) [LogonMonitor::LogSummary] Free Disk Space Available To User: 22 GB

Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
RoderikdeBlock
Enthusiast
Enthusiast
Jump to solution

I am having simular issues and just found this comment on -->  Comments | VMware Flings  :

"We discussed this today and this is probably related to another setting. The Welcome screen is displayed for the amount of time allowed by this timer.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DelayedDesktopSwitchTimeout

The issue is described in this MS article (it also applies to Windows 10 even though it only mentions Vista and Server 2008)
https://support.microsoft.com/en-ie/help/940452/the-welcome-screen-may-be-displayed-for-30-seconds-a...

If we leave this at a high value, then logons will always take at least that amount of time. E.g. If the timer is set to 30 seconds, even if all processing has been done in 10 seconds and the desktop is really ready, the user wouldn't get access until at least the 30 second count.

We want the delay to be a short as possible so that the session is switched from logon to the other processes that happen at logon. The downside is that the Welcome screen is only displayed during the logon session and a black screen is then displayed when other processing is happening. The duration of the other processes and therefore the black screen can be affected by things like antivirus processing, GPO, App Volumes mounting operations, etc."

I hope this is usefull for your issues!

Roderik de Block


Blog: https://roderikdeblock.com

View solution in original post

Reply
0 Kudos
3 Replies
RoderikdeBlock
Enthusiast
Enthusiast
Jump to solution

I am having simular issues and just found this comment on -->  Comments | VMware Flings  :

"We discussed this today and this is probably related to another setting. The Welcome screen is displayed for the amount of time allowed by this timer.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DelayedDesktopSwitchTimeout

The issue is described in this MS article (it also applies to Windows 10 even though it only mentions Vista and Server 2008)
https://support.microsoft.com/en-ie/help/940452/the-welcome-screen-may-be-displayed-for-30-seconds-a...

If we leave this at a high value, then logons will always take at least that amount of time. E.g. If the timer is set to 30 seconds, even if all processing has been done in 10 seconds and the desktop is really ready, the user wouldn't get access until at least the 30 second count.

We want the delay to be a short as possible so that the session is switched from logon to the other processes that happen at logon. The downside is that the Welcome screen is only displayed during the logon session and a black screen is then displayed when other processing is happening. The duration of the other processes and therefore the black screen can be affected by things like antivirus processing, GPO, App Volumes mounting operations, etc."

I hope this is usefull for your issues!

Roderik de Block


Blog: https://roderikdeblock.com
Reply
0 Kudos
Justin_Y
Enthusiast
Enthusiast
Jump to solution

That was correct, updated that key in the optimization tool to update to 30 and it adds about 30 seconds of welcome to the logon instead of black screen. Looks like without the key it is about 60 - 70 seconds. Next step will be to see how much we can reduce that but this will allow us to push our progress to prod this month. Thanks again

Reply
0 Kudos
Pratikvdi17
Contributor
Contributor
Jump to solution

Have you validated? What value needs to be out there?

Reply
0 Kudos