Тёмный

You're Doing it Wrong: Rebooting! Find out why! 

Dave's Garage
Подписаться 701 тыс.
Просмотров 461 тыс.
50% 1

Dave explains why shutting down and restarting your system no longer does what you might think it does, and how to perform a REAL full reboot. He also explains the differences between sleep, hibernation, and hybrid sleep, as well as introducing how WOL (Wake On LAN) works.
For information on my book, "Secrets of the Autistic Millionaire":
amzn.to/3diQILq
My other channel, join now so you're there for episode 01 of my AudioBook!
/ @davepl
Discord Chat w/ Myself and Subscribers: / discord
Primary Equipment (Amazon Affiliate Links):
* Camera: Sony FX-3 - amzn.to/3w31C0Z
* Camera Lens: 50mm F1.4 Art DG HSM - amzn.to/3kEnYk4
* Microphone: Electro Voice RE 320 - amzn.to/37gL65g
* Teleprompter: Glide Gear TMP 100 - amzn.to/3MN2nlA
* SD Cards: Sony TOUGH - amzn.to/38QZGR9

Наука

Опубликовано:

 

29 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1,5 тыс.   
@Fiyaaaahh
@Fiyaaaahh 2 года назад
There's the possibility to disable fast boot In the "Choose what the power buttons do" menu of the Power Options. That way a shutdown becomes an actual full shutdown.
@g00gleminus96
@g00gleminus96 2 года назад
Go to Control Panel\All Control Panel Items\Power Options\System Settings and untick "Turn on fast startup.." That means no more fake shutdown, slightly slower boot time.
@paulstubbs7678
@paulstubbs7678 2 года назад
I find very little difference, so might as well do the full boot
@northwiebesick7136
@northwiebesick7136 2 года назад
Actually, there's a CMD console command that used to do all that. For instance, to turn off hibernate completely, you would use the command "powercfg -h off", and you would use "on" to re-enable it... Of course, I'm not 100% percent sure if that's something that's still available in windows or not in windows 10 and 11, aside from the fact that it APPEARS to work on my windows 10 system
@LA-MJ
@LA-MJ 2 года назад
Powercfg /h off
@arthurmoore9488
@arthurmoore9488 2 года назад
Pro-tip. if you dual boot, or plan to image the hard drive, **always** do this. Otherwise the filesystem will likely not be in a clean state.
@totojejedinecnynick
@totojejedinecnynick 2 года назад
Dave I have a suggestion: A complete, step by step cold boot of a modern day PC - from PSU power on to login screen. Mobo, intelME, memory check, TPM verification, BIOS, bootloaders, kernel... To really show us what really goes on while we wait for PC startup. I saw an article about Linux booting and it was fascinating to learn how top-level user accessible OS actually is and what is REALLY happening underneath it - and before it can happen.
@neodonkey
@neodonkey Год назад
Seconded on that. PCs have gotten wildly complex now. One of the things that has always frustrated me is the way that graphics on UNIX is such a s***show so it becomes actually quite difficult to do something like a perfectly clean boot with a simple logo all the way from BIOS to finished boot without the graphics flicking in an out. For instance on NetBSD version 7 they brought in DRM graphics from Linux and the way they did it doesn't really play that nice with the existing framework, it just seems to take over so the system would start in text mode then half way through suddenly jump into hi res DRM mode. And you often see a lot of Linux distros jumping around between a boot logo and then crap being spat out from the kernel to the console etc, screen flickering as it switches modes etc. Seamless boot is quite tricky to pull off it seems. Doesn't help that the freedesktop people aren't exactly the most transparent bunch of people and that PC graphics is still such a dark art. I once tried to fix a screen brightness support issue on NetBSD and ended up going through the kernel code for like ACPIVGA, DRM, wscons framework etc and it seemed such a god damn mess, it was like some Kafka nightmare. In the end I found an extremely dirty hack which just involved writing a PCI register that let me control brightness on my particular system but it turned out to be a VERY dangerous method. It worked on one laptop just fine but when I tried it on it on another laptop I couldn't get screen brightness working on it appeared to damage the LED PWM driver and the backlight would flicker badly for a few minutes every time you started it up.. god knows what I did but it did some actual damage!
@kingjames4886
@kingjames4886 9 месяцев назад
didn't they teach you that in school?
@treborrrrr
@treborrrrr 9 месяцев назад
@@kingjames4886 I don't think what I learned about PCs booting up 20 years ago in school has much relevance today.
@kingjames4886
@kingjames4886 9 месяцев назад
@@treborrrrr it's not reeeally all that different
@meatbag8751
@meatbag8751 9 месяцев назад
To the person pushing a button to turn on a magic box, no. To a person writing a startup driver to make your magic box work, yes. It's not really a good reason to stop learning either way.
@michaelpezzulo4413
@michaelpezzulo4413 2 года назад
Love your channel. I was a pc consultant from 83 to 2004 then retired. Trying to get back into the field now with studying for my A+. the background you provide is priceless. Thank you.
@braddixon3338
@braddixon3338 2 года назад
I always find your videos informative about subtle things "under the hood" with Windows that I never knew before. Oh, you're of course entertaining as well and have an excellent delivery on the info. Great channel.
@DavesGarage
@DavesGarage 2 года назад
Glad you enjoyed it!
@VDNKh_
@VDNKh_ 2 года назад
As a desktop support tech I hated Fast Startup. I'd have to explain to everyone why restart and shutdown were now different, and if I told someone to reboot I now have to specify restart and not shutdown.
@danman32
@danman32 2 года назад
Me too. Even brought it up to my fellow IT support engineers
@ElizabethGreene
@ElizabethGreene 4 дня назад
A couple of enterprises I work with have all-SSD machines and they globally disable fast startup. The difference in boot time isn't worth the "What do you mean I don't reboot, I shut down every night" support cases.
@RofStyx4
@RofStyx4 2 года назад
In the control panel under System and security->Power Options->Change what the power buttons do; there is a checkbox for turn on fast startup that is checked by default. Unchecking it makes shutdown a proper shutdown again.
@davybloggs1564
@davybloggs1564 Год назад
Rofstyx4 - in my PC, W11Pro, the checkbox you refer to is greyed out and connot be unchecked.
@RofStyx4
@RofStyx4 Год назад
@@davybloggs1564 Near the top of that window there should be a UAC icon next to the sentence "Change settings that are currently unavailable" clicking on that should unlock the checkbox, but you may need administrator access for it to work. I am using win10.
@DavidBoura
@DavidBoura Год назад
@@RofStyx4 Thanks
@redmatrix
@redmatrix 10 месяцев назад
Can't seem to find it on my Win10.
@andrew_koala2974
@andrew_koala2974 10 месяцев назад
Changes what the power buttons do; there is a checkbox for turn ON There is a difference in meaning between ON OFF and on off that people do not realize and are not taught by the corrupt education system Neither do the people actually notice - even when it is in plain sight - as the people 'have been turned into ZOMBIES ON OFF ( in the ALL CAPS ) relates to switching - - such as Turn the Light ON = or the Computer refuses to turn OFF { IT is also marked that way on switches - - so pay attention to detail ) on off is used in a different context: Such as - I start work on Monday and I am off on the week-end So learn it and reach it to others who are ignorant of this difference And remember - pay attention to detail - Male sure the brain sees exactly what the eyes are looking at Such as HOLLYWOOD and not Hollywood It is written on a Huge sign yet ZOMBIES cannot see it. ZOMBIES have eyes but cannot see - ears and cannot hear
@cakeisamadeupdrug6134
@cakeisamadeupdrug6134 9 месяцев назад
I do love that Fast Startup came in just in time for just about everyone to be booting from an SSD.
@M0rn1n6St4r
@M0rn1n6St4r 2 года назад
In Windows, _Shift + Shutdown_ (or _Shift + Ok_ in the _Alt + F4_ dialogue, with “Shutdown” selected in the select-box) overrides Fast-boot. The OS will shutdown with Fast-boot _temporarily_ disabled. _Shift + Restart_ restarts into a boot-options (recovery) menu.
@davybloggs1564
@davybloggs1564 Год назад
MOrnetc - In my W11 Pro PC, pressing alt + F4 just closes my browser! Please be more specific in your explanations re key presses.
@M0rn1n6St4r
@M0rn1n6St4r Год назад
@@davybloggs1564 - I have not upgraded to W11. I rely on desktop Linux as my primary OS. I keep a W10 partition only as a test platform. btw- _MorningStar_ is what I intended with my YT_ID.
@M0rn1n6St4r
@M0rn1n6St4r Год назад
@@davybloggs1564 - Actually, I am quite sleep deprived. Alt+F4 will close any _application_ (i.e. active window) in Windows 10, also. I do not have W10 loaded at the moment, but I believe that selecting the _desktop_ (i.e. left-click on desktop wallpaper) will place focus on the operating system for Alt+F4; else, closing all windows and then pressing Alt+F4. Not certain --- I always close all apps _before_ I attempt to shutdown/restart.
@ChristopherWoods
@ChristopherWoods 9 месяцев назад
I prefer Win+X to get the power context menu, then getting the shutdown/restart options from there, a bit cleaner than getting focus on the desktop then Alt+F4ing. I suppose you could Win+D to get the desktop first but the Win+X menu seems more reliable to me.
@M0rn1n6St4r
@M0rn1n6St4r 9 месяцев назад
@@ChristopherWoods - I prefer to close all open apps, one-by-one, first. Alt+F4 works well for that.
@owlmostdead9492
@owlmostdead9492 2 года назад
Fast Start in Windows is something I always disable, in today's age where SSD's are pretty much the standard, the bluescreens it often causes is more a bug than a feature.
@Melds
@Melds 2 года назад
That also lets you enable the hibernation option, which is occasionally useful without automatically using it every time.
@alexatkin
@alexatkin 2 года назад
Same here, I've always found it boots FASTER on an SSD with Fast Start disabled, it was designed to speed up loading from HDD and is detrimental on SSDs.
@billschannel1116
@billschannel1116 2 года назад
Raid arrays boot terribly slow. Fast boot doesn't matter to me because saving seconds on a 30 plus second boot isn't too impactful but I still leave fast boot on. I don't experience bluescreens or errors so there's no problems for me. So people reading this should probably opt to try it before disabling it. I use a lot of systems the newest being a 12900k/samsung 980pro Windows 11 based system and the oldest being a dual core from 2007 running 8.1 that runs media center, and machines in between 2007-2022
@mibbio2148
@mibbio2148 2 года назад
@@alexatkin And Fast Start Boot may cause problems when booting into another OS (if you use Windows and Linux on the same machine). As Windows with Fast Boot enabled stores the state of the NTFS partitions in the hybernation file and restores it on the next start, it may interfere with changes to that partitions from Linux (or any other OS). The worst case would be data loss.
@davidharrison6535
@davidharrison6535 2 года назад
I use ultra fast boot and i have never had a blue screen and im on the insider build. So i think thats more a fallacy.
@GHHodges
@GHHodges 2 года назад
Dave has reached 250k subscribers. Woot-woot! 🎉
@amcadam26
@amcadam26 Год назад
When he gets to 640k then he wins. 640k should be enough for anyone!
@valtros2k10
@valtros2k10 Месяц назад
@@amcadam26 Done.
@johnpalmer5131
@johnpalmer5131 2 года назад
Thanks, Dave. As a true geek who hales all the way back to the preDOS days, I truly enjoy your videos… I invariably learn something from each one and love the ‘inside baseball’ commentary.
@SuperAWaC
@SuperAWaC 9 месяцев назад
watch out everyone, a "true geek" has graced us with their presence lol
@SSJ0016
@SSJ0016 9 месяцев назад
Ironically by the time they started making these changes, SSDs were almost already ubiquitous, making the changes not only meaningless, but decreased the user's understanding of their system at the same time. Good job MS.
@Ughmahedhurtz
@Ughmahedhurtz 9 месяцев назад
Nonono...they know this, but they still wanted faster boots! The goals were (as I recall) initially to get boot times down under 30 seconds, and then down under 10 seconds. So, full BIOS POST was ditched via "fast-boot" to reduce that initial 10-15 seconds of hardware verification by BIOS. Some of the shenanigans that were being pulled in this race to the bottom were ridiculous. And the canned response any time something Went Wrong was, just do a full boot. It was enough to make those of us in OS Test just want to pull out what little hair we had left.
@aaronjenkins9573
@aaronjenkins9573 8 месяцев назад
@@Ughmahedhurtz Good thing the memory training times of DDR5 completely undid most of that effort spent on reducing boot times, haha. Well, on AM5 systems, anyway. The situation with Intel systems may be different, idk.
@Ughmahedhurtz
@Ughmahedhurtz 7 месяцев назад
@@aaronjenkins9573 Memory (re)training is only one part of this, though. Granted, if it's taking stupid amounts of time on some systems, that's a problem. Funny thing is, my current systems where I run dual NVME SSDs in RAID-0 take much, MUCH less time to load the OS from scratch than the BIOS does to boot/detect/handoff. I haven't seen any of this retraining time BS on DDR4. Hopefully by the time I upgrade my 3900X to a 8950X, they'll have all that figured out.
@ChannelSho
@ChannelSho 7 месяцев назад
Reading data from the SSD isn't the only thing that happens on boot. Your computer still has to process a lot of things before it can get into a usable state. And depending on how many things you want to have started up, this can still create a significant boot time. By packing away things that don't really need to be restarted from scratch and only need their state saved, you can still shave off a lot of time that way. You just load it back into memory and hit go.
@monad_tcp
@monad_tcp Месяц назад
@@Ughmahedhurtz which is very ironic when you have a 1.5GB/s M2 SSD capable of booting the system from cold boot in 5sec, which is faster than all that complex code running and doing a lot of shite . "Fast-Boot", more like complex-boot. I basically always disable it, with hibernation too, and I disable all the power saving extra states that only serve to throttle the throughput of the CPU when you need it. You know when you have a car and hit the pedal to the bottom, and it gasps, that's what I feel when I use stupid power saving states and speed-step or whatever Intel call that misfeature. I fucking don't want to save power, I want to have faster computer, if it uses 800W I literally don't care, I paid for it, and I want to use 100% of it all the time forever, until the planet becomes a death ball of global warming effects or until the heat death of the universe. To be fair, the system only uses 70W when doing nothing, which is very acceptable, its like leaving a incandescent lamp bulb on. It uses less power than my A/C unit which is always on and uses much more power than that.
@tekvax01
@tekvax01 2 года назад
The only REAL COLD boot is removing the power cord from the computer power supply. I've had networking issues surviving multiple cold reboots and restart cycles because the NIC card remains powered on via the standby 5 volt supply, that only goes down if the plug is pulled! I have lost count of how many times this has bitten me on-site! The NIC card holds the ARP lookup table, and DHCP gets confused and will NOT serve an IP reservation until you pull the plug!
@joesterling4299
@joesterling4299 2 года назад
Throwing the big red toggle switch in the back from 1 to 0 pretty much does the same thing. If you don't trust that, you could use a powerstrip with a switch on it too. Pulling the cord is not necessary, and has a slight chance of causing other issues, because of the loss of grounding, and possible sparking.
@nrocirpactar5697
@nrocirpactar5697 2 года назад
@@joesterling4299 It may surprise you but not every power supply has an off switch and and the one I have is black. Cheap chords have switches without dampening and bad design which can spark worse then pulling the cord.
@_nikeee
@_nikeee 2 года назад
Helpful: When using `shutdown -s`, Windows won't do a hybrid shutdown. I'd also recommend using "restart", just to be sure. You can also use the Task Manager to see if you've done a "proper" shutdown by looking at the uptime in the performance tab. Often, you can observe time spans spanning a couple of days despite using "Start -> Shutdown". There is also Shift + Shutdown to force a "proper" shutdown.
@joesterling4299
@joesterling4299 2 года назад
Good to know. Thanks.
@Plasmacore_V
@Plasmacore_V 2 года назад
You can also hold down shift when you click shutdown to do a 'shutdown -s'
@vicr123
@vicr123 2 года назад
Huh, thanks for the Shift+Shut Down tip :)
@TheVicar
@TheVicar Год назад
I always keep a batch file on desktop to "shutdown -s -f -t0" to save any messing around
@Mirddes
@Mirddes Год назад
@@TheVicar i always use shutdown -r -f -t 0
@noahwhalen3398
@noahwhalen3398 2 года назад
Thanks for sharing Dave! I didn't know there were so many major differences between reboot & restart. Wake on LAN is pretty sweet. I've always liked the idea of WOL but never had a reason to implement it.
@stephenstone5700
@stephenstone5700 2 года назад
A huge thank you, Dave. I have been having problems with my monitor thinking it, my cable, or my card were going bad; the bottom third of my screen display would flake out and get garbled. It would self correct and start the cycle again. I switched cables, reinstalled my graphics card and video drivers, and nothing worked. I also tried "cold" booting my system several times and it didn't help either. But, when I did the restart boot you mentioned, Voila, it has worked perfectly ever since.
@NetBandit70
@NetBandit70 2 года назад
No mention of modern standby (in newer laptops) which breaks all the normal power management settings. What a pain it was trying to figure out why my system would go to sleep even if I had power management set to never sleep.
@andydraw4707
@andydraw4707 2 года назад
Another great video. Thank you Dave. I got to 162 days on my MacBook several years ago. I bragged on some forum where a Windows guy (a friend) was complaining about having to reboot every week on average. Later that day, karma hit me. Xcode suddenly refused to compile my project. I tried all sorts. Reverted changes. Shut down Xcode etc etc. The errors made no sense whatsoever. Until I found a post online about Xcode having a memory leak. The humanity of it! I had to reboot. Almost on topic - I once took a call from an elderly member of the public who started with "I believe I have information which will lead to the arrest of theee international hacker" (if you're trying to imagine the accent, think of Tucker out of something about Mary). Temptation was to hangup on the premise it must be a colleague winding me up. After a short chat, it became obvious his computer was "waking up" every time his phone line rang, which his modem was connected to.
@MrIlovesubaru
@MrIlovesubaru 2 года назад
I have seen FreeBSD boxes going without reboot for 7+ years...
@anon_y_mousse
@anon_y_mousse 2 года назад
@@MrIlovesubaru A good system administrator can use Linux or BSD for years without reboot.
@cigmorfil4101
@cigmorfil4101 2 года назад
@@anon_y_mousse My most recent reboots have been due to hardware failure or moving the computers without UPS.
@anon_y_mousse
@anon_y_mousse 2 года назад
@@cigmorfil4101 I've got UPS's on all of my equipment too. Definitely a good idea.
@eDoc2020
@eDoc2020 2 года назад
If Xcode has a memory leak closing it and reopening should fix it unless there's something I'm missing. Worst case logging off and logging back in would probably help if there are background components you can't normally close. If rebooting was the only fix for a memory leak it _must_ be an OS fault.
@springford9511
@springford9511 2 года назад
Another great video, thanks. That shutdown/power-on no longer does a full system refresh by default is one of MS's worst decisions. Naive users dream that they are doing a system refresh and they are not. I ALWAYS disable Fast-Startup on my own system or others because I want to be able to choose Sleep/Hibernate/Shutdown myself. Naive users need shutdown to mean shutdown. There are ZERO cases where it makes sense to have Fast-Startup enabled, either users are naive and need it to be a shutdown or they are not and they can choose Sleep/Hibernate/Shutdown themselves. This feature caused no end of trouble with the hundreds of users that I recently did phone/remote support for.
@erica1399
@erica1399 9 месяцев назад
Indeed, and the time it saves on boot (I can't tell tbh, can't imagine it being more then one or two seconds if that) on new pc's is thus negligible, like I'd guess my pc "slow" boots in five or six seconds or something, like what are we talking about, what does a second faster accomplish when it's already that fast to begin with? Not worth the trouble imo.
@brianmurray8943
@brianmurray8943 2 года назад
This was a great video. I grew up using all of the operating systems you wrote, and I love learning from your videos.
@kote315
@kote315 2 года назад
I usually turn off fast startup for two reasons: 1. This does not work correctly on some of my (slightly outdated) hardware. 2. As far as I understand, this does not record information that the NTFS partition was correctly unmounted. Which causes problems in other OSes. They assume that the filesystem has not been correctly unmounted, it may contain some errors, and, as a precaution, do not allow write-mounts.
@eDoc2020
@eDoc2020 2 года назад
Regarding point 2, I believe it _isn't_ properly unmounted even though it's fully consistent. The FS driver in Windows probably has some state stored in "RAM" and if the actual state is changed under it bad things could happen. Having said that it _is_ very annoying.
@DavidHansen725
@DavidHansen725 2 года назад
Thanks for this video! I'm going to direct my clients to this video when they ask why after I tell them to restart instead of shut down when their computer is acting wonky. Using the uptime counter in the task manager is another great way to help people vizualise the difference.
@davida1hiwaaynet
@davida1hiwaaynet 2 года назад
Very interesting Dave! Thank you. I've been into automotive and industrial engine tuning; and industrial control (PLC) programming for a while. I always have my laptop set so that it "does nothing" when the screen is closed; so that I can close the screen to conceal it, protect it in industrial environments, and save battery due to backlight. That will allow the connection to the ECM or PLC to stay active. Then when I open the screen, it's all still up and connected. Then the "hibernate" function is a real God-send. Disconnect the device getting programmed, one-touch of the power button, and the laptop hibernates. After I make wiring changes, etc. then I can power back on and reconnect without any drama. Thanks again for sharing details of your time at Microsoft. It's fascinating to hear about the underpinnings of the features we use daily.
@eDoc2020
@eDoc2020 2 года назад
In my older setups I also used to disable lid sleep, partly because that's what I was used to from my Win98 and older laptops. It's easy to press a Fn-key combo every time when you want it to actually sleep but much more of a nuisance recovering from an unwanted sleep. I feel the need to ask you, why don't you use sleep instead of hibernate when you're making your wiring changes?
@davida1hiwaaynet
@davida1hiwaaynet 2 года назад
@@eDoc2020 Understand. As far as why hibernate? Most of the projects I work on are complex. The wiring changes often need hours to accomplish, including research of multiple vendor package wiring diagrams and control philosophy documents. I have got into the habit of using hibernation mode while not programming, and don't have access to power. No real reason, I guess, other than it saves the battery.
@eDoc2020
@eDoc2020 2 года назад
@@davida1hiwaaynet I guessed the changes would be quick. If the changes take hours to accomplish then hibernate does make much more sense.
@Cklodar
@Cklodar 6 месяцев назад
Came into this video thinking I already knew all the things end users should know about shutdown/restart/sleep/hibernation... But this video still taught me the new knowledge that hibernations, which I use daily on my laptop, still consume a tiny bit of power to facilitate WOLs. Since I have no utility for WOL, it's now disabled on all my network adapters. Thanks Dave!
@volvo09
@volvo09 2 года назад
Always a fan of your videos... The bit of history always brings me back to some period of tinkering around... This time adding hibernate to my win98 desktop PC back in the day and feeling cool. 😎
@mrdownboy
@mrdownboy 2 года назад
I think you mean Win2k. I might be wrong.
@sumikomei
@sumikomei 2 года назад
This is pretty interesting. I'd long since disabled fast boot in bios way back in the beginning because I was running into some problems and inconsistencies with it. I never really knew explicitly what it did until now (and honestly it makes me more glad I disabled it lol).
@garrymca8336
@garrymca8336 2 года назад
Pretty sure Fast Boot in the Bios refers to the POST sequence and not the actual Windows booting process he's discussing where Windows itself loads from the hibernation file.
@xBINARYGODx
@xBINARYGODx Год назад
you need to disable more in the power settings area of control panel/settings and look at "Change what the power buttons do"
@jdmayfield88
@jdmayfield88 2 года назад
Back in the day, I had spliced together a dual-boot Windows 98 and Loop-Linux machine. The two sides could comfortably work on the FAT32 partition. I had to compile the source for the Linux network driver or the Linksys card I had in this unit. It worked great-- except when it didn't. At first, it seemed very random. Sometimes when I booted into Linux, the network card just wouldn't work. After a day or so, I realized-- when I cold-booted to the Linux side, network card always worked. But when I rebooted to Linux, after running Windows, network card wouldn't work. Back then machines turned all the way off, or you had to turn them off physically with a switch or button after "shutting down". Then I realized what was happening: the NIC wasn't completely refreshing after being initialized by Windows. It was remembering whatever Windows had told it between reboots-- i.e. It's internal memory wasn't being cleared. This prevented Linux from communicating with it properly. Oddly, the reverse was not true-- I could reboot from Linux to Windows and it would work fine. So, either Linux was being nice and clearing the NIC's memory when going down on a warm boot, or Windows was being a jerk and not clearing the NIC's memory on warm boot, or the opposite: Windows may have been smart enough to clear the NIC's memory when starting up on warm boot, and Linux was not. Hard to say. Anyway-- it is true, memory may not be cleared between shutdown and startup on a warm boot. Today, thankfully, things are generally simpler. However, there is that: As long as power is supplied to RAM of any sort, it only clears it's contents if those contents are explicitly over-ridden. The only other way to clear content's of RAM is to completely remove power.
@pogo55555
@pogo55555 Месяц назад
Dave. What can I say? I hate watching RU-vid videos that are more than 5 minutes long. Your videos are an exception. I listen to them more than once. A veritable wellspring of sagacity and practical knowledge. Well done. I gotta get back to my second listening. I like to vary the playback speeds as well. Both faster and slower than the default.
@ivekuukkeli2156
@ivekuukkeli2156 Месяц назад
Yes. More than once to get all the content transfer to my memory.
@pasixty6510
@pasixty6510 2 года назад
I learned from my experienced computer tutors in the eighties, the term ‚bootstrap‘ was related to a short piece of punched paper tape, about the length of a bootstrap, that was inserted into the reader to start up a computer and enable it to start the programs fed in from the upcoming spools of punched tape / cards or similar storage devices. So ‚boot‘ the machine was likely an abbreviated way of saying ‚let the run through the machine‘.
@allanrichardson9081
@allanrichardson9081 2 года назад
That story may be a “back etymology,” since not all computers in the “old days” used paper tape. The Digital PDP-5 used papertape but the “boot” was entered using the panel switches (IIRC, 7 12-bit words), which then allowed a full papertape program to be loaded. Most IBM computers before the 360 had a separate LOAD button on the card reader, and/or each magnetic tape drive. The 360 allowed booting from any device, usually an installed operating system, by dialing the device address into a set of switches and pressing the LOAD button next to them (but IBM always called it Initial Program Load, or IPL, from the 360 onward). So I would go with the “pull yourself up” theory, especially since an operating system had to open files before the full file open/close software was loaded, read JCL to set up the JCL reader and initiator tasks, etc, requiring partial function duplication in different programs.
@UteChewb
@UteChewb Год назад
In a comp sci class in the 70s I was told it was from "pulling yourself up by your bootstraps". There were also some old cartoons that played on this trope of being able to pull yourself off the ground by grabbing your shoe laces. It's an old joke.
@Ylyrra
@Ylyrra Месяц назад
"Bootstrapping" is the term for a self-starting process in multiple fields, it's the self-starting part that is the common root, not anything computer-related. That comes from the pulling yourself up by your own bootstraps saying. (Which itself is derived from other earlier sayings.)
@TerminalWorld
@TerminalWorld 2 года назад
Sooo... I was doing it right.
@NatoBoram
@NatoBoram Месяц назад
Clickbait as expected. Sigh.
@jimmykrochmalska3501
@jimmykrochmalska3501 Месяц назад
@@NatoBoram damn it, we got free information from someone who helped build the operating system we* are using
@jagmarc
@jagmarc Год назад
Reminds me something about the 1982 Sinclair Spectrum design: its CPU didn't utilize the Z80's NMI vector so asserting the NMI pin on CPU just caused a hard reset. So the trick was to wire a press button to the NMI and patch the ROM with code to do something really neat like run an executive user routine with options to save or load a snapshot 'hibernate' image to/from FDD or print the screen etc.
@disekjoumoer
@disekjoumoer Год назад
Thank you so much for the description of these states, Dave. I've known about them for a long time, but never been completely clear about them.
@onffxiimanon
@onffxiimanon 2 года назад
Thanks Dave, your videos always teach me something while being emotionally calming. All the best, keep the content coming. :)
@Hobbitstomper
@Hobbitstomper 2 года назад
The question is why? Why did Microsoft think this was a good idea. All of my non-technical friends and family members always ask me for help with silly issues, most of which could have been fixed with a "real reboot". So why Microsoft? Why? Is it all just to "fake" the booting/wake time of the operating system?
@katbryce
@katbryce 2 года назад
When you turn on your computer, you generally want to start work as quickly as possible.
@_nikeee
@_nikeee 2 года назад
Also, keep in mind that Windows 8 was designed for touch screens and tablets. People compare those boot times with ones from iPads and Android Tablets.
@katbryce
@katbryce 2 года назад
@@_nikeee iPad actually takes forever to reboot, but you only do that when updating iPadOS. The rest of the time it is just on sleep mode and it takes however long it takes to turn the screen back on.
@_nikeee
@_nikeee 2 года назад
@@katbryce Yeah, that comparison would be useless nonetheless. However, people would still do it. Booting Windows on iPad-like hardware at the time would have taken considerably longer without those optimizations.
@BrianG61UK
@BrianG61UK 2 года назад
It's supposed to make shutting down and starting up again go faster. But on modern PCs it's probably hardly worth it.
@lordsmeagol3390
@lordsmeagol3390 17 дней назад
It didn't take me long to notice that Windows 10 Shutdown was actually hibernating: 1: I had 64 GB RAM. 2: I used DriveSnapshot to backup my system, and it would not backup a hibernated system. Disabling Fast Startup in Power Options is easy enough, but I decided that I didn't want to keep blasting my SSDs with massive writes, so I simply disabled hibernation, and would just use Sleep. If I had a power loss, I wouldn't lose much, as I would make sure any current work was saved before Sleeping. If the power loss corrupted my system, I could just restore my system image if Windows was unable to repair the damage. Why Microsoft didn't simply add a Fast Shutdown option and keep Shutdown to mean what EVERYONE had got used to was just madness!
@paulrobertmarino7623
@paulrobertmarino7623 Год назад
interesting explanation thanks Dave. On a related note for years now I've recommended people configure their laptops to hibernate rather than sleep not just as a power saving method but also for stability reasons. its not uncommon for laptops to have issues waking up from sleep especially if its a new model this is doubly true for Linux users where there may be a driver fix for the issue on windows but not on Linux. Aside from the first few years when the feature was supported I have never seen a machine ever have an issue waking up from hibernation. Also if you are one of those now rare dual booters who haven't switched to WSL it can also be helpful if you want to quickly switch back and forth between operating systems. just remember on the Linux side the swap partition is used to save the state so you must have a swap file big enough for the content of both your system and GPU ram and you should probably reduce your "vm_swappiness" possibly to 0 so you don't burn out your SSD.
@hquest
@hquest 2 года назад
Even while I knew most of this, I still learned quite a good bit! Thanks Dave for the knowledge. May I ask your take on the CPU Management Engine features - which sort of steps into some of the key points discussed on this video,?
@KarstenJohansson
@KarstenJohansson Год назад
That's what I liked about it. I'm very technical, so I know what the different options are. But this video casually gets into where these options make the most sense, and what to expect (boot time, power consumption, hard drive grinding, etc) with each of the optons. Pretty thorough presentation.
@drstefankrank
@drstefankrank 2 года назад
Because of monthly patchdays, you reboot at least once per month if you don't skip on updates.
@darrenlesage2420
@darrenlesage2420 2 года назад
Love your stories Dave. I’ve been interested in computers & software since I was 14 and had access to the TRS-80 back in 1981. At first, I learned simple programming with an obsolete punch card system. It was a simple calendar generator we programmed with the only variables being the month & year and it would print out a one month calendar. Everyone did the current M/Y or their birth M/Y, and I did January 2000, thinking about how far away that seemed(little did I know about the havoc THAT date would create, eh?) Then I learned to program BASIC. I was introduced into manipulating the hardware with the common single to double side 5 1/4” diskette conversion via a hole punch. Next I learned to solder and there began my love affair with the computer & gaming world. You had my sub long ago and you get my like with every video I watch - keep up the good work!
@cliffontheroad
@cliffontheroad 9 месяцев назад
obsolete punch card system? You implying they don't make 029 keypunch machines anymore? That means no chads for the ticker tape parade. (where did that memory come from? Chads?) More humor about the computer having a crank on the side. 1974 BSCS @darrenlesage2420
@moetocafe
@moetocafe 10 месяцев назад
Very well made video. To be honest, I didn't learn anything new, but for users it is explained perfectly well and in understandable language. The most interesting part for me was your bio. I'm kind of an old dude and I've been using probably all or almost all of the OS you have worked on in the past -starting with MS-DOS. Interesting channel, so I've just subscribed.
@peterlekkerkerker4482
@peterlekkerkerker4482 2 года назад
I was told bootstrapping came from Baron von Munchausen, a fantasy figure from an old story. Like you explained, he gets himself out of trouble by pulling on is bootstraps. Wikipedia has an article about this.
@TheGreatAtario
@TheGreatAtario 2 года назад
An old story, and an amazing movie
@whocares281
@whocares281 2 года назад
Münchhausen pulled himself out on his own hair. At least that was one of his tales. No bootstraps. Maybe the story got changed from the original while moving around the world?
@traewatkins931
@traewatkins931 2 года назад
I thought it was a cowboy reference.
@mikepennington8088
@mikepennington8088 2 года назад
No, Dave's explanation is correct. If Wikipedia says otherwise, consider the source.
@skellious
@skellious 2 года назад
​@@whocares281 it's his "pigtails" specifically.
@wngimageanddesign9546
@wngimageanddesign9546 Год назад
I've been straightened out like a pretzel. Thanks Microsoft! You should have included some tips on disabling prefetch and superfetch, and these pseudo shutdown options in the registry. I've disabled prefetch for my Windows systems since they run on SSDs and having copies of files for a quick boot is a waste of space. Great channel, thanks Dave!
@erictayet
@erictayet Год назад
Thanks Dave! It's explains a lot on why WOL does or doesn't work. Not that I needed it at home where my workstations are on 24/7 but when I was beta-testing Windows or setting up some systems for customers.
@maalekar
@maalekar 2 года назад
Nice. I consider myself one of the ancients as well sir. Started one of the earliest ISPs here in MN, owned one of the earliest clones available. Did all the memory mgmt of card installations in the old dos days. Saw the first browser come in with CERN, a DoD site, and one other (I think a college site) and that was it. I think people don't get the value of understanding how things work at a low level in relation to today's commonly accepted complexity. I learned a bit on this one and appreciate the vid :) I wish you the best.
@RosiePerera
@RosiePerera 2 года назад
Thanks, Dave. Very interesting. I've always wondered about this stuff.
@rfvtgbzhn
@rfvtgbzhn 10 месяцев назад
7:20 I think the main reason for this is that people want to close the lid and then immediatly but the laptop in a bag and walk away. All this movement would be quite bad for a running hard disk.
@Aaron-wg6ft
@Aaron-wg6ft Месяц назад
Back when Macs had hard drives I replaced the HDDs for a couple of my friends because they were doing exactly this. Now, with SSDs, it's probably not so much an issue.
@LeonCouch
@LeonCouch Год назад
Clear presentation on what turns out to be a complicated subject. Good job.
@jttcosmos
@jttcosmos Год назад
Turning off fast start-up is the first thing I do after setting up a new Windows machine. I'm more than happy to wait a few extra seconds every morning in order to ensure that patches etc. are all installed properly.
@woswasdenni1914
@woswasdenni1914 2 года назад
the irony is microsoft brought us fast boot exactly at a time where its no longer beneficial. thanks to modern hyperspeed storage the differences are well... irrelevant in any practical way. so lets introduce more complexity into errors to have single digit percent faster boot shall we
@danman32
@danman32 2 года назад
Not everyone has SSDs for storage, especially laptops where if you want a less expensive one to have 1TB, it will be mechanical. If you want SSD but less expensive laptop, you get 120GB
@fabiosemino2214
@fabiosemino2214 2 года назад
@@danman32 I hate fast startup with a passion, with mech drives my experience from clients is that you needed 8gb ram even at windows 8 times, otherwise fast startup would bog down your PC with them missing reboot, it would also expose driver issues more often and after that it would require a real reboot. One of the first things I check when someone calls me for issues is the task manager wake timer, if it's more than 15 days is most likely that pc needs a real reboot plus disable the fast startup
@MrCrashDavi
@MrCrashDavi 2 года назад
It's beneficial because of WoL.
@danman32
@danman32 2 года назад
@@MrCrashDavi It might not be because even though the kernel is saved to disk, it is still considered in a shutdown state. For WOL to work, it had to be in sleep or hibernate state.
@mikemx55
@mikemx55 Год назад
It is not the same speed. Hibernation is indeed faster, as it only loads from disk to memory, without the need of processing. I've loved that fast boot feature, even though I have always hibernated since XP, because it was blindly fast back then compared to cold booting.
@JortBont
@JortBont Год назад
This reminds me of the days of Win95 and NT4. There was no sound driver for NT4 and the Win95 drivers didn't work. But, when you first booted up Win95, did a soft reboot and then started NT4 you did have sound like normal.
@lovepeace8918
@lovepeace8918 9 месяцев назад
good way to keep your hard drive really clean is to get to the dos prompt and type in format C: then any yes prompts. That's the best thing you can do to prevent getting a virus.
@abudhabikid
@abudhabikid Месяц назад
when in doubt you can always flip the button on your power supply (desktop assumed) easily some of the best content around. thanks for the education and laughs!
@SlickClicks
@SlickClicks 2 года назад
Your videos are amazingly informative even to someone who thought they understood how Windows works.
@MrMcp76
@MrMcp76 2 года назад
Great video! Really enjoyed the history of booting a system, really helps to visualize what is going on. I work in IT and ever since Fast Boot became a thing we have been disabling it for our end-users because when we ask them to do a restart they end up powering off thinking that it was even more helpful. Microsoft must have caught on to the issue Fast Boot was causing, as now when a your system needs a reboot due to a Windows update, the power-off option adds a new "update and power off" selection.
@anon_y_mousse
@anon_y_mousse 2 года назад
Kind of funny, and quite predictable, that they made what was traditionally the safer option the one that performs worse.
@babybirdhome
@babybirdhome 2 года назад
@@anon_y_mousse While that is true, it’s also true that at the same time they did this, almost no one noticed, because they made it that much more reliable (although still not perfect).
@anon_y_mousse
@anon_y_mousse 2 года назад
@@babybirdhome Still not as reliable as a well maintained Linux system.
@jb888888888
@jb888888888 2 года назад
Many years ago (2003-2006) I had a job at a huge law firm. The computers ran XP. The rule from the IT department was at the end of your work day, reboot your computer; not logoff, not shutdown, but reboot. When you came in the next day you log in as normal. I found it odd but as a tiny cog in a giant machine I did what I was told. A couple of times we came in to discover signs posted by IT saying to reboot your computer again before use -- there was a major important update to install _right now_ which rebooting would take care of.
@teacherinthailan6441
@teacherinthailan6441 Год назад
Awesome channel that’s fun and informative. Cheers Dave!
@carstenfrandsen
@carstenfrandsen 2 года назад
This is actually why I always (on my own laptops) always turn-off this. Do a shutdown/power-off/restart cycle every 1-2 weeks. Too many apps still have memory leaks or leave external hw in an undetermined state. My work computers always get shutdown at EOB and started from fresh SOB.
@ChrisM541
@ChrisM541 Год назад
THIS x1024
@denvera1g1
@denvera1g1 2 года назад
I've found that hybernation(only) has been far more reliable, i've noticed that sleep, and hybrid sleep often result in network and USB not always working properly after wake, its rare, but when you manage over 1000 different machines, you tend to notice a higher ticket volume for wifi and keyboards not working when you enabled sleep because you wanted to save power/heat across all campuses.
@adamgeorge8327
@adamgeorge8327 2 года назад
Exactly what we found. When I replaced everyone's machines a few years back we got some back that had uptime of months. And users do not know the difference between a shutdown and a restart. so even when you ask them to restart they don't and then you end up with a system with 90 days uptime and you can't convince them that they did the wrong thing. A quick disable of fast boot and hybrid sleep in group policy and we reduced our random error tickets by about 75%
@denvera1g1
@denvera1g1 2 года назад
@@adamgeorge8327 I find an alarming number of users will restart the computer by pressing the power button on the monitor, even in out computer science department
@robsku1
@robsku1 Год назад
@@denvera1g1 With my first PC, the IBM PS/1 (model 2??? - the question marks being numbers I don't remember right now, but it was a 286), that was actually the proper way ;) It only had a power button in monitor and the monitor VGA and power cables to the PC itself. The PC had no power button :) It would have prevented anyone without some tech savvy from replacing the monitor with some generic VGA monitor and have it working... There would've been no way to boot up the system. Though the power connector on the PC was probably just a standard 3-prong connector, so it shouldn't have been that hard to get it powered up anyway. Just thought I'd mention.
@karlrovey
@karlrovey Год назад
@@denvera1g1 There are times where you have to use the power button (though you hold it rather than just pushing it). I always run an actual restart after that though.
@denvera1g1
@denvera1g1 Год назад
@@karlrovey I still have the power button connected electrically, but group policy disables the windows power button/lid close action. However the BIOS will still normally cut power from the device after 4-15 seconds depending on the model. We have a group of laptops for a VR class that shutdown after 15 seconds of holding down the power button, i've never seen a machine take longer than 5 seconds before then, and if i didnt have more than one laptop i'd say the power button was defective and never would have held it for longer. The weird thing is that after 5 seconds of holding down the power button, Windows shows this "swipe up to shut down" option, which 1: i dont want to do because you're acting up and i just want to re-image you, and 2: i cant do because this isnt the touch screen version.
@crepuscularwintersky
@crepuscularwintersky Месяц назад
I always wondered about this. Thank you Dave!
@jwest142
@jwest142 Год назад
Love your channel Dave, always learn a good bit from your videos.
@unvergebeneid
@unvergebeneid 2 года назад
On Linux you can just set the WoL flag on your NIC at any time; I usually do it in a startup script. Interesting to hear how Windows handles this automatically depending on the sleep mode. Not sure if mentioning Linux on this channel is heresy though... 🤔
@airjuri
@airjuri 2 года назад
Linux is not forbidden here. Amiga rules. Windows is just for gaming ;)
@SubTroppo
@SubTroppo 2 года назад
As a Puppy Slacko user I now recall my Windows days as like holding a very valuable thin crystal wine-glass that I could easily crush in my puny fist and therefore a constant worry that It would break. Using Slacko is like having a shipping container of restaurant-grade tumblers at my disposal.
@IMBlakeley
@IMBlakeley 2 года назад
Only maybe 10 days ago I set this up on my Linux desktop. It was a 2 step process, enabling in the BIOS and using the set option in Ethtool to enable, that apparently can get overwritten on restart so also make it an option in Network Management to respect the 'magic packet'
@joefish6091
@joefish6091 2 года назад
@@airjuri 'Tell Max , Amiga rules'
@EwanMarshall
@EwanMarshall 2 года назад
it is still in the adapter options in device manager. And BIOS also often needs to be setup for it.
@VernesMisadventures
@VernesMisadventures 2 года назад
Hey Dave, Great video as always. I was surprised you didn't cover the practice of holding the left shift key while click shutdown in Windows 10. I've found that to be quite useful for getting a fresh boot to run utilities or a live disk from a flash drive. Any thoughts or corrections?
@DavesGarage
@DavesGarage 10 месяцев назад
I'm pretty confident it flushes the disk caches, but not much more!
2 года назад
I always turn off fast startup, mostly because the difference of 1-2 seconds extra doesn't matter, and I turn off my computer when I go to bed. This means that updates don't happen at inconvenient times (as windows gets an opportunity once every day), and it's freshly booted every morning.
@thomasfx3190
@thomasfx3190 Месяц назад
Right up my alley! I had a Toshiba laptop at work that did all of these sleep, hybernate, states, I really had to crack the manual to learn how to use it.
@kevindondrea144
@kevindondrea144 9 месяцев назад
I KNEW IT!!!!!!!!!!! Thank you!!! I thought there was something odd about Rebooting. When we do it to help an end user, some programs are sometimes still running like Excel or Word. Being good at troubleshooting and BS I tell people I think it may only be going to hibernate before starting again. I just now shared this video with my coworkers to confirm what I have been telling them the past year.
@markmccomish7864
@markmccomish7864 2 года назад
Thanks Dave! Superb update for those of us who “used to know” the details of the boot cycle. 😉
@DelmaRaySmithJr
@DelmaRaySmithJr 9 месяцев назад
Thx, amazing how little facts being shared can be as gratifying as that was.
@phillupson8561
@phillupson8561 11 месяцев назад
I always use GP to disable fast boot across client networks, especially helpful when you ask a user to restart and they shutdown and turn on again.
@desiv1170
@desiv1170 2 года назад
Also note: Back in the day there was another significant difference between a warm and cold boot. Not just memory test speed. Some RAM chips had memory persistence that was longer than a warm boot might take. That means a warm boot wouldn't always clear your memory. You could see this mostly (at least I most remember it) in some of the Apple II series. Sometimes, you would warm boot them, and they wouldn't come back happy. The fix? Cold boot. It takes just a bit longer and more fully removes power from the chips, thus letting some of those RAM chips fully clear their contents. (And a few seconds later in the video, you mention that too. Never mind.. ;-)
@alexatkin
@alexatkin 2 года назад
He already said in the video that a warm boot NEVER clears the memory, that particular problem was obvious somewhere else in the computer not clearing it correctly once its been allocated for use. Also older computers being so slow, you would often see the last content of the video memory on screen for a second before it cleared it, even from a cold boot if you powered back on too quickly. I remember back on the Amiga, you could use a soft boot to rip sound samples from the game you had just been playing.
@eDoc2020
@eDoc2020 2 года назад
@@alexatkin He said warm boot doesn't _test_ the memory. I haven't tested but I suspect modern PCs will still _clear_ memory on warm boot entry for security reasons as it only takes a fraction of a second.
@EwanMarshall
@EwanMarshall 2 года назад
Even now a cold boot is not guaranteed to clear your memory, ultimately that is a BIOS question whether it runs the memory check which writes a 0 to every location. There is a cold boot attack method to grab full disk encryption keys out of memory from the last OS is running. One has to be relatively quick between power loss and fresh power to the ram modules, liquid nitrogen can extend the time to hours to days for this persistence.
@saltyowl3229
@saltyowl3229 2 года назад
I love how well dave puts into perspective that these well known concepts he covers were just something “a guy” made or added. Hate how some well known concepts and standards are things that some company thought would be profitable and forced into popularity.
@montebont
@montebont Месяц назад
Thanks Dave! Best explanation I've ever heard. Maybe this is helpful as well for troubleshooting. I feel ashamed to admit it because I've worked in ICT as a (systems level) programmer since 1974 and should have known better. All of a sudden my W10 PC stopped working. I know: first thing to check is the power supply. The plug was securely in the wall outlet and my PC booted slowly (so there had been a power loss) but worked OK. 10 minutes later: same problem. Another boot: worked fine. Until my mouse and keyboard stopped working and the power LED on my USB hub didn't light up. Only then I realized that a power cable has 2 ends: one on the mains outlet and the one on back of the PC. The PC end had - for some reason - become loose. Pushed it all the way in, secured it with 2 toothpicks and since then it works fine.
@rzorrilla52
@rzorrilla52 2 года назад
Thanks for these explanations because it made clear some of my observations with Restart/Shutdown/Hibernate/Sleep/FastStart/WOL. Some time ago observed that my W10 Shutdown settings/behavior were not what I thought it should be - expected that Shutdown was more like a Cold Boot - but noticed that I could not boot, from motherboard Power Front Switch On, to other media, like USB connected media or CD, with my Shutdown/Hibernate/FastStart whilst Restart did. So I kind of figured that Restart was more of a Cold Boot like-behavior than my Shutdown/Hibernate/FastStart settings. While some people seem to believe the FastStart is no longer necessary because of much faster Cold Boot provided by the current SSDs, I really like FasStart/Hibernate/Shutdown because it allows me to WOL PC while outside the office for Remote Desktop using even less power - probably- than even the Sleep State.
@wampacat6031
@wampacat6031 2 года назад
Don't forget about the new Windows Server Feature: Kernel Soft Reboot (KSR). A great way to fast reboot without going through the bios.
@ruben_balea
@ruben_balea 2 года назад
I remember when motherboards started to come with hibernation built into BIOS, none of their manuals explained that you had to create a specific partition for it to work or the details of that partition. It seemed like a very useful function, you activated it in the BIOS, did your work in Windows or any other OS and when you were done you hit the power off button waiting for the state to be saved only to discover on the next power up that you had lost your work or even corrupted the hard drive... *Operating System not found* 😱💩
@mattscomp
@mattscomp Год назад
This is a brilliant video. Really educational. Everyone that uses a Windows PC needs to watch this.
@utp216
@utp216 2 года назад
Very informative! Thanks, Dave!
@ArveEriksson
@ArveEriksson 2 года назад
First of all, I must say that our Nerd in Chief has given me a greater respect for Windows OSes. (... Except 11. And the window decoration in Win10. Bleh!) I still think Linux is more fun, though, quirks and instabilities and all. I never did read up on what Wake-On-LAN does, though. I've been educated! Not sure I approve of the creative approaches to shutting down, though... I can sort of see the reasoning, but let me effing shut down if I wanna!
@Shiny_Hunter_Rob
@Shiny_Hunter_Rob 2 года назад
For years, every time I need to shut down a PC, I'll use the "shutdown -s -t 0" command. I was told that it bypasses Hybrid Sleep and stuff like that.
@tekvax01
@tekvax01 2 года назад
shutdown -r works well, if you need to reboot from an RDP session...
@WilliamHaisch
@WilliamHaisch 2 года назад
@@tekvax01 Throwing down a “shutdown -s” fresh out of muscle memory instead of “shutdown -r” was always an interesting situation on remote sessions!
@BDBD16
@BDBD16 2 года назад
@@WilliamHaisch You subconsciously just wanted to go for a drive.
@gammaboost
@gammaboost 10 месяцев назад
You should've mentioned the (annoying) Modern Sleep that windows has on newer laptops. It's annoying because I don't want my surface to overheat in the bag and I can't enable regular sleep in any way. I just hibernate it way too often instead. For a long time I had fast startup switched off because I was told it was better, but when I turned it back on the boot speed went from 22 secs to 15 secs, which is worth it for me.
@dbmandrake
@dbmandrake 2 года назад
Dave, Wake on Lan does work on PC's that are "fully off" (not just hybrid sleep) if enabled in the BIOS. Sometimes this is called "Power-on on PCI-E" or similar. We have over 250 PC's of various models at work (mostly Gigabyte and ASUS motherboards) and I can assure you every single one supports Ethernet Wake on LAN from a fully off state, and did so both on Windows 7 (which only had a true shutdown) and now on Windows 10 with or without quick shutdown enabled. (We have it disabled with group policy) This is a feature of the BIOS and onboard ethernet hardware and nothing to do with Windows. (It works even if Windows is not installed or some other OS is) The Windows ethernet driver for some network adaptors offers the option to disable wake on lan - however this disabling of wake on lan in the windows driver only takes effect after windows boots up not when power is initially applied to the system, which is controlled by the BIOS setting. So wake on lan will still work once after power is first applied but will not work after a windows shutdown/sleep if disabled in the driver as it gets disabled when windows boots. So for it to always work it has to be enabled in both the BIOS and in the windows driver. There are also two types of wake on lan - what you describe with the MAC address repeated 16 times is "wake on magic packet", this is OS independent (supported in the BIOS from both fully off and standby) and works on all systems that support wake on lan. Then there is "Wake on pattern match" - where Windows or other OS can program additional custom pattern matches into the ethernet hardware at run time via the ethernet driver. This is how waking on arp resolution etc works as Windows configures a pattern match in the ethernet hardware on the fly which matches arp packets that the PC would normally respond to based on it's IP address, then goes to sleep. When a matching ARP packet is received the PC wakes. As far as I know this type of Wake on lan doesn't work when the PC is fully off, only when it is in standby/hibernate/sleep. Not all ethernet adaptors support this second wake method. If you don't see an option for it in the driver it probably doesn't. If it does have the option you can disable wake on pattern match while still leaving wake on magic packet enabled - which I've done on my PC at home because some other device on the network querying it using arp would keep waking it up, yet I still want to explicitly wake it using wake on magic packet.
@EwanMarshall
@EwanMarshall 2 года назад
I've also recently had to disable the second method on one of my machines as it was waking on spurious packets after a driver update. That said, wake on patten can work if off (well in ACPI S5) but it is highly hardware dependent the driver basically has to be able to save the patterns to wake on in the card itself.
@DavesGarage
@DavesGarage 2 года назад
I do mention that, and explain that it has to be turned on in the BIOS and then enabled for the device... I think!
@atkelar
@atkelar 2 года назад
The "reboot ever so often no matter what" rule is something I also subscribe to: it helps to get rid of memory fragmentation in those darn C/C++ programs... and that's a thing even on non-Windows platforms.
@quill444
@quill444 Год назад
Actually, if it's Update Tuesday, or if you're powering up a machine that has not been used in a while, I've found that it's a good habit to perform TWO RESTARTS in succession, since a lot of times, after a restart with updates, sometimes only a portion of the update process occurs during the initial restart. Then, if you begin some heavy task after just one restart, and open dozens of tabs, etc., then you'll occasionally have to do another restart later that same day to bring everything up-to-date. It's easier to do them all at approximately the same time, say five or ten minutes apart. I also run tools like ccleaner at this juncture, looking for things like "Edge is Still Running" (some rogue process maybe need killin'!). - j q t -
@madyogi6164
@madyogi6164 2 года назад
Hi Dave! Yep, WOL does work from complete power off state. Tested and proved! I have Z77 Extreme4 based PC (Gentoo / win7 / win10 installed). It's onboard ethernet card is set to be WOL-enabled at BIOS level (wake on PCI EVENTS in ACPI menu). When I send the wol packet from my 2nd Linux box over broadcast, it just boots as simply as I would press its power button...
@madyogi6164
@madyogi6164 Год назад
@@denisgour1569 WoL is not OS-specific. It's hardware built in feature. It's normal PowerOn, but triggered by a magic packet, not by the human finger... Even my old mini server (like ~22 years old now) has it (except a dedicated wire is needed to handle it). Cheers!
@madyogi6164
@madyogi6164 Год назад
@@denisgour1569 😁👍
@techdude210
@techdude210 2 года назад
I love for you to do an audiobook for your book. Preferably read by the author. I struggle to focus on reading but love audiobooks on my drive to work
@skak3000
@skak3000 2 года назад
Thank you for making the video. Very good explanation!
@Adam-42
@Adam-42 2 года назад
There's a way to get back to the old Windows 7 behaviour - turn off hibernation. From an administrator command prompt run "powercfg /h off". That will take effect on the next reboot, and frees up a nice chunk of space on the boot drive. I never use hibernation on my desktop PC anyway, and it boots up fast enough from an SSD.
@BlizzetaNet
@BlizzetaNet 2 года назад
I hate hibernation. The only time it was useful was XP and even then it was total junk to me.
@markkulusa
@markkulusa 2 года назад
On my experience it's been most useful to turn the fast boot off since starting computer with ssd is quite fast and users normally make shutdown after work day, restart only when updates are requesting it. Also fast boot doesn't zero windows uptime and after uptime hitting about 63 days on Windows 10 our users got quite often some network related problems, fe. web pages not found when opening browser, network mappings not connecting and so on. Maybe that is not issue with newer Windows 10 revisions, but still disabling fast shutdown always on Windows 10 installations since no noticable time difference on startup on ssd (at least to user) compared to good old hdd days 😁
@EwanMarshall
@EwanMarshall 2 года назад
I've actually seen fast startup off be faster off SSDs.
@VoXeR91
@VoXeR91 9 месяцев назад
Fast boot is something I've turned off instatly in BIOS on all new machines since its first introduction, but cool to konw more "behind the scenes" things as usual in these videos!
@amergigolo1442
@amergigolo1442 Год назад
Always wondered why it takes my computer longer to reboot than if I power it down and turn it back on. Very informative this podcast.
@edmunns8825
@edmunns8825 2 года назад
Thanks Dave, really informative video! I have to cold boot a fair bit (sometimes by choice, sometimes by malfunction) because I'm still learning how not to create memory leaks ;) It's amazing what you guys did with our operating systems, bloody good engineers. I still pull the plug a fair bit. It worries me a little we can't do that on modern smartphones without destroying them physically.
@PhilA.Minion
@PhilA.Minion 10 месяцев назад
I haven't seen one yet that holding the power button for five or fifteen seconds won't turn it off. I don't mess with many though.
@maxusboostus
@maxusboostus 2 года назад
A few years ago, I hibernated my windows 10 laptop and popped it into my rucksack to take home. On arriving home I could smell a very hot electrical smell. During my bike ride home windows had decided to power back up and attempt some update and due to the vents being blocked became dangerously hot. The end result was the battery pack being ruined and I no longer using Windows 10 on my laptop again.
@thedeegee1601
@thedeegee1601 Год назад
Blaming Windows for your own fault xD
@axonis2306
@axonis2306 Год назад
What was his fault?
@jagmarc
@jagmarc Год назад
@@thedeegee1601OK we'll blame you if you'd locked your car and then at 3 in the morning your car decides to start itself up and burn all your fuel
@mekedron
@mekedron 3 месяца назад
I had installed windows on my laptop for about a year. And whole this year I was trying to fight with it's power ups. It does not matter if it was hibernated, or in the sleep mode, it always was turning on and checking for [censored] windows updates, mail/messengers notifications, and etc. I tried all the ways to disable this behavior I could find on the internet so far (turning off wake on lan, wake on usb device, etc.), but nothing could help me to resolve this start ups when the laptop is closed. It was so stupid that I close my laptop in the evening, and when I wake up it's completely uncharged, the battery is 0 percent. The only fix I could find is buying Mac. Now I can close my laptop and be sure if I open it next time it has the same battery level as before.
@TishSerg
@TishSerg 2 месяца назад
@@mekedron THose wakeups are really annoying. I stopped that by running Taskschd.msc as TrusterInstaller, disabling UpdateOrchestrator's wake task and denying write access for that task file for System. Now Windows can't reactivate that wake task after new updates are downloaded and ready for installation. :D
@scitor
@scitor 9 месяцев назад
Love the sound your big AT switch makes at 2:00 :D 👍
@NiyaKouya
@NiyaKouya Год назад
Great explanation ^^ Pretty much the first thing I do on a fresh windows installation is disabling fast boot and enabling suspend to disk. Mostly because I want to decide myself if I want to hibernate or shut down fully. In the end I usually pick S2D and only reboot/shutdown when driver installations or updates require it.
@stephenalexander321
@stephenalexander321 Год назад
Dave is the best technical teacher I've ever encountered. He knows his material perfectly, doesn't make the mistakes that many instructors make, and has an engaging and personable style. He's instantly likeable. Thank you, Dave, for doing this channel!
@DavesGarage
@DavesGarage 10 месяцев назад
Thanks for the kind words!
@bobschuon5908
@bobschuon5908 2 года назад
You have no idea how angry I was when I first found out about fast startup. It was always a matter of faith to me that a reboot re-used parts of the running system, and that to get a "cold boot", you would shut down the system, and then restart it with the power button. THIS is why so many users do not trust MS on certain items. This seems completely backward and unintuitive to keep data on shutdown. Then add in the fact that this was not made clear to users, is not great client relations. Just like the Windows Updates, where users were used as guinea pigs without any mention or opt-out if you wanted to manually select updates. Now, of course, you don't even get the option, the updates are getting installed. I literally found an update that was going to be installed that warned that my specific model could break the graphics drivers if installed, but it was on the list! Or how about the time I read the update, and realized it was going to install adware to annoy you about updating to Windows 10 (thank goodness I didn't auto install THAT one!). Of course, THAT update was never installed on my machine. This is no longer a realistic option. It is also the reason that Linux systems have become more popular and desired. If the gaming side of Linux is ever brought up to date, I will be switching to Linux exclusively.
@timotheatae
@timotheatae 2 года назад
Valve is working on that last part.
@davidhubbard8353
@davidhubbard8353 2 года назад
All of this exactly that I still use Vista and 7 to this day.
@crrodriguez
@crrodriguez Год назад
Best video to point to when people ask me.."why yo laptop restart so slow!" different expectations, you expect it to be fast..I always expect restart to actually boot cleanly
@davemould4638
@davemould4638 Год назад
The hibernation file is a great resource for anyone who wants to know what you were doing at the time the PC last went into hibernation. If you were accessing encrypted data, it will all be there in its unencrypted state in the hibernation file, as will all the encryption keys, passwords etc that were active at the time the PC went into hibernation, and any documents you had open at the time.
@xBINARYGODx
@xBINARYGODx Год назад
false - unless you using windows wrong, things are encrypted whenever written to disk, no matter what. I guess it depends on your settings and windows version, though.
@SlyNine
@SlyNine 2 года назад
Bit flips(solar radiation flipping ones and zeros) happens more frequently than people realize. It's a good practice to reboot once a week imo.
@miguelguthridge
@miguelguthridge 2 года назад
Once every 2 days was the statistic found by CERN (although different papers seem to disagree a lot). A single bit out of the billions in RAM every 2 days honestly doesn't seem like much to me, unless you never close any programs ever, and those programs aren't constantly modifying the state of their memory (fixing the issues). Not to mention that ECC RAM makes these errors even less likely to have any real-world impact since they can be corrected whenever they are found.
@anon_y_mousse
@anon_y_mousse 2 года назад
@@miguelguthridge Indeed, and I've only powered off any of my computers in the past decade because of power outages. Although I also don't use Windows, so that might make a difference.
@blahorgaslisk7763
@blahorgaslisk7763 2 года назад
@@miguelguthridge Well the overwhelming majority of PC's doesn't run ECC, so that's not really that relevant for most users. Now it'd be interested in learning how DDR5 handles bit flips as it uses a form of ECC internally on the memory modules. I've worked in the PC field far longer than I care to admit, and I've always tried to steer people towards ECC memory when they spec out workstations. If your personal gaming machine crashes because of a bit flip it's unlikely to cause any long lasting problems or major costs. But in a machine used for production or economics it can be disastrous. Now if we look at the likelihood that a bit flip will cause a crash it's actually quite small. Of all the memory used by the system the absolute majority will contain graphical data, sound data and things like that. The actual code that's executable is way smaller than all the "fluff" data that memory is filled with. And not even all the executable code will actually be executed. There is a lot of code in conditional branches and error handling that will only be run very infrequently. If the bit flip occurred in code like that you might never know. And if it's in graphics or sound data chances are you wouldn't notice. Even a crash isn't what you are really afraid of. A crash will self correct the problem as it makes you aware that something is wrong. When the bit flip occurs in critical data used for calculations or in data that is the result of calculations that hasn't been written to disk yet, that's when things get scary. Unless the data has built in parity or there is some kind of sanity check on the calculations or perhaps redundant computers performing the calculations then a bit flip can go by unchallenged and the corrupted data gets logged as being good. So bit flips happens, and no, that your computer doesn't constantly crash isn't prof that it's not happening to you. And as memory size increase as does data density there are more cells and they are smaller. That means the chance that a bit flips goes up both because there are more of them, but also because the smaller the cells get the easier they are to flip. The use of ECC in the DDR5 memory modules is one sign of things getting critical, but I wish they had chosen to standardize on full ECC capability for every thing memory related. Then we would be able to see when there is a correction done and have a chance to measure the frequency with which they occur. But then I guess they don't want end users to worry about these things. Out of sight, out of mind...
@mikemx55
@mikemx55 Год назад
Most people nowadays don't reboot for months (especially in tablets), and all is well and fine. Bit flips are not that common
@blahorgaslisk7763
@blahorgaslisk7763 Год назад
@@mikemx55 I'd argue that 90% or more of the memory is used for things other than executable code, and most of it is non vital data like graphics assets, sounds and so on. You would be hard pressed to even notice a bitflip in all this data, and so you can be sure that the absolute majority of them are never discovered.
@KernArc
@KernArc 2 года назад
What Dave didn't mention is the so called "Modern Standby" which Microsoft insists on for laptops since some time. This mode keeps your computer in S1 (fully on) state but is supposed to make your processes and devices aware the computer is supposed to be asleep and to behave themselves, only allowing for light activity like periodical e-mail checking, etc. It practice, the implementation is broken and rarely works as intended, often making your laptop cook itself to a near death in your bag or backpack, until the last resort thermal failsafes kick in (or not).
@NetBandit70
@NetBandit70 2 года назад
Yep. It's horribly implemented and ignores your power management settings. For example, if you close your lid but want the computer to 'do nothing', modern standby will still put your system to sleep after 15 minutes. Infuriating, but setting the BIOS/UEFI firmware sleep mode to 'Linux' restores classic, working, functionality.
@Gerard1971
@Gerard1971 2 года назад
I noticed this omission too, and agree that Modern Standby and Connected Standby as it was called in Windows 8 is a DISASTER. I have had the issue with the laptop overheating in the laptop bag several times, to the point that even the glue on the rubber strips on the bottom of my Dell XPS 15 melted and let loose. Fortunately, it can easily be disabled in the registry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power CSEnabled=0
@eDoc2020
@eDoc2020 2 года назад
I forgot what that was called and I never figured out how it worked before now. If it's keeping the computer fully on that's probably the stupidest thing ever. I'll need to make sure I have that fully disabled on my WIn10 laptop.
@ungratefulmonkey
@ungratefulmonkey Год назад
I enjoyed the entire video, but as a guy who has loaded in the bootstrap from front panel switches, I especially liked the explanation of the term "Boot".
@NUN0BRUM
@NUN0BRUM 2 года назад
Thanks! Very thorough and enlightening.
Далее
Фэйворит жвачка А? (2024)
01:00
Просмотров 133 тыс.
11 Characters That Crash Any PC: the Fork Bomb!
11:59
Просмотров 500 тыс.
Behind the Windows Start Menu - Insider Secrets
17:59
Просмотров 232 тыс.
How SLOT Machines REALLY Work!
15:07
Просмотров 1,2 млн
Why did we Abandon 4:3? | Nostalgia Nerd
16:40
Просмотров 551 тыс.
How Fiber Will Speed Up America’s Internet
17:17
Просмотров 1,5 млн