Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Windows 7:  Cancel Enforced Windows Update Restart that is going to take place in 10 minutes?

Posted on 2016-10-21
2
Medium Priority
?
149 Views
Last Modified: 2016-10-21
Hi,

We have a contractor on site for 2 days.  We gave him an old laptop.  It installed 250 Windows updates (taking four hours).  Today it tried to install a load more taking over an hour, these rolled back saying "Failure configuring Windows updates Reverting changes.  Do not turn off you computer".

As he's not here for long I asked him just to leave his PC on.

Unfortunately Windows is now installing more updates and it says the PC will be rebooted in 10 minutes.  There is no option to delay or cancel.

I can't have the laptop offline for hours again.  Is there a way to cancel the enforce reboot that has been already initiated?


Many thanks
0
Comment
Question by:detox1978
2 Comments
 
LVL 20

Accepted Solution

by:
n2fc earned 2000 total points
ID: 41853505
To do so on a Windows system, follow these steps:
1. Insert the appropriate Windows 7 media to boot from it.
2. Click Repair your computer or press R.
3. Select Troubleshoot.
4. Select Advanced options.
5. Select Command Prompt.
6. Type these commands and press Enter :
del C:\Windows\WinSxS\cleanup.xml 
del C:\Windows\WinSxS\pending.xml.

Open in new window

================================
Another method:
1. Find C:\Windows\winsxs\pending.xml on your system.
2. Get rights to it (takeown, whatever)
3. Nuke it.
================================
Another method:
 if you find yourself in the position to be unable to remove the file.

1. Log off your current user
2. the shutdown widget's submenu in the login screen will have a plain Shut Down option
    (in addition to "Update and Shut Down.")
================================

Use whichever works best in YOUR situation!
0
 
LVL 2

Author Comment

by:detox1978
ID: 41853592
Thanks for the suggestion.  I had to bite the bullet and let it restart.

I'll bookmark the info for next time.  :-)
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question