12

I have installed a new windows machine and configured windows update to automatically download updates.

I need to quickly reboot the machine and I forgot to click the fly out window that allows the system to shut down without installing updates.

Now I have to wait for 92 updates to install. Is there anything I can do to cancel the updates and shutdown quickly?

Mark Arnott
  • 972
  • 4
  • 10
  • 18
  • 1
    When faced with the option of missing the last express train home or leaving your computer on all night, always choose the latter. – TTT Jan 28 '15 at 23:17
  • It isn't offtopic if this is a server! OP doesn't specify. – dunxd Feb 04 '17 at 12:32

3 Answers3

5

Yes,

If you rename or remove C:\Windows\WinSxS\pending.xml file, you could postpone update to next reboot. I advice renaming it. It may require changing the permissions and ownership of the file. I haven't tested it on running windows image, but I am sure it works when you interrupt windows boot. Boot into recovery mode or from windows installation disc (shift+F10) start cmd, remove the file, next reboot will install updates.

filvarga
  • 86
  • 2
2

No.

You either do a hard shut down by killing the power to the device (pull the plug or hold down the power button) and risk corrupting the OS, or you can wait for it to finish, but there is no way to interact with the OS once it's started the process of shutting down and applying updates.

HopelessN00b
  • 53,385
  • 32
  • 133
  • 208
2

Next time, use the command line.

shutdown -f -r -t 0

To restart, for shutdown use -s

This will skip installing updates.

Jacob Evans
  • 7,636
  • 3
  • 25
  • 55