Issue: Updates were stuck installing at 5% or Cannot instal updates:

1. Amended the 'Automatic Start action' on virtual machine settings to change the delay to 2 seconds, this way you can hold f8 to get to options everytime.

2. Go to troubleshoot / CMD and make sure you find the correct drive to run the commands on from this thread. Drive X: showed on cmd but it was I guess the boot drive and not the one to edit, C; was in my instance. 

3. Run the following on x: 'dism /image:C:\ /cleanup-image /revertpending actions' and reastart Server. If you received error 3017 go to next step.

4. Rename pending.xml file in c:\windows\winsxs to pending.old. 

5. Perhaps try the 'dism /image:C:\ /cleanup-image /revertpending actions' again. Restart. If no luck go to next step.

6. Rename the softwaredistribution folder to oldsoftwaredistribution. This folder is under c:\windows and should be re-inserting automatically when you download windows updates again.

7. Create blank pending.xml file. echo > pending.xml through CMD.

Possible helpful: 

- to see list of windows updates installed type: 'wmic qfe list'
- I also tried turning off the secure boot under virtual machine firmware in case a update didn't like it

Google AdSence

AUST IT - Computer help out of hours, when you need it most.

Find out why we do it for less.


AUST IT will help you resolve any technical support issues you are facing onsite or remotely via remote desktop 24/7. More...


Reservoir, Melbourne,
3073, VIC, Australia

Phone: 0422 348 882

This email address is being protected from spambots. You need JavaScript enabled to view it.

Sydney: 0481 837 077


Join us in social networks to be in touch.


Complete the form below, and we'll send you our emails with all the latest AUST IT news.