question

FrankHeimes-6803 avatar image
0 Votes"
FrankHeimes-6803 asked LeilaKong-MSFT answered

GPClient effectively disables resume from hibernation

This is a followup of https://docs.microsoft.com/en-us/answers/questions/368688/remote-desktop-hangs-on-connecting-after-return-fr.html

It turns out that not RDP but GPClient is the culprit.
I read about a corrupt user profile or corrupt WBEM repository.
I tested a script someone wrote to shutdown four services and delete the wbem folder.
That turned out to be effective, but only for the next login.

Since Windows is not a drag racing car that requires it's engine to be disassembled and repaired after each run, fixing the profile or wbem folder after each and every login is not acceptable.

And to top it all off - what I wrote in the precursor post is still correct: TeamViewer can always connect and login to that host after it resumed from hibernation within a second and it magically convinces GPClient to not stall the next login attempt for many minutes. So just by logging in and out using TeamViewer suddenly 'fixes' the profile and/or wbem?

Is there a way to fix GPClient's behavior or do I have to forego either hibernation or RDP for that host?

windows-group-policyremote-desktop-client
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

LeilaKong-MSFT avatar image
0 Votes"
LeilaKong-MSFT answered

Hello @FrankHeimes-6803 ,

Thanks for your followup.

1.What about RDP to other host or recreating profile?

2.Can you try booting in the safe mode and then login? Did the problem still persist? Are there any logon scripts applied to this machine and the policy “Run logon scripts synchronously” is enabled? If so, please temporarily disable the policy or remove the logon scripts to check the result.
https://social.technet.microsoft.com/Forums/en-US/04766dee-8cd4-4935-a401-5be9fb35da1e/logon-issue?forum=w7itpronetworking
https://social.technet.microsoft.com/Forums/windowsserver/en-US/b38cf1f7-2266-4846-be57-161b023af8eb/warning-showing-quotthe-winlogon-notification-subscriber-ltgpclientgt-is-taking-long-time-to?forum=winserverGP

3.Can you check for Event ID 1074/1076 for the planned reboot of server?
https://social.technet.microsoft.com/Forums/en-US/f112a043-72d0-413b-b1da-6d7981034b31/event-id-60056006-the-winlogon-notification-subscriber-ltgpclientgt-took-91-seconds-to-handle?forum=winservergen

4.Did you disable IPv6 or is there any incorrect DNS settings on the client side?
https://social.technet.microsoft.com/Forums/windowsserver/en-US/ade979e7-b11e-4828-bfcc-bef42ee7015a/gpclient?forum=winserverGP


Best regards,
Leila


If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.