This message was deleted.
# _general
s
This message was deleted.
p
OS up to date?
a
Yeah
p
The registry tweak for the firewall profiles bug set?
When logging on the bug shows itself in TaskManager --> Processes --> Network (group with firewall) --> Pin CPU.
d
What if you set the DelayedDesktopSwitchTimeout registry hook on 0 (or max 5)
a
@Philip Elder Could you point out which reg key is that?
@Dennis van Dam I ll give this a try thanks!
p
@Amir Sayes https://support.microsoft.com/en-us/help/4467684/windows-10-update-kb4467684 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. There were two updates for this problem. That's one of them. I'm not sure if it was the first or the second.
👍 1
Found it: https://support.microsoft.com/en-us/help/4490481/windows-10-update-kb4490481 Addresses an issue that slows server performance or causes the server to stop responding because of numerous Windows firewall rules. To enable this solution, use regedit to modify the following and set it to 1: • Type: “DeleteUserAppContainersOnLogoff” (DWORD) • Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy  ^^^ Patched twice! First one didn't fix it. And, in our experience neither did the second until the registry hack was done.
👍 1
r
Maybe....HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UFH\SHC
Delete the shc key. Log out and back end see if it helps
Phillip will that apply is u disbable windows firewall rules?
p
Windows Firewall is never disabled. It goes into a form of limp mode.
r
postive about that.
• So you are thinking add this and it could speed up logins Addresses an issue that slows server performance or causes the server to stop responding because of numerous Windows firewall rules. To enable this solution, use regedit to modify the following and set it to 1: • Type: “DeleteUserAppContainersOnLogoff” (DWORD) • Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy
older but the key still exist
p
We had one 2016 farm that got hit hard by this bug. Start Menu would stop responding then the Taskbar would as well. It was painful. The first patch didn't fix the problem. The registry fix only came out with the second patch many months later. We were ready to migrate them to Server 2019 when the patch and registry fix cleared it. The longest pause was over 2 minutes post logon black screen. In Task Manager one would see that Network service group with the Firewall service in it pinning the CPU.
r
ok, good to know Phillip. Great find man
how is the 2019 experince?
p
Was actually someone that pointed it out on another Slack channel when asking there.
@Bronson Magnan <-- This fellow. 🙂
r
Well thank for sharing the love guys
a
Thanks guys - I have tried those today but unfortunately none could reduce the black screen time 😑... Will keep digging
t
Can you procmon during logon? Using the ALD you can see the time stamps and examine what's happening in that time
👍 1
if you can share both I can take a poke
👍 1
g
Use this script, run as admin once you've got process creation & termination auditing enabled (which the script can do for you via -enable) and run it with -logongof domain\username and it will show you all processes running during the logon and durations which may give you clues, especially if you not the clock time of the black screen and then look for processes starting and ending at the same time as that. https://github.com/guyrleech/Microsoft/blob/master/Get%20Process%20Durations.ps1
👍 1
Also trawl through 300+ event logs again looking for clues with this script using -start a few seconds before the logon time (only need to specify time, eg, 080910 if it's being run the same day as the logon occurred) and -duration for the duration of the logon plus 60 seconds or so (-duration 60s) https://github.com/guyrleech/Microsoft/blob/master/event%20aggregator.ps1
👍 1
a
Thanks guys will certainly try those and let you know!
r
Amir any luck?
I didn't have anyluck with Guys scripts. Parameters kicking me.