{"video_id":"fp_GvPLcyBTiI","title":"TQ: What Happens If You Shut Down During An Update?","channel":"Techquickie","show":"Techquickie","published_at":"2021-04-27T22:50:00.097Z","duration_s":256,"segments":[{"start_s":0.0,"end_s":3.6,"text":"Warning, don't turn off your computer during this update!","speaker":null,"is_sponsor":0},{"start_s":3.6,"end_s":7.92,"text":"As often as you've seen this message, you've probably wondered, well, what exactly would","speaker":null,"is_sponsor":0},{"start_s":7.92,"end_s":13.24,"text":"happen if I turned off the computer or, worse yet, lost power during an update?","speaker":null,"is_sponsor":0},{"start_s":13.24,"end_s":17.32,"text":"And what if Windows Update gets stuck and just never completes?","speaker":null,"is_sponsor":0},{"start_s":17.32,"end_s":22.56,"text":"Is it safe to restart the PC, or are you doomed to have something go wrong?","speaker":null,"is_sponsor":0},{"start_s":22.56,"end_s":27.16,"text":"So here's the deal, back when Windows Vista first came out, Microsoft was trying to find","speaker":null,"is_sponsor":0},{"start_s":27.16,"end_s":31.64,"text":"a way to make the update process a little more robust, with more and more people getting","speaker":null,"is_sponsor":0},{"start_s":31.64,"end_s":37.56,"text":"updates delivered over the internet. So they introduced a mechanism called Component-Based Servicing.","speaker":null,"is_sponsor":0},{"start_s":37.56,"end_s":43.56,"text":"CBS, then, no, not that one, does a couple of things differently to ensure that updates","speaker":null,"is_sponsor":0},{"start_s":43.56,"end_s":50.44,"text":"are installed correctly. First, it checks to make sure that all required files are present before starting installation,","speaker":null,"is_sponsor":0},{"start_s":50.44,"end_s":54.78,"text":"and this is perhaps more relevant for what we're discussing today, it marks an update","speaker":null,"is_sponsor":0},{"start_s":54.78,"end_s":61.98,"text":"as complete after it's installed. CBS is part of the underlying architecture of Windows Update, so if there's a power","speaker":null,"is_sponsor":0},{"start_s":61.98,"end_s":66.78,"text":"loss or you just unplug your computer during an update as part of some kind of masochistic","speaker":null,"is_sponsor":0},{"start_s":66.78,"end_s":72.02,"text":"experiment, it'll kick back in once you boot back into Windows and see that an update wasn't","speaker":null,"is_sponsor":0},{"start_s":72.02,"end_s":77.66,"text":"marked as complete. Now, it won't know why the update wasn't completed, but it also doesn't have to.","speaker":null,"is_sponsor":0},{"start_s":77.66,"end_s":82.6,"text":"Instead, CBS just rolls back whatever changes the update or made and restores whatever the","speaker":null,"is_sponsor":0},{"start_s":82.6,"end_s":87.12,"text":"previous state was before you started the install, allowing you to try again later without","speaker":null,"is_sponsor":0},{"start_s":87.12,"end_s":94.36,"text":"damaging anything on your PC. So those please do not turn off your computer messages, don't always mean you're at risk","speaker":null,"is_sponsor":0},{"start_s":94.36,"end_s":99.96,"text":"of an imminent catastrophe if you don't follow the instructions, with a caveat.","speaker":null,"is_sponsor":0},{"start_s":99.96,"end_s":106.28,"text":"CBS obviously requires critical files that help run Windows itself in order for it to","speaker":null,"is_sponsor":0},{"start_s":106.28,"end_s":113.72,"text":"operate. So while CBS might work perfectly if a shutdown occurs while Windows is updating the GUI,","speaker":null,"is_sponsor":0},{"start_s":113.72,"end_s":118.92,"text":"or installing some non-critical feature, you still might be in for a world of trouble","speaker":null,"is_sponsor":0},{"start_s":118.92,"end_s":123.48,"text":"if the power loss happens while core Windows components are being updated.","speaker":null,"is_sponsor":0},{"start_s":123.48,"end_s":129.16,"text":"And unfortunately, you've got no way of knowing when that's happening, because Windows doesn't","speaker":null,"is_sponsor":0},{"start_s":129.16,"end_s":135.52,"text":"tell you. The result can be anything from certain aspects of Windows not functioning correctly, to Windows","speaker":null,"is_sponsor":0},{"start_s":135.52,"end_s":140.52,"text":"refusing to boot at all, instead giving you a blue screen of death, or simply a blank","speaker":null,"is_sponsor":0},{"start_s":140.52,"end_s":143.88,"text":"display when you try to start up the system. Uh-oh.","speaker":null,"is_sponsor":0},{"start_s":143.88,"end_s":146.92,"text":"But if this happens, try not to panic.","speaker":null,"is_sponsor":0},{"start_s":146.92,"end_s":151.96,"text":"Even the most disastrous failed updates shouldn't touch the personal data on the drive.","speaker":null,"is_sponsor":0},{"start_s":151.96,"end_s":156.72,"text":"So if your PC won't boot into Windows, you can use a Windows installation USB drive that","speaker":null,"is_sponsor":0},{"start_s":156.72,"end_s":162.44,"text":"you can easily create on another system and boot into that under troubleshoot.","speaker":null,"is_sponsor":0},{"start_s":162.44,"end_s":166.0,"text":"Then you can use startup repair to fix the damaged Windows files that are giving you","speaker":null,"is_sponsor":0},{"start_s":166.0,"end_s":171.24,"text":"the issue. Then if that doesn't work for some reason, you can always open up command prompt from","speaker":null,"is_sponsor":0},{"start_s":171.24,"end_s":178.48,"text":"that same USB, type notepad.exe to open notepad, then use the open command in notepad to bring","speaker":null,"is_sponsor":0},{"start_s":178.48,"end_s":182.68,"text":"up a file explorer window that will allow you to copy any files you need to another storage","speaker":null,"is_sponsor":0},{"start_s":182.68,"end_s":188.84,"text":"device. Or, this is the much easier way, you can just remove the drive from your computer entirely,","speaker":null,"is_sponsor":0},{"start_s":188.84,"end_s":193.6,"text":"connect it as a secondary drive to a different PC, and copy all your files that way.","speaker":null,"is_sponsor":0},{"start_s":193.6,"end_s":198.2,"text":"But okay, what if you feel like you have to restart during the update process because","speaker":null,"is_sponsor":0},{"start_s":198.2,"end_s":203.0,"text":"Windows update is simply not moving and is stuck at a certain percentage for a very long","speaker":null,"is_sponsor":0},{"start_s":203.0,"end_s":208.08,"text":"time, like even for hours. This can happen for any number of reasons.","speaker":null,"is_sponsor":0},{"start_s":208.08,"end_s":213.0,"text":"But if it's been stuck for an excessive period and it looks like your drive isn't busy anymore,","speaker":null,"is_sponsor":0},{"start_s":213.0,"end_s":217.56,"text":"like the LED's not blinkity blinking, it probably won't hurt anything to restart the","speaker":null,"is_sponsor":0},{"start_s":217.56,"end_s":223.72,"text":"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","speaker":null,"is_sponsor":0},{"start_s":223.72,"end_s":227.72,"text":"update cache, which can often fix problems with Windows update.","speaker":null,"is_sponsor":0},{"start_s":227.72,"end_s":232.04,"text":"Just type troubleshootwindowsupdate into the Windows 10 search bar to find it.","speaker":null,"is_sponsor":0},{"start_s":232.04,"end_s":235.84,"text":"So bottom line then, try not to panic if your update gets interrupted.","speaker":null,"is_sponsor":0},{"start_s":235.84,"end_s":239.96,"text":"Far worse things could happen to your data. Like having Linus handle it.","speaker":null,"is_sponsor":0},{"start_s":239.96,"end_s":242.96,"text":"Apparently this script was not written assuming that I would host it.","speaker":null,"is_sponsor":0},{"start_s":242.96,"end_s":246.0,"text":"But I did, John. I saw that. Thanks for watching guys.","speaker":null,"is_sponsor":0},{"start_s":246.0,"end_s":251.4,"text":"Like dislike. Like out our other videos. Leave a comment if you have a video suggestion for Techquickie.","speaker":null,"is_sponsor":0},{"start_s":251.4,"end_s":254.8,"text":"And don't forget to subscribe.","speaker":null,"is_sponsor":0},{"start_s":254.8,"end_s":256.3,"text":"You can't. I forbid it.","speaker":null,"is_sponsor":0}],"full_text":"Warning, don't turn off your computer during this update! As often as you've seen this message, you've probably wondered, well, what exactly would happen if I turned off the computer or, worse yet, lost power during an update? And what if Windows Update gets stuck and just never completes? Is it safe to restart the PC, or are you doomed to have something go wrong? So here's the deal, back 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 Component-Based Servicing. CBS, then, no, not that one, does a couple of things differently to ensure that updates are installed correctly. First, it checks to make sure that all required files are present before starting installation, and this is perhaps more relevant for what we're discussing today, 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 or you just unplug your computer during an update as part of some kind of masochistic experiment, it'll kick back in once you boot back into Windows and see that an update wasn't marked as complete. Now, it won't know why the update wasn't completed, but it also doesn't have to. Instead, CBS just rolls back whatever changes the update or made and restores whatever the previous state was before you started the install, allowing you to try again later without damaging anything on your PC. So those please do not turn off your computer messages, don't always mean you're at risk of an imminent catastrophe if you don't follow the instructions, with a caveat. CBS obviously requires critical files that help run Windows itself in order for it to operate. So while CBS might work perfectly if a 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've got 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. Uh-oh. 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. Then you can use startup repair to fix the damaged 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, 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, this is the much easier way, you can just remove the drive from your computer entirely, connect it as a secondary drive to a different PC, and copy all your files that way. But okay, 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, like even for hours. This can happen for any number of reasons. But if it's been stuck for an excessive period and it looks like your drive isn't busy anymore, like the LED's not blinkity 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 troubleshootwindowsupdate into the Windows 10 search bar to find it. So bottom line then, try not to panic if your update gets interrupted. Far worse things could happen to your data. Like having Linus handle it. Apparently this script was not written assuming that I would host it. But I did, John. I saw that. Thanks for watching guys. Like dislike. Like out our other videos. Leave a comment if you have a video suggestion for Techquickie. And don't forget to subscribe. You can't. I forbid it."}