Why does XP installation takes more time than Windows 7 and 8

07
2014-07
  • Anbu

    Installation of XP takes more time than Windows 7 and 8..Why it takes so long time? and Why Windows 7 installs faster?

  • Answers
  • Mokubai

    Because the methods of install have changed.

    Windows 7 and 8 installs a coherent and "common" base system and then configures that system by setting up the parts that are machine dependant. This includes a default set of services and other interlinked components and a minimal registry with all the common base dlls and required items already registered. This is fast because it is essentially a single long copy process followed by a short setup period.

    The Windows XP installer on the other hand seems to assume nothing about the base system and instead goes through rounds of discovering devices, installing drivers, then individually registering services for startup and fully registering dlls in the way that Windows expects. This results in several rounds of copy and setup for each component and then at the end a cleanup will happen.

    What this meant was at the time XP could be tailored to suit embedded or custom systems much better, as parts of the system could simply be left out of the installer without breaking things.

    Windows 7 and 8, as the base system is more interlinked and more difficult to untie, has a much larger "embedded" base.


  • Related Question

    Why does it sometimes take a long time for windows to shutdown?
  • Questioner

    I'm not sure if this is a programming question exactly, but it does affect my work quite a bit. I have a project I'm working on where a program has to perform certain tasks on startup. The project itself is no problem, but testing it is. Windows XP and Vista is taking a long time to shutdown.

    When Windows tries to shut down the hard drive sometimes seems to thrash constantly. It can take from 1 to 3 minutes with the windows screen sitting there saying "Shutting down please wait." There is no indication of what is happening and I can't seem to monitor the process because any programs I try to leave running get terminated. Restarts seem to go bit faster.

    I've disabled automatic windows updates so that's the problem. I've also ran anti-virus and anti-spyware programs and the system appears to be clean. I generally have a few browser windows open, putty, python and visual studio.

    1. Why does Windows XP/Vista take so long to shutdown sometimes but not all the time?
    2. What exactly happens during the shutdown process?
    3. Is there anything I can do to speed up the shutdown process?

    Thank you


  • Related Answers
  • Kirill

    Windows services takes the most of shutdown time. Some services, like those that have network-related shutdown operations or have to save large amounts of data to disk, might require more time and so Windows Vista allows a service to request pre-shutdown notification. When Windows Vista shuts down, the Service Control Manager first notifies those services asking for pre-shutdown notification. It will wait indefinitely for these services to exit, but if they have a bug and don't respond to queries, the Service Control Manager gives up and moves on after three minutes.

  • jlingerfelt83

    I'm not sure if you're already doing this, but exiting all programs manually (including any in the systray) before shutting down speeds up the process for me.

  • John T

    Windows also saves settings on shutdown. The longer you keep your computer on you will notice it takes longer to shut down.

  • Phoshi

    Leaving certain programs open can slow shutdown, too. For example, it can take upwards of a minute to shut down if I leave uTorrent (for linux distros, of course) open, but closer to 15 seconds otherwise. It's no exact amounts, but closing off apps that constantly download/upload/disk I/O could help.