Solved

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

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

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Sounds Issue on Dell Laptop 3 62
Add win 10 group policy templates to domain 3 27
Authentication type 1 27
acrobat scan error 4 17
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

759 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

22 Experts available now in Live!

Get 1:1 Help Now