Problems with Winlogon creating user profiles

From: Justin Yorke (jyorke_at_umich.edu)
Date: 12/12/04

  • Next message: Mauro Iorio: "Re: Can't call WlxSASNotify in a separate thread! Alternative ways?"
    Date: Sun, 12 Dec 2004 02:30:02 -0500
    
    

    I am writing a replacement GINA for Windows 2000 and XP, with a Windows
    XP SP2 client (joined to a WS2k3 domain) as my primary testing platform,
    and I'm having some issues. While I am able to successfully log into my
    Administrator account and my normal user account, I am unable to log
    into any account which does not already have a profile on the machine.

    I am using LogonUserW() with LOGON32_PROVIDER_DEFAULT and
    LOGON32_PROVIDER_DEFAULT to log on the user, and returning NULL in
    *pPofile from WlxLoggedOutSAS, so Winlogon is responsible for loading
    the profile. Winlogon, however, appears to begin loading a profile (if
    I log in with another user, the new user profile directory is created
    under C:\Documents and Settings\, and the ACLs are set correctly.
    However, after Winlogon calls WlxDisplayStatusMessage with the message
    "Loading your personal settings...", the system stops responding, and I
    can't even move the dialog box that I show from WlxDisplayStatusMessage
    with the mouse. This occurs with both local and domain accounts, and
    both Administrators and LUAs.

    Does anyone have any ideas about this, or any examples of profile
    creation and loading code that I could use instead of passing control to
    Winlogon? Any help would be greatly appreciated.

    -- 
    Justin
    

  • Next message: Mauro Iorio: "Re: Can't call WlxSASNotify in a separate thread! Alternative ways?"

    Relevant Pages

    • Re: Help! Windows wont start normally!!
      ... i restarted the puter but Windows won't start ... It stopped when it was loading my personal settings. ... Windows cannot load the locally stored profile. ... Your original account has been corrupted. ...
      (microsoft.public.windowsxp.general)
    • Re: 1 Notebook unable to log in
      ... NETDOM RESETPWD Resets the machine account password for the domain ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... | need to migrate their old domain profile [favorites, My Documents, ...
      (microsoft.public.windows.server.sbs)
    • Re: MSN Dial Up Wiped Out Mysteriously
      ... | a corrupted profile can produce all the symptoms I mentioned. ... | to somehow create a new account, move things over from the corrupt ... | then eliminate the corrupt account. ... | dialogue box and click on "Properties" nothing comes up or happens. ...
      (microsoft.public.win2000.general)
    • Re: Outlook 2003 and XP SP2
      ... profile, ... You can only have one exchange account ... Diane Poremsky [MVP - Outlook] ... Outlook & Exchange Solutions Center: http://www.slipstick.com ...
      (microsoft.public.office.setup)
    • Re: Unable to delete user profile folder using default Admin. acco
      ... I recognize that this isn't Microsoft Tech Support. ... about removing this pesky little profile folder and I'm done. ... the second account's original profile folder is giving me ... It appeared to have been deleted like the first account when I ...
      (microsoft.public.windowsxp.help_and_support)

  • Quantcast