What does windows do when it starts up?

Source: Internet
Author: User

A Windows Server 2003 startup process requires three startup files:Ntldr.exe, ntdetect.com and boot. ini. The following is the steps when it starts up.

 

  1. Press the power key on the computer, the power-on self test (post) loads the system BIOS into memory.

     

  2. The BIOS reads the MBR (Master Boot Record) contents.

     

  3. MBR reads the contents of the boot sectors of each partition until it finds a bootable sector.

     

  4. The Boot Sector Program reads the boot directory and loads Windows Server 2003 loader, also called ntldr, into memory.

     

  5. Ntldr loads the basic memory configuration and then loads itself into high memory.

     

  6. Ntldr switches the server to the 32-Bit mode, which is a protected mode.

     

  7. Ntldr reads the boot. ini Startup File and loads the OS. C: \ Windows.

     

  8. Ntldr loads ntdetect.com, which is a 16-bit application and is also called ntdetect. to do this, ntldr switches the server back to the 16-Bit mode, which is a real mode, from the protected mode.

     

  9. Ntldr loads itself into memory and reads the resource map.

     

  10. Ntldr switches the server to the protected mode again to creates the HKEY_LOCAL_MACHINE/hardware register key. to do this, it sets up the ring 0 mode for the kernel and then loads the appropriate ntoskrnl Kernel File, the hardware implements action layer (HALHardware Abstraction Layer), And the boot drivers for the server.

     

  11. Ntldr starts the run process for ntoskrnl. This enables win Server 2003 to start and run normally.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.