This message was deleted.
# _general
s
This message was deleted.
n
I haven’t done anything fancy with my W10 image. Citrix Optimizer with the usual suspects (services and scheduled tasks) among other things, and removing virtually all StubPath/Active Setup registry entries. We only auto launch Skype at logon, and have no issues with CPU (most of these are also 2 vCPU VMs).
j
yeah customer has a lot going on at logon - App-V, Teams, large amounts of GPO, printers etc - optimization is all done with the usual offenders - just can't get CPU down (and this is probably to be expected given what is going on at logon) to a nice level
s
yeah you can
you can't do anything wtih all that
I do horizon vms and with the vmware optimizer 2 is ok, but even with the most restrictive optimization, 4 seems to give better logon times.
c
I have seen with teams, OneDrive and uwp not much you can do.
k
We’ve seen 3 vCPUs as the sweetspot in terms of density vs application performance, we’ve presented some of the material at the loginvsi VDI performance summit.
d
Don't know if your EUC product can do this, but this is my brainfart how we implement this in the RES product and what I saw at customers: spread CPU load by not doing everything that you can manage at logon, deliver it just in time. For example printers and mappings, not all at logon but once the user is logged in or when he starts the application that really needs that mapping/printer. Application based policies or actions should be triggered only once if that process starts. If you use application personalization / User settings or how your product calls it, try loading it at application start and save at logoff (not at application end). File copy actions at logon are faster if the data is stored locally, so cache that stuff locally already (makes more sense for XenApp sessions of course) . Powershell is cool, one of my customers compare PS with VBscript, they check the processing time and CPU load and in many cases VB is faster and less stressful.
j
Boot 'em way in advance
Set up an automatic logon
d
ahh yes, that's what I also have in my lab for VDI, auto logon and a script that triggers common things to start before logging off again. Can be done using BIS-F feature now too isn't it?
j
Yep, would also be a good idea to load a bunch of applications and then terminate them during the auto logon
j
@Kees Baggerman yep we’ve seen 3 hit the sweet spot on XenServer deployments, this is azure and I’m locked to 2 vCPU - move to 4 and everything works nicely.... @Dennis van Dam unfortunately GPO and GPO filtering reigns supreme, as does App-V, all of which filters and processes heavily :-( @James Rankin yup, we preboot and delay registration, we prefetch apps, we even experimented with auto logon, none of which make any difference for reducing CPU through logon process - even auto logon which I swear by in shared hosted environments barely does anything in windows 10....we are fighting the stupid appX registration issues with fslogix - so until Microsoft fix that we are pretty much screwed on 2 vCPU
n
That AppX thing affects W10 in general, not just FSL images, no?
j
Sounds like that horrid firewall rules crap, but pretty sure that was fixed in a patch
n
It was supposed to be fixed in a patch, but only for 2004. I have no idea if that patch was ever released, though, as I've only seen a single tweet on the issue.
j
Can't find the patch reference, but try this --- Addresses an issue that slows server performance or causes the server to stop responding because of numerous Windows firewall rules. To enable the changes, add a new registry key “DeleteUserAppContainersOnLogoff” (DWORD) on “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy” using Regedit, and set it to 1
n
We don't have Windows Firewall enabled, so it's definitely not the issue for uis.
j
I was thinking of Ozzyman's issues 🙂
j
@Nick Panaccio it was supposed to be fixed in the July patch for windows 10 2004 - but looks at this stage (and this is yet to be confirmed 100% by Microsoft so I don’t want to slander) that it never made it into single session OS.... it also has no release notes in any of the Microsoft articles - and only effects FSLogix profiles I believe - but we are working with Microsoft (I’ve seen this across multiple customers - you just don’t notice it as much if you optimise the crap out of images and have CPU to spare)
@James Rankin yeah this smashed us in server OS a couple of years back, but windows 10 single session never hurt??
j
Deffo saw it on Windows 10 at a university I was in contact with
n
Gotcha, thanks James. If you do hear of an eventual release, definitely let the rest of us know.
j
Hrmmm I’ll dig and see what I can see on that one - we are on latest and greatest patch runs of everything but I’ll definitely take a look re firewall. The AppX thing wouldn’t be so bad on single session (more an annoyance) if you have spare CPU, but it gets real bad on multi session windows 10 once you start loading it up - and if you are lacking cpu cycles, there is a significant impact to logons. It’ll get sorted, Microsoft are paying attention to their credit
n
The AppX thing adds 12 seconds to my logon, and my image has all AppX stuff that can be removed, removed. I want those 12 seconds back, damnit.
j
Amuse yourself - track the impact of those left over packages without fslogix in the mix (if you can - local profile / persistent VDI).... next to no impact
At least that’s what I’m seeing through tracing - your mileage may vary
Thanks for the ideas lads - much appreciated as always
d
1. @Nick Panaccio you can "fake" skipping the 12 seconds by setting "DelayedDesktopSwitchTimeout" (REG_DWORD) in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System to 0, then the end-user will think he's already logged on but appx and other stuff like filetype XML is still being processed. I don't care about fast logins so 40 sec. is already nice for me as long as I have the right workspace and security in the right context.
n
Interesting, thanks. Our logon is under 30 seconds for the 2nd logon+, so it's not a huge issue. I just want more speed.
d
@Nick Panaccio I only use the switch on my Win10 demo VM's to show that a fast login of 7 sec. is possible, but then also explain that I don't have 2000 apps with tons of security rules for apps, filesystem and network. And I don't do anything during login, all policies and printers, mappings and other actions are happening after login or during app start. App-V is handled on demand per user by RES or I use Appventix when using my Appsense demo. The switch is present and set to 0 by default on 2019 SRV.
n
Even though I think that switch would be fine in our environment, I don't think I'd ever want to make that change. With my luck, the loudest physician will have an issue and complain about it, and that'll be that.
j
That switch just helps to emphasises a massive problem with appX deployment presenting a nice fat black screen :-)
j
AppX needs to die
j
Confirmed today - fix is only for multi session windows 10 😳
Oh man I couldn’t agree more - biggest bucket of shit Microsoft have forced down our throats ever
k
I, for one, agree with the statement above from @James Rankin
Windows ME, I’m just putting that out there @James Kindon
j
Pretty sure Windows ME was simply a giant AppX package @Kees Baggerman 😏
You know who this customer is that I am working with @Kees Baggerman - when their nutanix kit arrives, life will settle 🤘
k
Nutanix, making life easy since 2009
🙂 2
n
Windows ME was also the only Microsoft OS that I've ever paid for, and also the reason it'll be the last MS OS I ever pay for...
j
Hi - has anyone got an further with Microsoft around this? We got this update today, when asked about when the '2004 Multisession' fix is going to be available for 'single session'. ... 'The issue and the information share here as discussed today on the weekly Escalation meeting so now there are internal queries being made at the same time on the Product group side . When I have the official information that is being addressed on the case it will be shared .'
n
I don't have a case open with them on it, so I'm going off what everyone here has been relaying. I sure as hell hope that they figure this out for single session OS, since that has to be the vast majority of use cases for W10.
j
We were told it’s a no go and wasn’t going to be back ported. Very annoyed. Hopefully that stance changes. They kept telling us it was simply by design
n
UWP can burn in hell. It has been trash since inception and deserves no better fate.
✅ 1
🍻 1
j
@James Kindon I'm not sure how much you've looked into the problem, but my understanding is that this is a fault. In that, it doesn't happen with Citrix UPM, or local profiles only FSLogix. My impression is this is not a sign in problem exactly, but potentially a sign out. Where the Appx registrations against the profile are being trashed / corrupted as the user is logging out. Consequently each sign in, is being treated as a new logon. A product designed to destroy itself, wouldn't exactly be the first time in Microsoft's history, but I'm still not buying that line.
This is the sign out behaviour, which you can see against the VM if you have persistent event logs.
j
That's interesting. Are those "registrations" tied to Registry or filesystem?
j
I believe it could be linked to a botched dismount of the VHD that happens 5 seconds before those events start filling up the logs.
j
1314 is a permissions error "the required privilege is not held by the client"
j
@James Rankin I'd love to know, I think its a combination of registry and what's in the profile container. The latter gets dismounted midway through the sign out process.
this 1314 error happens on both sign in and sign out, against every FSlogix setup we have deployed.
j
Might be benign then
j
indeed, but regardless of how / who dismounts the VHD, but it does indicate that the profile VHD is disconnected before the Appx has finished what is trying to do. And it doesn't end the session in a happy state.
j
Probably need some way of delaying the dismount for a bit. TBF sounds like something for the product team
j
Agreed.
Microsoft have all the eventlogs, procmon's, etc. I'd like to think they can figure this out. My concern is partly performance, CPU drain, but we have a client who is moving from 1809 to 1909, with FSLogix profiles created on 1809. The disconnect between what is provisioned within the container, and the OS. We believe is causing all UWP packages to break upon sign in. I guess the apps should 'upgrade' as normal. Due to this, they are stuck on an OS which is about to fall out of support. Fresh 1909 profiles are fine.
Does anyone have an FSLogix + Windows 10 inplace upgrade success story?
j
@James Richards 100% it is a fault. I have the technical detail form Microsoft on exactly what the fault is, and it was FSLogix sending a form of notification to the OS that the profile was leaving (I am paraphrasing, I have emails off until I’m back at work next week) which does not happen with a local profile - my dumbed down request was “don’t make it do that” but I’m sure there is a lot more to it :-)
Also yes, on the OS upgrade bits, same profile back and forward through the 1809/1909/2004 release with no issues - just higher impact due to more appX packages involved. 1909 was not the happiest of releases performance wise
I’ll share the technical response from Microsoft when I get my emails back so the info is accurate
j
@James Kindon Great, thanks James. If you have those details it would be be interesting.