STOP Msg: c000021a - Using Mandatory Profile w/o Access Rights

Last reviewed: March 21, 1997
Article ID: Q139351
The information in this article applies to:
  • Microsoft Windows NT Workstation version 3.51
  • Microsoft Windows NT Server version 3.51 -------------------

SYMPTOMS

Create a user account and specify that it should use a mandatory profile. Create the mandatory profile but do not specify that the user just created should be allowed to use it.

When you log in, using an account that attempts to use a mandatory profile it does not have privilege for, an error message appears (correctly) saying you cannot logon as the account does not have access rights to the profile. However a few seconds later, the following STOP message appears:

   STOP: c000021a

CAUSE

During logon processing, Winlogon detects the account does not have access rights to the mandatory profile assigned to that user. Because the user is not allowed to login without a valid mandatory profile, logoff processing is initiated. During this logoff processing, Windows NT attempts to reference the mandatory profile, which fails because the mandatory profile was never loaded in the first place and this causes a memory access violation which results in the STOP Message.

RESOLUTION

This problem has been corrected in the latest Service Pack for Windows NT version 3.51.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 3.51. This problem was corrected in the latest Windows NT 3.51 U.S. Service Pack and Windows NT 4.0. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

   S E R V P A C K
esi=00000000 \* edi=0012fc28 zr na po nc \* cs=001b ss=0023 ds=0023 es=0023 fs=003b
gs=0000    efl=00000246
ntdll!_wcscpy+0xc kernel32!_lstrcpyW+0xd \* 0012fe34 021642e1 0012fe80 00142e90 0012fe80 winlogon!_Logoff+0x91 \* 0012fe74 02161d0d 0012fe80 616f6947 02160000 winlogon!_MainLoop+0xe6 \* 0012ff50 0216e0ad 02160000 00000000 00140d64 winlogon!_WinMain+0x103 pointer at the = %d", profile. >UserProfile.LocalProfileImage); is null. couldn't load \* the mandatory profile in the first place.


Additional query words: prodnt upedit man usrmgr
Keywords : kbbug3.51 kbfix3.51.sp4 kbother ntsecurity NTSrvWkst
Version : 3.51
Platform : WinNT


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 21, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.