[THIN] Re: slow login due to userinit.exe

  • From: Erik Blom <erik.blom@xxxxxxxxxx>
  • To: "thin@xxxxxxxxxxxxx" <thin@xxxxxxxxxxxxx>
  • Date: Wed, 16 Sep 2009 13:11:30 +0200

Sweet! Turning off synchronous login scripts seems to have fixed it.

Thanks!

Erik

________________________________
Van: thin-bounce@xxxxxxxxxxxxx [thin-bounce@xxxxxxxxxxxxx] namens Joe Shonk 
[joe.shonk@xxxxxxxxx]
Verzonden: dinsdag 15 september 2009 22:46
Aan: thin@xxxxxxxxxxxxx
Onderwerp: [THIN] Re: slow login due to userinit.exe

Turn off the synchronous login scripts for one.  Second,  disable 
auto-enrollment.  Disabling it should fix your login time issue.

Joe

From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of 
Erik Blom
Sent: Tuesday, September 15, 2009 9:38 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] slow login due to userinit.exe

Hi,

We are experiencing rather slow logons, the most time being taken during the 
"applying registry settings" UI message. After enabling user logon debugging we 
noticed that userinit.exe seems cause a pause of 40 seconds. The following 
snippet taken from the userenv.log file shows this gap:

USERENV(1560.151c) 18:05:36:516 ApplyGroupPolicy: Leaving successfully.
USERENV(1560.1734) 18:05:36:516 GPOThread:  Next refresh will happen in 92 
minutes
USERENV(1560.118c) 18:05:36:516 PolicyChangedThread: Leaving
USERENV(150c.1384) 18:05:36:547 LibMain: Process Name:  
C:\WINDOWS\system32\userinit.exe
USERENV(1560.141c) 18:06:19:016 IsSyncForegroundPolicyRefresh: Synchronous, 
Reason: policy set to SYNC
USERENV(1560.17e0) 18:06:19:031 IsSyncForegroundPolicyRefresh: Synchronous, 
Reason: policy set to SYNC
USERENV(16b4.1558) 18:06:19:094 LibMain: Process Name:  
C:\WINDOWS\system32\userinit.exe
USERENV(1538.1704) 18:06:19:094 LibMain: Process Name:  C:\Program 
Files\Softricity\SoftGrid for Terminal Servers\sftdcc.exe
USERENV(145c.1338) 18:06:19:094 LibMain: Process Name:  
C:\WINDOWS\system32\userinit.exe

Before and after this gap, all seems to be normal (no errors, no gaps).

Other related posts: