?
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
?
121 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Suggested Courses

777 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