How to fix your machine after Microsoft Updates cause blue screen crashes

microsoft

So Microsoft have done it again, released a batch of updates and our machines start to blue screen!

Problem Updates

From what we have experienced so far are that the following updates are the culprits and should be uninstalled where possible:



  • KB4015217
  • KB4041676
  • KB4041691
Removing the Updates

If you still have access to Windows, open up an elevated command prompt and run these following commands in turn:

Once these have been removed, reboot your server and it should go back into Windows.

Clearing Pending Updates

If this does not work for you, but you still have access to Windows, Microsoft advise putting the following script into a batch file and running it from an elevated command prompt:

Blue Screened Machines (BSOD)

What if your machine is already screwed and you are getting the blue screen? Well, you will need to get into the advanced options after your machine has blue screened. When it tries to boot up again you should get a message like this:

Auto Repair

Click on the Advanced options button which will take you to the Advanced options screen:

Advanced Options

Go ahead and click on the Command Prompt. Once the command prompt launches, run the following to load the software registry hive:

Run the following command to delete the SessionsPending registry key. If the registry value does not exist, proceed to the next step:

Run the following to unload the registry:

Run the following command, which will list all pending updates:

Run the following command for each packages where “State = Install Pending”:

Example:

Close the Command Prompt and click Continue to exit the recovery environment.

Continue dialog

Go ahead and reboot your machine and you should hopefully get yourself back into Windows.

Remember if you are in a corporate environment and using WSUS/SUP/SCCM, do not approve these updates until Microsoft have put their house in order!

Free eBook

Download this guide as a free eBook by clicking the button below:

Windows Updates Fix eBook

Comments

If you have any questions on our guide or if you have any feedback at all, please feel free to scroll to the bottom of our site and leave us a message below in the comments section.



Leave us a message...