Solved

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

Posted on 2016-10-21
2
89 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 500 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
OfficeMate Freezes on login or does not load after login credentials are input.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
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.

730 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