When Windows starts, by default userinit.exe runs. What exactly does this program do?

I know what it does in general - e.g., initiates the logon script - but I am looking for the full details of all the steps it takes.

  • userinit.exe do:if you delete userinit.exe,your pc never log in.
    – user658773
    May 6, 2021 at 18:08

2 Answers 2


According to the documentation for the Userinit registry key on TechNet, userinit.exe does the following:

  • Runs the logon script
  • Reestablishes network connections
  • Starts the configured Windows shell (the default is Explorer.exe)
  • Thanks, sorry - felt a little weird doing that since it was my own "share your knowledge as Q&A" but I guess that's what I'm supposed to do, right? Jul 29, 2012 at 10:33
  • 2
    Yep, it's perfectly acceptable [pun intended] to self-answer on SE sites. In fact, there's even a badge to encourage the practice.
    – jscott
    Jul 29, 2012 at 10:56

I realize this was answered, but here is the details of what userinit.exe does (Explorer.exe is technically loaded by winlogon.exe)

Userinit applies Group Policy settings and any applications not trumped by said group policy that are stored in the Registry locations for startup programs, this is a very long list that is ever-evolving and is accessible via a google search or off from Microsofts website.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.