[gptalk] Re: Executing: Begin User Group Policy

  • From: "Darren Mar-Elia" <darren@xxxxxxxxxx>
  • To: <gptalk@xxxxxxxxxxxxx>
  • Date: Thu, 17 Jul 2008 14:56:00 -0700

Well, it looks like a defragmentation is kicking off right around user
logon. Outside of that, its hard to know the full context. The delays in
timestamps could be relevant but note that those intervening events are on
different processes and threads (the number in parentheses) so its hard to
know exactly what is happening.



-----Original Message-----
From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
Behalf Of maria schneider
Sent: Thursday, July 17, 2008 1:40 PM
To: gptalk@xxxxxxxxxxxxx
Subject: [gptalk] Re: Executing: Begin User Group Policy

Hello,
thank you and sorry for answering so late but the user has been on holiday
and i didn't have the notebook. The Profile is saved locally and is not so
big, I made a new one but the problem is the same.
Here another few line from the userenv.log:

=========================================================
USERENV(290.294) 18:14:23:655 LoadUserProfile: LoadUserProfileP succeeded
USERENV(290.294) 18:14:23:655 LoadUserProfile:  Returning success.  Final
Information follows:
USERENV(290.294) 18:14:23:655 lpProfileInfo->UserName = <Username>
USERENV(290.294) 18:14:23:655 lpProfileInfo->lpProfilePath = <>
USERENV(290.294) 18:14:23:655 lpProfileInfo->dwFlags = 0x0
USERENV(290.294) 18:14:23:655 LoadUserProfile: Returning TRUE. hProfile =
<0x9c0>
USERENV(290.294) 18:14:23:888 IsSyncForegroundPolicyRefresh: Synchronous,
Reason: policy set to SYNC
USERENV(cc4.cc8) 18:14:39:845 LibMain: Process Name:
C:\WINDOWS\system32\userinit.exe
USERENV(ff8.ffc) 18:42:42:540 LibMain: Process Name:
C:\WINDOWS\system32\defrag.exe
USERENV(100.104) 18:42:42:603 LibMain: Process Name:
C:\WINDOWS\system32\DfrgNtfs.exe
USERENV(7f0.650) 18:42:50:228 LibMain: Process Name:
C:\WINDOWS\system32\defrag.exe
USERENV(1e4.1e0) 18:42:50:416 LibMain: Process Name:
C:\WINDOWS\system32\DfrgNtfs.exe
USERENV(290.294) 19:14:21:525 IsSyncForegroundPolicyRefresh: Synchronous,
Reason: policy set to SYNC
USERENV(158.470) 19:14:21:634 EnterCriticalPolicySectionEx: Entering with
timeout 600000 and flags 0x0
USERENV(158.470) 19:14:21:634 EnterCriticalPolicySectionEx: User critical
section has been claimed.  Handle = 0x1d8
USERENV(158.470) 19:14:21:634 EnterCriticalPolicySectionEx: Leaving
successfully.
USERENV(158.470) 19:14:21:634 LeaveCriticalPolicySection: Critical section
0x1d8 has been released.
USERENV(290.c38) 19:14:32:524 IsSyncForegroundPolicyRefresh: Synchronous,
Reason: policy set to SYNC

look at the timestamps!! it takes about 1 hour to log in and it seems that
the userinit.exe is the culprit.

Thank you for any help. I read tones of help on google but i cannot find the
solution. It drives me mad.

Maria

-------- Original-Nachricht --------
> Datum: Wed, 9 Jul 2008 07:04:59 +1000
> Von: "Alan & Margaret" <syspro@xxxxxxxxxxxxxxxx>
> An: gptalk@xxxxxxxxxxxxx
> Betreff: [gptalk] Re: Executing: Begin User Group Policy

> Hi Maria,
> 
> The second log has entries for CSyncManager trying to synchronise the user
> profiles while the first does not. Could it be that you have very large
> profiles and when you move to a new machine it takes a long time to
> download
> all of the contents? You say that it eventually works, suggesting that it
> is
> not hanging on a security problem. Is it a very slow link?
> 
>  
> 
> Alan Cuthbertson 
> 
> -----Original Message-----
> From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx] On
> Behalf Of maria_medeea1@xxxxxxx
> Sent: Tuesday, 8 July 2008 11:45 PM
> To: gptalk@xxxxxxxxxxxxx
> Subject: [gptalk] Re: Executing: Begin User Group Policy
> 
> Hello Darren and thank you for answering.
> I already enabled the verbose userenv logging and I compared two log
> files:
> one after a normal boot and another after hard reset. Here is the
> difference:
> 
> the "Good" one:
>  19:39:20:608 IsSyncForegroundPolicyRefresh: Synchronous, Reason: policy
> set
> to SYNC
> USERENV(294.c2c) 19:39:20:608 ApplyGroupPolicy: Entering. Flags = 6
> USERENV(294.c2c) 19:39:20:608 ProcessGPOs:
> USERENV(294.c2c) 19:39:20:608 ProcessGPOs:
> USERENV(294.c2c) 19:39:20:608 ProcessGPOs: Starting user Group Policy
> (Background) processing...
> USERENV(294.c2c) 19:39:20:608 ProcessGPOs:
> USERENV(294.c2c) 19:39:20:608 ProcessGPOs:
> USERENV(294.c2c) 19:39:20:608 ProcessGPOs:  Verbose output to eventlog
> requested.
> USERENV(294.c2c) 19:39:20:608 CEvents::Report: ReportEvent failed.  Error
> =
> 1502
> USERENV(294.c2c) 19:39:20:608 EnterCriticalPolicySectionEx: Entering with
> timeout 600000 and flags 0x0
> USERENV(294.c2c) 19:39:20:608 EnterCriticalPolicySectionEx: User critical
> section has been claimed.  Handle = 0xa60
> USERENV(294.c2c) 19:39:20:608 EnterCriticalPolicySectionEx: Leaving
> successfully.
> USERENV(294.c2c) 19:39:20:608 ProcessGPOs:  Machine role is 2.
> USERENV(294.c2c) 19:39:20:608 CEvents::Report: ReportEvent failed.  Error
> =
> 1502
> USERENV(294.c2c) 19:39:20:608 PingComputer: Adapter speed 100000000 bps
> USERENV(294.c2c) 19:39:20:608 PingComputer:  First time:  0
> USERENV(294.c2c) 19:39:20:608 PingComputer:  Fast link.  Exiting.
> USERENV(294.c2c) 19:39:20:624 CEvents::Report: ReportEvent failed.  Error
> =
> 1502
> USERENV(294.c2c) 19:39:20:624 CEvents::Report: ReportEvent failed.  Error
> =
> 1502
> 
> the "BAD" one:
> 
> IsSyncForegroundPolicyRefresh: Synchronous, Reason: policy set to SYNC
> USERENV(d10.d14) 14:39:45:428 LibMain: Process Name:
> C:\WINDOWS\system32\userinit.exe
> USERENV(288.bd0) 14:40:01:358 IsSyncForegroundPolicyRefresh: Synchronous,
> Reason: policy set to SYNC
> USERENV(288.bd0) 14:40:01:358 ApplyGroupPolicy: Entering. Flags = 6
> USERENV(288.bd0) 14:40:01:358 ProcessGPOs:
> USERENV(288.bd0) 14:40:01:358 ProcessGPOs:
> USERENV(288.bd0) 14:40:01:358 ProcessGPOs: Starting user Group Policy
> (Background) processing...
> USERENV(288.bd0) 14:40:01:358 ProcessGPOs:
> USERENV(288.28c) 14:40:40:265 InitializePolicyProcessing: Initialised
> Machine Mutex/Events
> USERENV(288.28c) 14:40:40:328 InitializePolicyProcessing: Initialised User
> Mutex/Events
> USERENV(288.28c) 14:40:40:328 LibMain: Process Name:
> \??\C:\WINDOWS\system32\winlogon.exe
> USERENV(288.28c) 14:40:40:406 Entering CUserProfile::Initialize ...
> USERENV(288.28c) 14:40:40:406 CUserProfile::Initialize called by winlogon
> USERENV(288.28c) 14:40:40:406 CUserProfile::Initialize: critical section
> initialized
> USERENV(288.28c) 14:40:40:406 CSyncManager::Initialize: critical section
> initialized
> 
> 
> on the "bad" one, starts userinit.exe and the whole policy procedure
> reiterate. The last lines in the "bad" log are
> IsSyncForegroundPolicyRefresh: Synchronous, Reason: policy set to SYNC
> LibMain: Process Name:  C:\WINDOWS\system32\userinit.exe
> 
> I can sometimes reboot nine or ten times without problems, and sometime we
> have to remove the rechargeable battery.
> I cannot find any causal connection.
> 
> If you have any ideea, please let me know. Thank you.
> 
> Maria
> -------- Original-Nachricht --------
> > Datum: Mon, 7 Jul 2008 10:33:19 -0700
> > Von: "Darren Mar-Elia" <darren@xxxxxxxxxx>
> > An: gptalk@xxxxxxxxxxxxx
> > Betreff: [gptalk] Re: Executing: Begin User Group Policy
> 
> > Maria-
> > Its hard to say exactly the problem but I think the first thing to do
> > would
> > be to enable verbose userenv logging on that system and see if it shows
> > where the time is being spent. You can post the relevant parts of the
> log
> > here if you want, so that we can take a look.  More info on enabling
> that
> > logging is here:
> > 
> > http://support.microsoft.com/default.aspx?scid=kb;en-us;221833
> > 
> > Darren
> > 
> > -----Original Message-----
> > From: gptalk-bounce@xxxxxxxxxxxxx [mailto:gptalk-bounce@xxxxxxxxxxxxx]
> On
> > Behalf Of maria_medeea1@xxxxxxx
> > Sent: Monday, July 07, 2008 10:05 AM
> > To: gptalk@xxxxxxxxxxxxx
> > Subject: [gptalk] Executing: Begin User Group Policy
> > 
> > Hello,
> > 
> > I search for a long time the solution for a problem one client in our
> > domain
> > has.
> > XP SP2 it happens randomly and after many gpupdate /force and reboots I
> > still don't know why it can happen :((
> > The Problem: we change a Laptop with a newer one for one User and since
> > than
> > he cannot sometimes to log in. It takes very long after he logs on. It
> > hangs
> > on "applying user settings" after I activate the verbose login it
> remains
> > on
> > "Executing: Begin User Group Policy" and what helps ist a hard reset.
> > We changed the motherboard and the harddisk (we thought it may be the
> > hardware, but it wasn't).
> > We reinstalled the client and made a new profile. The Problem is the
> same.
> > It never happens with my account (I work remotely with dom.admin
> account).
> > I searched the internet but I didn't find anything.
> > What could it be?
> > Thank you. Cheers
> > 
> > maria
> > -- 
> > Psssst! Schon vom neuen GMX MultiMessenger gehört?
> > Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> > ***********************
> > You can unsubscribe from gptalk by sending email to
> > gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
> by
> > logging into the freelists.org Web interface. Archives for the list are
> > available at http://www.freelists.org/archives/gptalk/
> > ************************
> > 
> > ***********************
> > You can unsubscribe from gptalk by sending email to
> > gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR
> by
> logging into the
> > freelists.org Web interface. Archives for the list are available at
> > http://www.freelists.org/archives/gptalk/
> > ************************
> 
> -- 
> Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?
> Der Eine für Alle: http://www.gmx.net/de/go/messenger03
> ***********************
> You can unsubscribe from gptalk by sending email to
> gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by
> logging into the freelists.org Web interface. Archives for the list are
> available at http://www.freelists.org/archives/gptalk/
> ************************
> 
> ***********************
> You can unsubscribe from gptalk by sending email to
> gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by
logging into the
> freelists.org Web interface. Archives for the list are available at
> http://www.freelists.org/archives/gptalk/
> ************************

-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein:
http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
***********************
You can unsubscribe from gptalk by sending email to
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by
logging into the freelists.org Web interface. Archives for the list are
available at http://www.freelists.org/archives/gptalk/
************************

***********************
You can unsubscribe from gptalk by sending email to 
gptalk-request@xxxxxxxxxxxxx with 'unsubscribe' in the Subject field OR by 
logging into the freelists.org Web interface. Archives for the list are 
available at http://www.freelists.org/archives/gptalk/
************************

Other related posts: