WMI Rebuilder - Stuck on Starting Windows

We have recently had an annoying issue with machines taking a very long time to get to the ALT-CTRL-DEL screen on boot up and getting stuck on starting Windows and also taking ages to shut down and do anything in Windows.

We found a few hotfixes for this issue, but when we tried to run them, we found that they would just hang as well and not run.

After going through endless log files that gave us no information at all, we finally got to the end of it – it is partly to do with a corrupt WMI repository.

To fix this problem is a long process and you will need to run a batch file which will completely rebuild your WMI repository to clear the issue. This batch file is available to download further down in this guide so keep reading!

Please note that doing this will rebuild your WMI so you do so at your own risk!

Instructions

First of all, you need to log in to the affected machine with a local admin account that has previously logged into the machine, this should allow the machine to log in a little quicker than it trying to create a new profile (of which it may never complete anyway).

Once you are logged in, click Start, then in the search box type: services.msc and hit Enter.

You then need to locate the Windows Management Instrumentation service and double-click it. Do not stop the service as it may crash your Windows, just change the drop-down menu to Disabled, click Apply and OK.

You then need to copy the fix files locally to your local drive (for this guide I’ll be using C:\WMI\FIX). The fix files are the batch file that will rebuild your repository and the other is the Windows Hot Fix that you need to run (note that x86 and x64 hotfixes are included in the below download).

Download

Link: Download WMI Rebuilder Fix

Once you have copied these files to C:\WMI\FIX reboot your machine and press F8 boot into Safe Mode (important, make sure you choose just Safe Mode and not Safe Mode with Networking or anything else…)

You will then get to the ALT-CTRL-DEL Screen, and again, log in as a local admin account. Once in, double-click the batch file that you copied into your C:\WMI\FIX folder, this should then disable all necessary services and completely rebuild your WMI – this sometimes can take some time, so don’t think it has crashed, let it finish.

Once this has finished, you can then reboot your machine again and log in again as a local admin. You should notice that the machine is now working slightly quicker.

You should then run the Windows Hot Fix that you copied to your C:\WMI\FIX earlier (depending on x86 or x64). Let it install, then reboot and log in as your standard user – you should find that your machine is now back to normal again.

Note that running the batch file fixes the problem, running the hotfix keeps it from happening again!

Step-by-Step Guide

Rebuild WMI in Windows

Login using the local Administrator Account

Login to the affected machine with a built-in local administrator account or a cached local administrator account.

Go to Windows Services

Once you are logged in, click Start, then in the search box type: services.msc and hit Enter.

WMI Windows Service Disable

You then need to locate the Windows Management Instrumentation service and double-click it. Do not stop the service as it may crash your Windows, just change the drop-down menu to Disabled, click Apply and OK.

Download WMI Rebuilder

You then need to copy the fix files locally to your local drive (for this guide I’ll be using C:\WMI\FIX). The fix files are the batch file that will rebuild your repository and the other is the Windows Hot Fix that you need to run (note that x86 and x64 hotfixes are included in the below download).

You can get the Download of these files from here:

Link: Download WMI Rebuilder Fix

Reboot into Safe Mode

Once you have copied these files to C:\WMI\FIX reboot your machine and press F8 boot into Safe Mode (important, make sure you choose just Safe Mode and not Safe Mode with Networking or anything else…)

Rebuild the WMI

You will then get to the ALT-CTRL-DEL Screen, and again, log in as a local admin account. Once in, double-click the batch file that you copied into your C:\WMI\FIX folder, this should then disable all necessary services and completely rebuild your WMI – this sometimes can take some time, so don’t think it has crashed, let it finish.

Apply Hotfix

Once this has finished, you can then reboot your machine again and log in again as a local admin. You should notice that the machine is now working slightly quicker.

You should then run the Windows Hot Fix that you copied to your C:\WMI\FIX earlier (depending on x86 or x64). Let it install, then reboot and log in as your standard user – you should find that your machine is now back to normal again.

Estimated Cost: 0.00 USD

Supply:

  • Microsoft

Tools:

  • Keyboard
  • Mouse

Materials: WMI

Windows Updates Stuck?

If you have a problem with Windows Updates getting stuck on your machine, you can try the process in this video to resolve that particular problem.

Why Me?

I’ve had a lot of people contacting me asking why this happens and why this fix works – the simple answer to every one of these questions is – I don’t know! I know why it worked for me, but your problem could be different.

If you want to know what my problem was – I had a failed upgrade installation of my SCCM environment meaning that my client machines could not report their ever-growing hardware inventories. This meant that the WMI repositories on the client machines got bigger and bigger until the machine wouldn’t work correctly any more. Running the batch file cleared the registry and the hotfix seem to keep it at bay.

The real fix in the end for me though was that I had to rebuild my SCCM environment and I’ve had no issues since. So my advice would be to find the source of the problem and fix it!

I’d like to hear if this helps you, so if you try it, please remember to comment with your feedback…

Screenshots

Stuck on Starting Windows

FAQ

What is WMI?

WMI stands for Windows Management Instrumentation. It is one of the core services for Windows to run.

Is WMI Rebuilder Free?

Yes, we offer our WMI Rebuilder tool to both home and commercial users for free.

PAD Files

Download PAD File

Feedback

We would love to hear your feedback on this article so come and join us on Facebook or Twitter and let us know what you think!

Click to rate this post!
[Total: 1 Average: 5]

Discover more from TechyGeeksHome

Subscribe to get the latest posts to your email.

Avatar for Andrew Armstrong

Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 26 years. Sharing experience and knowledge whenever possible! Making IT Happen.

12 thoughts on “WMI Rebuilder – Stuck on Starting Windows

  1. Hi. In hope someone will be checking, I have a question. How do I run this hotfix if I can’t get past the welcome sceen at all?

  2. Hi. In hope someone will be checking, I have a question. How do I run this hotfix if I can’t get past the welcome sceen at all?

  3. It worked nicely for me!
    The hotfix KB2578159 seems to be for Win7 “SP0” and does not install in SP1. Is there a new hotfix?
    What is the PAD file for?

    1. Don’t worry about the hot fix as it would have been superseded by now. Just ensure that you fully update your windows from windows update. The PAD file is for the software distribution for sites that want to distribute this fix.

  4. It worked nicely for me!
    The hotfix KB2578159 seems to be for Win7 “SP0” and does not install in SP1. Is there a new hotfix?
    What is the PAD file for?

    1. Don’t worry about the hot fix as it would have been superseded by now. Just ensure that you fully update your windows from windows update. The PAD file is for the software distribution for sites that want to distribute this fix.

  5. Hi,
    I think that I have exactly the same problem, so I’d like to know what mean “I had to rebuild my SCCM environment”? Do reinstall sccm server with fresh db?

    Thank you for your answer!

  6. Hi,
    I think that I have exactly the same problem, so I’d like to know what mean “I had to rebuild my SCCM environment”? Do reinstall sccm server with fresh db?

    Thank you for your answer!

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.