PC Review Forums Newsgroups Windows 2000 Microsoft Windows 2000 Group Policy GetUserNameEx fails with error 14 in userenv.log

Reply

GetUserNameEx fails with error 14 in userenv.log

 
Thread Tools Rate Thread
Old 06-01-2004, 06:23 AM   #1
Andrew Robinson
Guest
 
Posts: n/a
Default GetUserNameEx fails with error 14 in userenv.log


Hi all

I'm getting strange errors in the userenv.log file. Can't find a
direct reference to error 14. The GPOs are not applying to a number of
PCs. We use a single domain for users and computers, all machines are
w2ksp3 and built from an image. Seems like the machine is not talking
to the domain controller. Other machines are successfully reading the
gpos from the same domain controller.

--------userenv.log-----------
USERENV(bc.a4) 11:48:44:583 MyGetDomainDNSName: MyGetUserName failed
for dns domain name with 14
USERENV(bc.a4) 11:48:44:583 CheckUserInMachineForest: MyGetDomainName
failed with 14.
USERENV(bc.a4) 11:48:44:583 CheckXForestLogon :
CheckUserInMachineForest failed with 14
USERENV(bc.a4) 11:48:44:583 ParseProfilePath: CheckXForestLogon
failed, hr = 8007000E
USERENV(bc.a4) 11:49:19:093 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.a4) 11:49:19:914 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.a4) 11:49:20:735 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.a4) 11:49:21:527 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.a4) 11:49:21:527 GetUserGuid: Failed to get user guid with
14.
USERENV(bc.a4) 11:49:21:817 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.a4) 11:49:22:598 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.a4) 11:49:23:389 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.a4) 11:49:24:200 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.a4) 11:49:24:200 GetUserGuid: Failed to get user guid with
14.
USERENV(bc.348) 11:49:24:841 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.348) 11:49:25:622 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.348) 11:49:26:414 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.348) 11:49:27:195 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.348) 11:49:27:195 ProcessGPOs: MyGetUserName failed with
14.
USERENV(bc.47c) 11:56:53:316 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.47c) 11:56:54:097 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.47c) 11:56:54:878 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.47c) 11:56:55:670 MyGetUserName: GetUserNameEx failed with
14.
USERENV(bc.47c) 11:56:55:670 ProcessGPOs: MyGetUserName failed with
14.
------------------------------
Any ideas would be appreciated

Thanks

Andrew
  Reply With Quote
Old 06-01-2004, 03:14 PM   #2
Gary Mudgett [MSFT]
Guest
 
Posts: n/a
Default Re: GetUserNameEx fails with error 14 in userenv.log

If you do a "net helpmsg 14" at a command prompt the error relates back to
"Not enough storage is available to complete this operation" which in this
case can be the number of groups the computer/user is a member of causing a
problem for maxtokensize. Take a look at the following articles that
discuss this type of issue.

327825 New Resolution for Problems That Occur When Users Belong to Many
Groups
http://support.microsoft.com/?id=327825

263693 Group Policy May Not Be Applied to Users Belonging to Many Groups
http://support.microsoft.com/?id=263693

--
Gary Mudgett, MCSE, MCSA
Windows 2000/2003 Directory Services

=====================================================
When responding to posts, please "Reply to Group" via
your newsreader so that others may learn and benefit
from your issue.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

"Andrew Robinson" <cyn3rgy@hotmail.com> wrote in message
news:2e41d4e0.0401052123.534e14ac@posting.google.com...
> Hi all
>
> I'm getting strange errors in the userenv.log file. Can't find a
> direct reference to error 14. The GPOs are not applying to a number of
> PCs. We use a single domain for users and computers, all machines are
> w2ksp3 and built from an image. Seems like the machine is not talking
> to the domain controller. Other machines are successfully reading the
> gpos from the same domain controller.
>
> --------userenv.log-----------
> USERENV(bc.a4) 11:48:44:583 MyGetDomainDNSName: MyGetUserName failed
> for dns domain name with 14
> USERENV(bc.a4) 11:48:44:583 CheckUserInMachineForest: MyGetDomainName
> failed with 14.
> USERENV(bc.a4) 11:48:44:583 CheckXForestLogon :
> CheckUserInMachineForest failed with 14
> USERENV(bc.a4) 11:48:44:583 ParseProfilePath: CheckXForestLogon
> failed, hr = 8007000E
> USERENV(bc.a4) 11:49:19:093 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.a4) 11:49:19:914 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.a4) 11:49:20:735 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.a4) 11:49:21:527 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.a4) 11:49:21:527 GetUserGuid: Failed to get user guid with
> 14.
> USERENV(bc.a4) 11:49:21:817 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.a4) 11:49:22:598 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.a4) 11:49:23:389 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.a4) 11:49:24:200 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.a4) 11:49:24:200 GetUserGuid: Failed to get user guid with
> 14.
> USERENV(bc.348) 11:49:24:841 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.348) 11:49:25:622 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.348) 11:49:26:414 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.348) 11:49:27:195 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.348) 11:49:27:195 ProcessGPOs: MyGetUserName failed with
> 14.
> USERENV(bc.47c) 11:56:53:316 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.47c) 11:56:54:097 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.47c) 11:56:54:878 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.47c) 11:56:55:670 MyGetUserName: GetUserNameEx failed with
> 14.
> USERENV(bc.47c) 11:56:55:670 ProcessGPOs: MyGetUserName failed with
> 14.
> ------------------------------
> Any ideas would be appreciated
>
> Thanks
>
> Andrew



  Reply With Quote
Old 06-01-2004, 11:54 PM   #3
Andrew Robinson
Guest
 
Posts: n/a
Default Re: GetUserNameEx fails with error 14 in userenv.log

Thanks Gary. I'll try it out today and post my findings.

Much Appreciated

Andrew
  Reply With Quote
Old 07-01-2004, 06:56 AM   #4
Andrew Robinson
Guest
 
Posts: n/a
Default Re: GetUserNameEx fails with error 14 in userenv.log

We installed SP4 on the domain controllers and set the maxtokensize
value to 100000 in ther registry. That fixed it...

The document from MS you mentioned describes how to do it.

Thanks very much for you help!

Andrew
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off