Solved

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

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Destination host unreachable 12 67
Account Lockouts 25 147
SPAM and Ransomware and Backup 11 87
Laptop Using too much memory when no apps loaded 7 42
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
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…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now