Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How To Cancel Pending Windows 7 Updates? The key is pending.

The shutdown button has the windows update symbol meaning that there are updates that were selected to be installed which were download and will be installed upon shutdown.

The only thing is that my machine will no longer boot if I let it install those updates! They are incompatible with a driver needed in the system and I did not found out until too late. The system admin used a recovery disk to get back to the previous restore point, only the updates are now pending, so I need to cancel those before the machine shutdowns next.

share|improve this question
up vote 4 down vote accepted

You can edit configuration from the group policy editor.

Start -> Run
Administrative Templates / Windows Components / Windows Update /Donot Display "Install updates and shutdown" option
share|improve this answer

1) Go into the Windows Updates configuration and disable automatic updates. I don't recommend leaving it set this way, this is only a temporary fix, the better solution is #2

Control Panel (icon view) > Windows Update > Change Settings

2) Open Windows Updates and de-select the updates you don't want installed, then right click on them and select "hide", you can unhide them later when you get things sorted out.

Control Panel (icon view) > Windows Update

. enter image description here

share|improve this answer
Unfortunately this did not work since the problematic update was no longer on the list of available updates. – Itai Nov 15 '11 at 15:06
You said "pending updates" if it is pending it will show up in the list. – Moab Nov 15 '11 at 15:36
Guess I'm missing the right word for pending installation vs pending acceptance, sorry. – Itai Nov 15 '11 at 16:41

If you mean "pending reboot," then the file replacements have already been made by the Windows update agent and are awaiting system reboot (or they may have already been replaced, and are just awaiting reboot to be loaded).

If it's the former case, you will need to tell the system there is no restart pending and clear the pending file replacements by setting the following registry keys:

Change value to: HKLM\SOFTWARE\Microsoft\Updates\ reg_dword:"UpdateExeVolatile" = 0x00000000
Delete: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\PendingFileRenameOperations

Then you should perform the following to proactively remove the downloaded and cached updates from being accessible by the Windows update agent:

net stop wuauserv
rmdir /s /q "%systemroot%\SoftwareDistribution"
net start wuauserv

Also check the following registry key and clear it:

HKLM\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending

If it's the latter case, you will have to replace drivers with a working copy using the Windows RE (recovery environment).


share|improve this answer

You can remove the file C:\windows\winsxs\pending.xml. After booting the system back up, I recommend you run Windows Update again.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .