Don't Turn Off Your Computer - GoTechTalk

Tracker

Thursday, July 1, 2021

Don't Turn Off Your Computer

By Sudarshan Yerunkar | 
Hey everyone Sudarshan here and today we are talking about  the Warning "Warning don't turn off your computer during this update.

Warning "Don't turn off your computer" during this update As often as you've seen this message you probably wondered what exactly would happen if you turned off the computer or worse lost power during an update and what if Windows Update gets stuck and just never completes, is it safe to restart the PC or you likely to have something go wrong?.


So when Windows Vista first came out, Microsoft was trying to find a way to make the update process a little more robust with more and more people getting updates delivered over the Internet, so they introduced a mechanism called CBS “Component Based Servicing” this does a couple of things differently to ensure that these are installed correctly, first it checks to make sure that all required files are present before starting installation and it marks an update as complete after it's installed, CBS is part of the underlying architecture of Windows Update, so if there's a power loss during update, it'll start back once you move back into windows and it will see that an update wasn't marked as complete.


Now who knows why the update wasn't completed, but it also doesn't have to instead CBS just rolls back whatever changes the update had made and restores whatever the previous state was before you started the installation, which allows you to try again later without damaging anything on your PC. So those “please do not turn off your computer messages” means that you're at risk of a near disaster if you don't follow the instructions.


CBS requires critical files that help run Windows itself in order to operate, so while CBS might work perfectly at the shutdown occurs while windows is updating the GUI or installing some non-critical feature you still might be in for a world of trouble if the power loss happens while core windows components are being updated and unfortunately, you have no way of knowing when that's happening because windows doesn't tell you.


The result can be anything from certain aspects of windows not functioning correctly to windows refusing to boot at all, instead giving you a blue screen of death or simply a blank display when you try to start up the system, but if this happens try not to panic even the most disastrous failed updates shouldn't touch the personal data on the drive, so if your PC won't boot into windows, you can use a windows installation USB drive that you can easily create on another system and boot into that, under troubleshoot you can use startup repair to fix the damage windows files that are giving you the issue, then if that doesn't work for some reason you can always open up command prompt from that same USB and type notepad.exe to open notepad then use the open command in notepad to bring up a File Explorer window that will allow you to copy any files you need to another storage device, or there is a much easier way you can just remove the drive from your computer entirely and connect as a secondary drive to a different PC and copy all your files that way.


What if you feel like you have to restart during the update process because Windows Update is simply not moving and is stuck at a certain percentage for a very long time even for hours this can happen for any number of reasons but if it's been stuck for an excessive time and it looks like your drive isn't busy anymore like the LED's not blinking, it probably won't hurt anything to restart the system and take another crack at it once it comes up, you can use a troubleshooter that's built into windows to clear the Windows Update cache which can often fix problems with Windows Update, just type troubleshoot Windows Update into the Windows 10 search bar to find it, So bottom line try not to panic if your update gets interrupted.

No comments:

Post a Comment

close