VMware Horizon Community
lansti
Hot Shot
Hot Shot

Mozilla Firefoz UEM Config file

Hi, i have apllied the Mozilla Firefox config file you can find in the UEM Templates. It works fine, but i see that the import take almost 10 seconds...

When I have a look into the logs, I see:

2018-04-30 13:03:12.773 [INFO ] Importing profile archive 'Mozilla Firefox.zip' (\\hznuem\uem-profiles\sgr\Archives\Applications\Mozilla Firefox.zip)

2018-04-30 13:03:21.460 [DEBUG] Read 117 entries from profile archive (size: 40938; compressed: 21028; took 8687 ms; largest file: 3677 bytes; slowest import took 7 ms)

Even if i delete the ZIP file, it takes like 10 seconds, and i try to figure out why. There are no predefined setitings, and this is the only thing it does during import:

[IncludeRegistryTrees]

HKCU\Software\Mozilla

HKCU\Software\mozilla.org

HKCU\Software\MozillaPlugins

[IncludeFolderTrees]

<AppData>\Mozilla\Firefox

<Cookies>

<Favorites>

[ExcludeFolderTrees]

<AppData>\Mozilla\Firefox\Crash Reports

When I disable this config setting for a user, it significantly lowers the login time.

The export takes like 2 seconds...

Best regards
Lansti
Reply
0 Kudos
17 Replies
Pim_van_de_Vis

Where do you host the fileshares? LAN or WAN connection? Windows fileserver or SAN? SMB 1,2 3?

Could also be anti virus, here are the exclusions you should setup: VMware Knowledge Base

DEMdev
VMware Employee
VMware Employee

Hi lansti,

Even if i delete the ZIP file, it takes like 10 seconds

What exactly takes 10 seconds in that case? Can you post more of your log file? Do you have the cookies or favorites folders redirected, by any chance? (Although I'm not sure whether that affects Firefox, to be honest.)

Reply
0 Kudos
lansti
Hot Shot
Hot Shot

Well, as far as i can see in the logfile is this the onlything refering to import from UEM:

2018-05-02 10:40:08.207 [INFO ] Importing profile archive 'Mozilla Firefox.zip' (\\hznuem\uem-profiles\sgr\Archives\Applications\Mozilla Firefox.zip)

2018-05-02 10:40:08.215 [DEBUG] ImportRegistry::Import: Calling '"C:\Windows\REGEDIT.EXE" /S "C:\Users\sgr\AppData\Local\Temp\FLXD38.tmp"' (RPAL: l=0 (D/E), r=0)

2018-05-02 10:40:17.113 [DEBUG] Read 125 entries from profile archive (size: 41790; compressed: 21337; took 8901 ms; largest file: 3677 bytes; slowest import took 7 ms)

From the config file:

pastedImage_0.png

Process during logon and logoff is checked.

No Profile Cleanup, no Predefined settings, no conditions...

I can Enable Direct Flex for this application, but i have the same issue for Internet Explorer setting... and this config i have to import it during logon...

When i have enabled Direct Flex it takes the same amount of time, but it might be a better solution for enduser since logontime is just a few seconds..:

2018-05-02 10:57:28.254 [INFO ] Performing DirectFlex import for config file '\\hznuem\uem-config\general\Applications\Mozilla Firefox.ini' [IFP#29c33f52-82181>>]

2018-05-02 10:57:28.255 [DEBUG]    User: DOMAIN\sgr, Computer: VS10-003, OS: x64-win10 (Version 1709, BuildNumber 16299.371, SuiteMask 100, ProductType 1/4, Lang 0414, IE 11.371.16299.0, App-V 5.2.0.0, VMware VDM 7.3.2, UEM 9.3.0.804, ProcInfo 1/1/3/3, UTC+02:00D), PTS: 516/4416/1C

2018-05-02 10:57:28.255 [DEBUG]    Using profile archive '\\hznuem\uem-profiles\sgr\Archives\Applications\Mozilla Firefox.zip'

2018-05-02 10:57:28.255 [DEBUG]    Triggered by 'C:\Program Files\Mozilla Firefox\firefox.exe'

2018-05-02 10:57:28.263 [INFO ] Importing profile archive 'Mozilla Firefox.zip' (\\hznuem\uem-profiles\sgr\Archives\Applications\Mozilla Firefox.zip)

2018-05-02 10:57:28.266 [DEBUG] ImportRegistry::Import: Calling '"C:\Windows\REGEDIT.EXE" /S "C:\Users\sgr\AppData\Local\Temp\FLXC8C9.tmp"' (RPAL: l=0 (D/P), r=0)

2018-05-02 10:57:37.291 [DEBUG] Read 164 entries from profile archive (size: 12021443; compressed: 179628; took 9026 ms; largest file: 10485760 bytes; slowest import took 31 ms)

Best regards
Lansti
Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

Hi lansti,

2018-05-02 10:40:08.207 [INFO ] Importing profile archive 'Mozilla Firefox.zip' (\\hznuem\uem-profiles\sgr\Archives\Applications\Mozilla Firefox.zip)

2018-05-02 10:40:08.215 [DEBUG] ImportRegistry::Import: Calling '"C:\Windows\REGEDIT.EXE" /S "C:\Users\sgr\AppData\Local\Temp\FLXD38.tmp"' (RPAL: l=0 (D/E), r=0)

2018-05-02 10:40:17.113 [DEBUG] Read 125 entries from profile archive (size: 41790; compressed: 21337; took 8901 ms; largest file: 3677 bytes; slowest import took 7 ms)

It looks like Regedit.exe consumed most of that time.

If there are "125 entries" and the "slowest import took 7 ms", importing all files took at most 125x7ms, which is less than a second. The overall import, including running Regedit, took "8901 ms", so Regedit by itself took nearly 8 seconds. Given that the .REG file was at most "3677 bytes", that is a very long time – usually that is an indication of antivirus or other malware detection overhead.

sjesse
Leadership
Leadership

If you open the zip and go to Mozilla\Firefox\Profiles is there more than one. I noticed in my environment based on testing I've done I had multiple copies, when there should have only been one.

Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

Hi sjesse,

Yes, when I first read this question, I was reminded of your post. However, your profile archive was 50 MB, whereas this one is not even 50 kB 🙂

Reply
0 Kudos
lansti
Hot Shot
Hot Shot

Thanks for your reply.

Well, on my test client, windows 10, i do not have any virus agent installed...

I have the same issue with IE, but no other applications...

Best regards
Lansti
Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

Hi lansti,

That's very strange. Can you provide a ProcMon log for such a slow import, so we can determine what exactly is happening and what is taking so long?

Reply
0 Kudos
lansti
Hot Shot
Hot Shot

I can try, but not so familiar with procmon, so how can i record a logon for a non presistent desktop without admin rights for users?

Best regards
Lansti
Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

It can be tricky to capture a logon with ProcMon, but if the problem can be reproduced with DirectFlex enabled, you can do it just in the user's session.

You'd need an admin to launch ProcMon elevated, though.

Reply
0 Kudos
Sravan_k
Expert
Expert

Interesting, as you are not persisting Mozilla local appdata, it should not go more than 30 MB in worst case

your config file was good, can we please get ProcMon log's as UEMdev requested? we are interested to find out RCA as you said you are not using anti-virus on VDI    

[IncludeRegistryTrees]

HKCU\Software\Mozilla

HKCU\Software\mozilla.org

HKCU\Software\MozillaPlugins

[IncludeFolderTrees]

<AppData>\Mozilla\Firefox

<Cookies>

<Favorites>

[ExcludeFolderTrees]

<AppData>\Mozilla\Firefox\Crash Reports

Reply
0 Kudos
lansti
Hot Shot
Hot Shot

Hi UEMdev, it was a large file generated... you might download the file from this link:

https://fil.email/zncKMcWi

Its available the next 30 days.

Best regards
Lansti
Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

Hi lansti,

Would it be possible to provide the ProcMon log in its native .PML format? That would be much easier to analyze, thanks!

Reply
0 Kudos
lansti
Hot Shot
Hot Shot

You are fast to reply Smiley Happy

Edit: removed the link

Best regards
Lansti
Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

And so are you 🙂 It helps to be in the same time zone 🙂

However, it looks as if UEM didn't take very long for this Firefox launch, as there was no profile archive to import?

pastedImage_1.png

Reply
0 Kudos
lansti
Hot Shot
Hot Shot

Strange, but it helps alot to have direct flex enabled for logontime issue, but it is strange that logontime decreas with 8-9 seconds when it is enabled... but when i start firefox with this enabled it runs ok...

Since i have the same issue with IE config. i need to figure out why, because IE settings need to be imported during logon, if not all user credentials to different websites its not remembered if I enable direct flex...

And if i enalbe direct flex on IE, it is quit fast logon...

Best regards
Lansti
Reply
0 Kudos
DEMdev
VMware Employee
VMware Employee

Not sure if I understand you correctly, but if you enable DirectFlex, the import does not take place during logon – that's why the logon time would decrease.

I noticed you're using App Volumes. Would it be possible to test without App Volumes, to see if that makes any difference to the import performance at logon?

Reply
0 Kudos