Is there a safe way to cancel updates during windows shutdown [closed]

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.


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.


Next time, use the command line.

shutdown -f -r -t 0

To restart, for shutdown use -s

This will skip installing updates.