I realize this is a cross post that I have in the ...
# citrix-wem
a
I realize this is a cross post that I have in the VAD channel but now that I've narrowed an issue down to WEM thought i'd try here too. we've been battling an issue with our MCS persistent VM's where after a user logs in and they get to their desktop, the Start Menu and Explorer are not responsive for anywhere from 15-30 seconds. Through some troubeshooting I narrowed it down to the "process registry values" feature of WEM as the culprit. even if i have zero registry actions assigned, just having that feature enabled stalls that part of the login for close to 15 seconds (longer if i assign registry actions of course). I discovered this when i switched to the cmd agent where it shows in the pop up what steps its at. its possible that ANY of those features that run before registry are also part of the issue i suppose. weird thing is when theres no assigned registry actions it still sits there trying for that length of time. anyone run into this or have any ideas?
s
I think there was some mention of using the Group Policy feature instead of Registry. I do occasionally see this pause for no reason at all but it is not consistent, so I never actually cared to look into it.
n
I've never seen that one before. If you wanted to dig deeper, remotely run ProcMon and capture a logon session to see if it points to something.
s
The WEM actions are processed after the login is finished. So it should not block the logon process.
there is logon analysis in the WEM tool hub. you can try it to analysis the logon process. https://docs.citrix.com/en-us/workspace-environment-management/service/reference/wem-tool-hub.html#windows-logon-analysis
a
thanks i'll take a look at that! and correct that was the reason we went w/ WEM for some of these instead of GP to not slow the login process down...which it DOES....unless you're using the Registry option apparently since it appears to halt Explorer/Start Menu until it finishes whatever it is doing (like i said even if i JUST have it enabled and nothing assigned it hangs things for a bit)
n
What other settings do you have configured in WEM? Cache for Accelerate actions processing? Bypass ie4uinit check? Enable VDI compatibility? All of those would help speed things up.
And if this is in WEM Service... stop using the legacy console. šŸ™‚
a
checking now šŸ™‚ i know we have VDI compatability for sure
what do you mean WEM service / legacy console? do you just mean the switch to service agent (citrix cloud connector)?
n
Yeah, if you are on WEM Service and not on-prem, use the new web console. I can't recall if it's available for on-prem instances, but if it is, give it a shot.
a
we're on-prem for both Citrix and WEM for what its worth
and is this what you mean for the accelerate actions ?
looks like we have some room for improvement šŸ™‚
alright well so far enabling offline/cache mode/ accelerate actions is helping! any downside to offline/cache mode? for some reason i thought a ways back i found some drawback but i may be imagining that
also thank you!
n
It used to have issues long ago, but it has been rock solid for a long time now. We use those settings for thousands of VDAs with great success.
a
bad ass thanks man!
damn i spoke too soon. i think i got lucky once but still not jiving
s
have you enabled the async printers processing?
By the way, the WEM action process won't block the logon process. The actions are processed after the logon process finishes. You can do the operations while the WEM is processing the actions.
p
I don’t believe the OP is claiming it is blocking login process. What he’s saying is user interaction with the logged in system is blocked for X seconds. We also have seen this periodically over the years, usually around the ā€œprocessing environmental settingsā€ stage where it will hang for a good 20 seconds or more. We use the popup window with a customized logo so we can see which stage WEM is in on login. It’s not been a big deal so we have let it continue, but following this thread with interest.
a
correct, the logon process works fine (main reason we use WEM for this so that they can run after that stage) and right, its user interaction thats blocked for 30ish seconds after you see the desktop/taskbar. I have switched to cmd agent launch to see the step as well and like i said it seems to be at the registry actions stage. I've considered throwing them all in a cmd and seeing if having them run as an external action makes any difference. that'd be dumb if that helps but might try it. and @Sharp Guo no i did not have that enabled but thank you! i'll try that!
n
Enable Debug Logging (I leave that on in every config set/environment anyway), and maybe that will give you a little more info to go on.
a
ok dumb question....where does that debug log live once you enable it? i thought it was under appdata somewhere but not seeing it. and another weird thing going on is in the past i thought when i refreshed cache from an agent in the management console it would update the last connection time stamp (kind of forcing a refresh). now it just kind of blinks and last connection doesnt change. i think we're haunted lol
n
Same log file, just gives you verbose logging. It's very helpful, and IMO should be the default setting.
a
but is that the one thats usually in appdata?
n
Yep, for both log files.
a
well what the hell....i'm not seeing anything in my appdata. do you mind sharing the location you see yours?
n
I'm off today, but here's a screenshot of the settings I used at my last place:
a
no problem thanks! ahhh my bad, wasnt in appdata! thanks!
n
%userprofile% is the default, not %appdata%. I changed the new place to %appdata% for ease of accessing it.
Yepo
a
yup i gotcha! thanks man
n
%AppData% should also be default (you reading this, Citrix? šŸ™‚ )
a
agreed
would anyone that isnt seeing this issue mind sharing some screenshots of their Advanced Settings for the other tabs as well? i know its unique to the environment but just kind of curious
Son of a bitch I maybe figured it out.... And as usual, it's because I'm dumb šŸ˜‚ So feel free to call it out right at the beginning next time I ask something haha. I need to do more testing to make sure it wasn't the fluke but I forgot that I have all of my actions applying to the everyone group but I had duplicates of some of the registry stuff also applied to just my user account so I think it was doubling up and pissing things off. So far removing the stuff just for me seems to be helping
thanks again to everyones willingness to help here again! by far i get the most useful information from all the smart people here!
s
Good! By the way, here is the document for the WEM log. just for your reference. https://docs.citrix.com/en-us/workspace-environment-management/current-release/reference/view-log-files.html
a
thanks! I actually dug in the the debug logging after @Nick Panaccio mentioned that too and was super helpful to see what was going on