This message was deleted.
# citrix-vad
s
This message was deleted.
n
Have you tried running AnalyzeLogonDuration (https://www.controlup.com/script-library-posts/Analyze-Logon-Duration/) yet? That would be my first stop. If you're on FSLogix, I'd also check the container log. At my last place, we ended up having a storage issue that caused similar results to what you're seeing, and it was reflected in that FSL log.
j
Not sure I can get a script into this environment, but will have a try
n
You can do it manually... I never use ControlUp for this
Unless you mean you can't run a script (needs to be run as an admin)
j
It's a locked-down environment, so probably blocked for admins - will see what I can do with my pentesting knowhow though
n
Ah, gotcha.
FWIW, this is what I do: 1. Copy the script locally to the VDA you want to test on 2. Run the following against that VDA:
Copy code
Invoke-Command -cn Hostname -scriptblock {auditpol /set /subcategory:"Logon" /success:enable}
Invoke-Command -cn Hostname -scriptblock {auditpol /set /subcategory:"Process Creation" /success:enable /failure:enable}
Invoke-Command -cn Hostname -scriptblock {auditpol /set /subcategory:"Process Termination" /success:enable /failure:enable}
3. Logon to that VDA with your normal account 4. Run the following to execute the script (elevated):
Copy code
powershell -executionpolicy bypass -file ".\AnalyzeLogonDuration.ps1" domain\username
👍 1
Bam, Bob's your uncle
or whatever you guys say now
❤️ 1
😂 1
j
Does that analyze all logons? This is RDSH and I'm interested in a specific user
n
I've never run it on XA, but I imagine it would since you need to specify the user to query. It's using that user when querying the events to build the logon times.
j
Sorry, I didn't see the username bit in the command line, cool
Well dammit - the script reports the logon as 38 seconds whereas Director (and the user's own experience) report it as 126 seconds. I'm still 88 seconds missing 😞
n
Are you actually seeing the logon take that long? Director being right isn't always an easy pill to swallow...
j
As is usual, the user account I have has no such issues. But when i first came in they were complaining of long logon times (some outliers are 10mins+) and the Director data seems to reflect what they told me
s
That makes me ask, are the long logon times all happening in a certain window of time? Could be something environmental that happens at specific time periods,
If it is time related, are others outside of the RDSH farm seeing similar delats?
j
Only got a week's worth of data so difficult to say. Also session hosts are experiencing quite a lot of hangs which I am trying to fix. It may be that fixing one issue depends on (or precludes) the other
s
understood
the other things I was thinking is, how many users are reporting this? Since the account you ran the script with isn't seeing this issue, maybe it has to do with user config(s). same RDSH hosts? The more data the better to try and find patterns It's never help to just get the anecdotal, "Everyone" says it's "Really" slow....