{"video_id":"T92InXBNl1E","title":"Why Do You Often Have to Reboot After Installing a Program?","channel":"Techquickie","show":"Techquickie","published_at":"2019-05-06T14:58:16Z","duration_s":276,"segments":[{"start_s":0.0,"end_s":5.24,"text":"Thanks for watching TechQuickie. Click the subscribe button, then enable","speaker":null,"is_sponsor":0},{"start_s":3.2,"end_s":9.92,"text":"notifications with the bell icon, so you won't miss any future videos. If you're","speaker":null,"is_sponsor":0},{"start_s":7.72,"end_s":14.96,"text":"old enough to remember using MS-DOS, then you might also remember how easy it","speaker":null,"is_sponsor":0},{"start_s":12.32,"end_s":19.36,"text":"could be to run a new program. Just pop in the conveniently sized floppy disk,","speaker":null,"is_sponsor":0},{"start_s":17.48,"end_s":24.76,"text":"type in a command or two, wait for the data to load into RAM, and you're up and","speaker":null,"is_sponsor":0},{"start_s":21.52,"end_s":27.52,"text":"running. These days, so-called portable","speaker":null,"is_sponsor":0},{"start_s":24.76,"end_s":32.96,"text":"installs do still exist, but because modern programs are much larger and more","speaker":null,"is_sponsor":0},{"start_s":30.24,"end_s":37.76,"text":"complex, it is much more common to have to install a program before you can use","speaker":null,"is_sponsor":0},{"start_s":35.72,"end_s":43.68,"text":"it. With many of them prompting you to restart your entire system before you","speaker":null,"is_sponsor":0},{"start_s":40.12,"end_s":46.12,"text":"can really get up and running. But why?","speaker":null,"is_sponsor":0},{"start_s":43.68,"end_s":51.32,"text":"Well, lots of modern programs work by tying themselves somewhat directly into","speaker":null,"is_sponsor":0},{"start_s":49.04,"end_s":56.88,"text":"your operating system's functions. For example, they may need to install new","speaker":null,"is_sponsor":0},{"start_s":53.96,"end_s":62.64,"text":"drivers or APIs that the program depends on, but that might require modification","speaker":null,"is_sponsor":0},{"start_s":59.92,"end_s":67.68,"text":"of system files that the PC is currently using. And if Windows is busy with the","speaker":null,"is_sponsor":0},{"start_s":65.199,"end_s":71.92,"text":"current version of a file, well, it can't be changed until the next time the","speaker":null,"is_sponsor":0},{"start_s":69.8,"end_s":75.28,"text":"computer is restarted. Think about how hard it would be to try and change your","speaker":null,"is_sponsor":0},{"start_s":73.56,"end_s":81.6,"text":"tires while you're driving your car down the freeway. Another common way that this can pop up","speaker":null,"is_sponsor":0},{"start_s":78.56,"end_s":84.6,"text":"is if the program relies on a DLL. These","speaker":null,"is_sponsor":0},{"start_s":81.6,"end_s":87.04,"text":"files contain bits of code or even other","speaker":null,"is_sponsor":0},{"start_s":84.6,"end_s":91.96,"text":"files that are shared among many different programs. For example, if a","speaker":null,"is_sponsor":0},{"start_s":89.6,"end_s":96.88,"text":"program needs to know how much free disk space is remaining, it can just ask a","speaker":null,"is_sponsor":0},{"start_s":94.44,"end_s":102.08,"text":"shared DLL to get the answer. And because DLLs are often being accessed by","speaker":null,"is_sponsor":0},{"start_s":99.6,"end_s":106.44,"text":"other programs, the installer would need to reboot the system in order to make","speaker":null,"is_sponsor":0},{"start_s":103.96,"end_s":110.48,"text":"sure that nothing else is using the DLL before it makes any changes to it.","speaker":null,"is_sponsor":0},{"start_s":108.32,"end_s":114.64,"text":"Pretty common courtesy, if you ask me. Don't make changes to common areas","speaker":null,"is_sponsor":0},{"start_s":112.48,"end_s":119.4,"text":"without checking with someone first. This is often also true for the system","speaker":null,"is_sponsor":0},{"start_s":117.24,"end_s":123.92,"text":"registry. You can learn more about that here, but basically, it's a set of files","speaker":null,"is_sponsor":0},{"start_s":121.68,"end_s":127.76,"text":"in Windows that stores tons of crucial settings for your system.","speaker":null,"is_sponsor":0},{"start_s":125.88,"end_s":132.04,"text":"But wait, hold on a minute there, Linus. I can go into the registry editor and","speaker":null,"is_sponsor":0},{"start_s":130.0,"end_s":137.4,"text":"manually make changes anytime I want without being prompted for a reboot.","speaker":null,"is_sponsor":0},{"start_s":134.4,"end_s":139.8,"text":"Yes, you can, but those changes may not","speaker":null,"is_sponsor":0},{"start_s":137.4,"end_s":143.88,"text":"go into effect if a program is currently reading the existing value. So,","speaker":null,"is_sponsor":0},{"start_s":141.72,"end_s":148.6,"text":"installers typically ask you to reboot the system just to make sure that","speaker":null,"is_sponsor":0},{"start_s":146.24,"end_s":153.6,"text":"everything got loaded properly, as many programs rely on correct registry","speaker":null,"is_sponsor":0},{"start_s":151.0,"end_s":158.56,"text":"settings in order to run properly. And this central theme of, \"I'm terribly","speaker":null,"is_sponsor":0},{"start_s":155.8,"end_s":163.28,"text":"sorry, but you simply can't change stuff while you're using it,\" is also the","speaker":null,"is_sponsor":0},{"start_s":160.8,"end_s":168.0,"text":"reason why some pieces of software don't require a full reboot, but might require","speaker":null,"is_sponsor":0},{"start_s":165.92,"end_s":172.64,"text":"you to restart a program. You see this one a lot when applying individual","speaker":null,"is_sponsor":0},{"start_s":170.08,"end_s":176.68,"text":"program updates, as the installer might not hook into your operating system","speaker":null,"is_sponsor":0},{"start_s":174.48,"end_s":179.64,"text":"deeply enough to force a full restart, but it can't patch critical dependencies","speaker":null,"is_sponsor":0},{"start_s":178.56,"end_s":183.6,"text":"if you're in the middle of actually using them. And because many of these","speaker":null,"is_sponsor":0},{"start_s":181.6,"end_s":187.36,"text":"same changes are made when you uninstall a program, you'll probably have to","speaker":null,"is_sponsor":0},{"start_s":185.48,"end_s":190.92,"text":"reboot then as well in order to completely rid your system of that","speaker":null,"is_sponsor":0},{"start_s":189.52,"end_s":194.56,"text":"horrible indie game you can't believe you paid $15 for.","speaker":null,"is_sponsor":0},{"start_s":192.84,"end_s":199.56,"text":"So, while this integration with your OS has made modern programs more powerful","speaker":null,"is_sponsor":0},{"start_s":196.8,"end_s":204.12,"text":"and easier to code, it also means that the portable programs of yesteryear have","speaker":null,"is_sponsor":0},{"start_s":201.84,"end_s":207.96,"text":"become a fair bit less common. Oh well, I mean, at least it beats","speaker":null,"is_sponsor":0},{"start_s":206.4,"end_s":213.08,"text":"trying to run all your software directly from a 4X CD-ROM drive, am I right?","speaker":null,"is_sponsor":0},{"start_s":211.36,"end_s":216.28,"text":"Speaking of being right, the right thing to do is go check out Squarespace.","speaker":null,"is_sponsor":0},{"start_s":214.96,"end_s":220.52,"text":"Squarespace allows you to build a simple, powerful, and beautiful website,","speaker":null,"is_sponsor":0},{"start_s":218.52,"end_s":224.68,"text":"and they've got tons of great features. They've got 24/7 support via live chat","speaker":null,"is_sponsor":0},{"start_s":222.68,"end_s":229.04,"text":"and email. It starts at just 12 bucks a month. Every Squarespace site includes","speaker":null,"is_sponsor":0},{"start_s":227.08,"end_s":234.0,"text":"commerce, so it comes with a free online store, and all of their templates look","speaker":null,"is_sponsor":0},{"start_s":231.52,"end_s":238.56,"text":"great on any device, no matter what the screen size. And oh, cool, there's","speaker":null,"is_sponsor":0},{"start_s":236.6,"end_s":241.52,"text":"something new. You can now tag and sell products from your Squarespace store on","speaker":null,"is_sponsor":0},{"start_s":240.32,"end_s":246.0,"text":"Instagram. Dang, that's pretty cool. So, start a trial with no credit card required,","speaker":null,"is_sponsor":0},{"start_s":244.72,"end_s":250.56,"text":"we're going to have that linked below, and start building your website today. When you decide to sign up for","speaker":null,"is_sponsor":0},{"start_s":248.64,"end_s":254.4,"text":"Squarespace, make sure you use offer code TechQuickie to get 10% off your","speaker":null,"is_sponsor":0},{"start_s":252.84,"end_s":258.44,"text":"first purchase. So, thanks for watching, guys. Like, dislike, check out our other videos.","speaker":null,"is_sponsor":0},{"start_s":257.0,"end_s":264.8,"text":"Leave a comment with a video suggestion, and don't forget to subscribe and follow, because if you don't, my","speaker":null,"is_sponsor":0},{"start_s":262.48,"end_s":268.28,"text":"grandmother will have a stroke. Actually, she did like 3 days ago. Yeah,","speaker":null,"is_sponsor":0},{"start_s":266.76,"end_s":272.88,"text":"it's not funny at all. I'm not Yeah. I got to go see her after work","speaker":null,"is_sponsor":0},{"start_s":270.24,"end_s":277.16,"text":"today. She's fine. No, no, she's fine. It's cool. No,","speaker":null,"is_sponsor":0},{"start_s":274.44,"end_s":277.16,"text":"this is sad.","speaker":null,"is_sponsor":0}],"full_text":"Thanks for watching TechQuickie. Click the subscribe button, then enable notifications with the bell icon, so you won't miss any future videos. If you're old enough to remember using MS-DOS, then you might also remember how easy it could be to run a new program. Just pop in the conveniently sized floppy disk, type in a command or two, wait for the data to load into RAM, and you're up and running. These days, so-called portable installs do still exist, but because modern programs are much larger and more complex, it is much more common to have to install a program before you can use it. With many of them prompting you to restart your entire system before you can really get up and running. But why? Well, lots of modern programs work by tying themselves somewhat directly into your operating system's functions. For example, they may need to install new drivers or APIs that the program depends on, but that might require modification of system files that the PC is currently using. And if Windows is busy with the current version of a file, well, it can't be changed until the next time the computer is restarted. Think about how hard it would be to try and change your tires while you're driving your car down the freeway. Another common way that this can pop up is if the program relies on a DLL. These files contain bits of code or even other files that are shared among many different programs. For example, if a program needs to know how much free disk space is remaining, it can just ask a shared DLL to get the answer. And because DLLs are often being accessed by other programs, the installer would need to reboot the system in order to make sure that nothing else is using the DLL before it makes any changes to it. Pretty common courtesy, if you ask me. Don't make changes to common areas without checking with someone first. This is often also true for the system registry. You can learn more about that here, but basically, it's a set of files in Windows that stores tons of crucial settings for your system. But wait, hold on a minute there, Linus. I can go into the registry editor and manually make changes anytime I want without being prompted for a reboot. Yes, you can, but those changes may not go into effect if a program is currently reading the existing value. So, installers typically ask you to reboot the system just to make sure that everything got loaded properly, as many programs rely on correct registry settings in order to run properly. And this central theme of, \"I'm terribly sorry, but you simply can't change stuff while you're using it,\" is also the reason why some pieces of software don't require a full reboot, but might require you to restart a program. You see this one a lot when applying individual program updates, as the installer might not hook into your operating system deeply enough to force a full restart, but it can't patch critical dependencies if you're in the middle of actually using them. And because many of these same changes are made when you uninstall a program, you'll probably have to reboot then as well in order to completely rid your system of that horrible indie game you can't believe you paid $15 for. So, while this integration with your OS has made modern programs more powerful and easier to code, it also means that the portable programs of yesteryear have become a fair bit less common. Oh well, I mean, at least it beats trying to run all your software directly from a 4X CD-ROM drive, am I right? Speaking of being right, the right thing to do is go check out Squarespace. Squarespace allows you to build a simple, powerful, and beautiful website, and they've got tons of great features. They've got 24/7 support via live chat and email. It starts at just 12 bucks a month. Every Squarespace site includes commerce, so it comes with a free online store, and all of their templates look great on any device, no matter what the screen size. And oh, cool, there's something new. You can now tag and sell products from your Squarespace store on Instagram. Dang, that's pretty cool. So, start a trial with no credit card required, we're going to have that linked below, and start building your website today. When you decide to sign up for Squarespace, make sure you use offer code TechQuickie to get 10% off your first purchase. So, thanks for watching, guys. Like, dislike, check out our other videos. Leave a comment with a video suggestion, and don't forget to subscribe and follow, because if you don't, my grandmother will have a stroke. Actually, she did like 3 days ago. Yeah, it's not funny at all. I'm not Yeah. I got to go see her after work today. She's fine. No, no, she's fine. It's cool. No, this is sad."}