Guys,
I am trying to get login time down for Windows 10 Ent 1709
Here is description of the eviroment
1. Windows 10 Ent 1709
2. Remove Provisioned Application
3. Modify Registry and Schedule Task
4. Mandatory Profile and Start up Layout
5. Optimize Image with VMWare Optimization Tools
6. Clean (Defrag, Erase Logs, Defrag, etc) before SnapShot
1 AppTack with 40 Applications (Basic company application- Office, Java, Acrobat Reader, Firefox, Chrome, VLC, etc.)
Infinio Cache Accelerator - 64gb of RAM of each vmware esxi host dedicated for VDI acceleration
All Datastores are in SSD
Optimize GPO to apply in this order:
1.Mandatory Profile and Startup Layout
2. AppVolume Asynchronous Settings
3. Windows Defender Exclusions for UEM
4. UEM Settings
5. VDI agent and Settings
So far, I was able to reduce login time from 8 minutes to around 2:10
Now if I disable AppStack and UEM, login is under 30 seconds
UEM is the bulk of the login time, taking up to 1 minute. Anyone out there have the same issue? Any suggestions of how to improve login time?
What does the debug log of UEM tell you? Normally you should see the issue there.
And try and have a look at the Appvolumes log file to see if there are large time gaps there. It is located in c:\program files (x86)\Cloudvolumes\logs.
For UEM, consider enabling DirectFlex for your applications. Look at your profile using the UEM support tool and find the applications that are large. Target those first.
As mention, check out the UEM log. Use Flexdebug.txt to enable debugging for UEM profile. VMware Knowledge Base
Also, try adding an additional vCPU to your desktop to see if times improves.
Last - Check out Vmware logon monitor that is now part of the horizon agent.
https://www.carlstalhood.com/vmware-horizon-7-connection-server/#logonmonitor
Thanks for the reply, open a case with VMWare and logs are provided, they keep coming that they see the behavior on the logs and must of the times is antivirus engine scanning the UEM directories, I send my configuration that exclude this directories, waiting for them!
You can see from these two lines the issue appears to be with the profile size
2018-02-08 12:30:04.459 [DEBUG] ImportRegistry::Import: Calling '"C:\Windows\REGEDIT.EXE" /S "C:\Users\FRANCI~1.PER\AppData\Local\Temp\FLXC61E.tmp"' (RPAL: l=0 (F/E), r=0)
2018-02-08 12:30:15.147 [DEBUG] Read 871 entries from profile archive (size: 89077183; compressed: 34557036; took 10714 ms; largest file: 17841152 bytes; slowest import took 456 ms)
We pick up more than ten seconds here
Through the log though I see many delays caused by Antivirus
https://kb.vmware.com/s/article/2113665
So lets start with the exclusions and see how much time we gain. Currently it takes nearly forty seconds.
This is the info from the login Monitor
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] Logon Time: 107.73 seconds
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] Logon Start To Hive Loaded Time: 0.00 seconds
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] Logon Start To Classes Hive Loaded Time: 5.40 seconds
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] Profile Sync Time: 2.44 seconds
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] Windows Folder Redirection Apply Time: 0.00 seconds
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] Shell Load Time: 31.03 seconds
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] Total Logon Script Time: 0.00 seconds
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] User Policy Apply Time: 63 seconds
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] Machine Policy Apply Time: 0 seconds
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] Group Policy Software Install Time: 0.08 seconds
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] Free Disk Space Available To User: 27 GB
2018-02-16T14:51:55.696 INFO (0ee4-153c) [LogonMonitor::LogSummary] User Policy Apply Time: 63 seconds
I would really check your GPO's. Check for preference mode settings and logon scripts. Try to disable them all and see what it does for your logon time.
Your UEM profile size doesn't seem big at all. Adding exclusions to your AV is a good start. Maybe there are a lot of small files that is slowing it down? DirectFlex should help decrease it even more if you enable it for your apps.
If you unassign that giant appstack does the User Policy Apply time go down?
I would try setting this registry key to see if something is just hanging to the startup process and not letting go. I set this as a computer policy to all my desktops.