Microsoft

WMI Rebuilder – Stuck on Starting Windows

Last updated on March 30th, 2023 at 05:18 pm

Read Time:3 Minute, 37 Second

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 hot fixes 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 login to the affected machine with a local admin account that has previously logged into the machine, this should allow the machine to login 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:WMIFIX). 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 hot fixes are included in the below download).

Download

Download WMI Rebuilder Fix

Once you have copied these files to C:WMIFIX reboot your machine and pressing 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, again, login as a local admin account. Once in, double click the batch file that you copied into your C:WMIFIX 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 login 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:WMIFIX earlier (depending on x86 or x64). Let it install, then reboot and login 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 hot fix keeps it from happening again!

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 hot fix 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

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]
Avatar for Andrew Armstrong

About Post Author

Andrew Armstrong

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

Free Subscription

If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.

Join 6,258 other subscribers.

No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.


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.

Follow Us

Categories

Archives

Top Downloads

Subscribe

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 6,258 other subscribers.

Tags

Meta