Why a shutdown in Windows 8 / 10 is not a restart.


Recommended Posts

 

Ever since the dawn of the personal computer when a computer would act funny or miss-behave people would just turn the computer off (Sometimes for minutes or hours, when in fact the amount of time you leave it off makes no difference unless the issue is heat related) and turn it back on.

Starting with Windows 8, Microsoft wanted to make “Windows” Boot faster when you press the power button to turn it on (The time between pressing the power button and arriving at the desktop). To accomplish this they created “Fast startup”.

Fast startup is a shutdown + Hibernation Hybrid. First, let’s talk about what hibernation is and how it works.

Hibernation allows you to turn the computer completely off (even unplug it if you wish) and when you turn it back on, you are right back where you left off including all the applications you had open.

How does all this voodoo work? For hibernation to work, windows looks at how much Ram (memory) you have in your computer.

It then creates a file on your hard drive called HIBERFIL.SYS. Back in the days of Windows 2000 and Windows ME, this file was the exact same size as the amount of ram your computer has so if you had 2GB of ram you would of had a 2GB hiberfil.sys file. In Windows 7 they set the file size to 75% and in Windows 8 the file size is smaller yet, due to not hibernating user data during shutdown.

When you tell your computer to hibernate, it takes the contents of your ram and dumps it into the HIBERFIL.SYS file. Then the computer shuts off.

When you turn the computer back on, the reverse happens. It takes the contents of HIBERFIL.SYS and puts it back into ram and your computer is now booted. One reason this is faster is that typical spinning hard drives are much faster at large single files than thousands of small files.

Now that you know how hibernation works, let’s take a look at how fast startup works. The fast startup works by not hibernating the entire system but just the core functions, such as the kernel (the lowest level of the system), system drivers (software that tells your devices how to operate), and a few others.
.
When you turn your computer off in Windows 8 and Windows 10, it first closes all your applications, then it logs off and dumps the system files listed above into the HIBERFIL.SYS file and your machine shuts off.

When you turn the machine back on, it will start faster because half of the boot process is transferred directly back into ram, in the exact state it was in before the shutdown, problems and all.

This is also why when you select restart instead of shut down it feels like your system takes longer to startup. When you select restart nothing is hibernated and the system has to start everything from scratch.

Hopefully, you can see now why turning your computer off and back on in Windows 8 and Windows 10 is pretty worthless for solving any sort of problems and why it’s much better to select restart.

The issue I have with Fast Startup is that they told the average user NONE of this. How is the average person supposed to know that turning the computer off and back on won't solve their problem? After all, the process looks the same and it worked just fine in Windows 3.1, Windows 95, 98,ME, XP, Vista and Windows 7.

One customer was running Windows 8 and was having problems accessing their email. They were trying to open their email program but nothing was happening. I asked them if they restarted their computer and they told me yes, they turned the computer off 3 times and it still won't work. So I walked them through selecting "Restart" instead of "Shutdown" and after the "restart," their email opened up first try.

  • Like 4

Hello,

 

I have upgraded all of my computers to SSDs for at least their boot drives over the years, and find that booting from a powered down state to the logon screen to be fast enough that I disable the hibernation and suspend features of the operating system. 

 

One small bonus to this is that I gain the space back previously used by the HIBERFIL.SYS file on the boot drive (which can be considerable on workstations with 64-96GB of RAM), but the major reason I do this is to avoid incompatibilities with the computer's device drivers that sometimes do not handle the transitions between the different power/suspend states very well.

 

Regards,

 

Aryeh Goretsky

 

  • Like 2

Huh not something that I knew :)

 

Personally, being the family "IT guy", if someone has an issue, I always suggest a restart.  More than likely, the issue that they're having is something they want to try again ad see if it's been resolved so I haven't come across that "feature". 

 

Personally, given how little power is used during hibernation, most of the machines that I use frequently aren't ever shut down, they're either restarted or hibernated. 

 

MS should remove the other options from the power menu and keep just restart or hibernate. 

  On 06/09/2018 at 12:23, dipsylalapo said:

Huh not something that I knew :)

 

Personally, being the family "IT guy", if someone has an issue, I always suggest a restart.  More than likely, the issue that they're having is something they want to try again ad see if it's been resolved so I haven't come across that "feature". 

 

Personally, given how little power is used during hibernation, most of the machines that I use frequently aren't ever shut down, they're either restarted or hibernated. 

 

MS should remove the other options from the power menu and keep just restart or hibernate. 

Expand  

What about cases where you'd want a full shutdown (storm, machine move, hardware maint.)?

  On 04/09/2018 at 17:48, warwagon said:

It then creates a file on your hard drive called HIBERFIL.SYS. This file is the exact same size as the amount of ram your computer has.

Expand  

this is wrong.

on all my systems, where I leave hibernation enabled, the hiberfil.sys file is always much smaller than the amout of RAM in the system.

 

 -andy-

  On 06/09/2018 at 12:26, Squirrelington said:

What about cases where you'd want a full shutdown (storm, machine move, hardware maint.)?

Expand  

Fair points! I stand corrected!

  • Like 1
  On 06/09/2018 at 12:26, Squirrelington said:

What about cases where you'd want a full shutdown (storm, machine move, hardware maint.)?

Expand  

Hibernation is a full shut down. Sleep would not be, but Hibernation is. With Hibernation the computer is OFF!

  On 06/09/2018 at 12:27, AndyMutz said:

this is wrong.

on all my systems, where I leave hibernation enabled, the hiberfil.sys file is always much smaller than the amout of RAM in the system.

 

 -andy-

Expand  

I'll edit it. The size probably changes as to how much ram you are are using. After looking it up it appears that in windows 2000 the file was the entire size, but I guess it expands and contracts with other versions of windows.

  • Like 2
  On 06/09/2018 at 12:37, warwagon said:

Hibernation is a full shut down. Sleep would not be, but Hibernation is. With Hibernation the computer is OFF!

Expand  

So you could in theory disconnect from the power and move the machine etc. 

 

How would a machine deal with a hardware upgrade in hibernation?

  On 06/09/2018 at 12:39, dipsylalapo said:

So you could in theory disconnect from the power and move the machine etc. 

 

How would a machine deal with a hardware upgrade in hibernation?

Expand  

Yes, you can disconnect the power and move the computer. I'm curious, did you read the part where I explained how hibernation worked? lol

Always hated hibernation as most every machine I've ever owned, or worked on, had issues when resuming. One of the first things I always used to do was disable that crap! I'll either use sleep or turn the computer off when done. Have never left computers on, even over night! I'm on a different one or 2 every day anyway.

  On 06/09/2018 at 12:41, warwagon said:

Yes, you can disconnect the power and move the computer. I'm curious, did you read the part where I explained how hibernation worked? lol

Expand  

Just re-iterating what you said :rofl: 

 

What about hardware upgrades?

  On 06/09/2018 at 12:55, dipsylalapo said:

Just re-iterating what you said :rofl: 

 

What about hardware upgrades?

Expand  

My guess would be yes. Because most people wouldn't know they are in a hybrid state and would always turn the computer off to upgrade their hardware.

 

That being said, if you want to clone a Windows 8 or 10 hard drive with true image, it will bomb out almost instantly if you just turn the computer off, pull the drive in and clone on another machine. If you are pulling the drive, either turn hibernation off, or restart and when the computer starts to come back on turn it off and then pull the drive.

Was doing remote support with someone who was having issues with their usb printer printing. It would print but it would take a few mins. Looked at the system boot time and it was 8/16/2018. I asked him when the last time he restarted it was (which obviously was 8/16/2018) he said "I just turned it on today" So I had to explain to him the difference between a shutdown and restart.

  On 06/09/2018 at 12:26, Squirrelington said:

What about cases where you'd want a full shutdown (storm, machine move, hardware maint.)?

Expand  

Win 10 - I had a game where it crashed and the sound was "stuck". Powered down, powered back up, stuck sound came back.
It wasn't until I did a "restart" no longer hearing the stuck sound.

Hello,

 

On Windows 10 (and perhaps earlier), you can adjust the size of the hibernation file so it is a percentage of RAM (as low as 40%).  For more information open an elevated Command Prompt (filename: CMD.EXE) and type in "POWERCFG /HIBERNATE ?" (without the quotes) and press Enter to see all of the options and their associated values.

 

Regards,

 

Aryeh Goretsky

 

 

  On 06/09/2018 at 12:27, AndyMutz said:

this is wrong.

on all my systems, where I leave hibernation enabled, the hiberfil.sys file is always much smaller than the amout of RAM in the system.

 

 -andy-

Expand  

 

  • +Warwagon unlocked this topic

When first connecting to someone's computer for "Any" issue, I first open CMD and run  systeminfo to look at the "System boot time". If "Fast startup" is enabled the date will not change each time the computer is turned on and off, only when the computer is restarted.

 

Here is an example. My basement workstation has fast startup enabled and I JUST booted it up today 1/24/2022 at 3:30pm. Lets look at the system boot time. Even though I just turned it on, the machine hasn't actually been restarted since 1/18/2022.

 

image.png.fd9dbcdc9ce8875f0247c6d7f8aa3fd5.png

 

There have been times when the "System boot time" has been MONTHS ago!

I always initiate from an elevated command prompt powercfg -h off enter, reboot.  

 

The hiberfil.sys is notorious for corruption.

  • Like 3
  On 24/01/2022 at 21:40, xrobwx71 said:

I always initiate from an elevated command prompt powercfg -h off enter, reboot.  

 

The hiberfil.sys is notorious for corruption.

Expand  

This! I do that too on "Most" of my machines.

  On 24/01/2022 at 21:34, warwagon said:

When first connecting to someone's computer for "Any" issue, I first open CMD and run  systeminfo to look at the "System boot time". If "Fast startup" is enabled the date will not change each time the computer is turned on and off, only when the computer is restarted.

 

Here is an example. My basement workstation has fast startup enabled and I JUST booted it up today 1/24/2022 at 3:30pm. Lets look at the system boot time. Even though I just turned it on, the machine hasn't actually been restarted since 1/18/2022.

 

image.png.fd9dbcdc9ce8875f0247c6d7f8aa3fd5.png

 

There have been times when the "System boot time" has been MONTHS ago!

Expand  

Same. I find this commonly has caused issues for people with laptops who take it back/forth to the office, especially when group policy is involved, drive mappings, and the sort.

 

This is also why I don't even ask if people have restarted their computer anymore, mostly because they'll say yes when they've simply shut it down, assuming that restart and shutdown still mean the same thing. Anyway, disabling Fast Boot often times resolves those recurring issues.

  • Like 2
  On 24/01/2022 at 21:40, xrobwx71 said:

I always initiate from an elevated command prompt powercfg -h off enter, reboot.  

 

The hiberfil.sys is notorious for corruption.

Expand  

I do the same for every new install of Windows 8 and newer versions

 

This is what I use: powercfg /hibernate off

 

I did not know that h would do the same thing...

First thing I do with a system with a SSD is go into the power options and disable fast startup. I can live with a couple extra seconds and avoid the headaches when I have to pull data off a dead PC. Fast startup is a sloppy hack, IMO. 

 

Microsoft has 3 decades of OS development experience. They know how to make a good OS. Its time to stop cutting them slack.

 

And no, I can't do better and no I don't code. That's what the brainiacs of this multi-billion dollar company are supposed to be for.

Edited by JustGeorge
  On 26/01/2022 at 00:58, aioraito said:

I do the same for every new install of Windows 8 and newer versions

 

This is what I use: powercfg /hibernate off

 

I did not know that h would do the same thing...

Expand  

-h not just h. But yes, it does.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Teams is a happiness sucking piece of software design to make life horrible for those who use it. I am so glad I only use it once a week.
    • What's wrong with a CPU from 2021? I'm still using laptops with CPU's that came out 2018-2020 ... they run great.
    • It’s encouraging that Intel is still competing, the best they can, in the gpu space.
    • Windows 11 KB5062233/ KB5060843/ KB5062197/ KB5061090 setup, recovery updates released by Sayan Sen This week Microsoft released non-security preview updates for Windows 11 22H2 and 23H2 under KB5060826 as well as for 24H2 under KB5060829. The company also published dynamic updates alongside them. Dynamic updates bring improvements to the Windows Recovery in the form of Windows Recovery Environment (WinRE) updates, also called Safe OS updates, as well as to the Setup binaries in the form of Setup updates. These Dynamic Update packages are meant to be applied to existing Windows images prior to their deployment. These packages include fixes to Setup.exe binaries, SafeOS updates for Windows Recovery Environment, and more. Dynamic Updates also help preserve Language Pack (LP) and Features on Demand (FODs) content during the upgrade process. VBScript, for example, is currently an FOD on Windows 11 24H2. Both setup and recovery updates were released. The changelogs are given below. First up we have the Setup updates: Up next, we have the recovery updates: Microsoft notes that the Recovery updates will be downloaded and installed automatically via the Windows Update channel. The Setup updates, however, need to be downloaded and installed manually. You can avail them on Microsoft's Update Catalog website: KB5062233, KB5060843, KB5062197, and KB5061090.
    • Gaming mouse review: Keychron Lemokey G2 8K Wireless, high performance, light in weight by Robbie Khan Available in the UK and USA, the G2 is a wireless gaming mouse by Lemokey, the customised gaming peripheral arm of Keychron, a brand many readers will know well. I've checked out Keychron keyboards recently, models such as the top-tier Q6 Max, and the bargain priced B6 Pro. I never got the chance to check out the G1, but the G2 seems to put itself firmly in-between competing 8K gaming mice out there whilst coming in at a decent sum under £100/$100. The other benefit is that it uses Keychron Launcher, the web-based software that has been a staple part of Keychron keyboards for a long time now. I rate the launcher highly and have rarely had a problem with it, so it is great to see a robust piece of software being used on an affordable gaming mouse that's not only built well, but performs well, too. As it's a high performance gaming mouse with a flagship PixArt sensor, I will be comparing the G2 directly against my personal mouse, the similarly sized Pulsar Feinmann F01. Both mice are priced wildly differently, so it was interesting to compared several factors between them to see if one bests the other where it matters most, or if it just comes down to individual preferences. Let's check out the specs... Keychron Lemokey G2 SKU G2-A1 Sensor PixArt 3950 IPS 750 MCU Realtek 8762G Connectivity Bluetooth 5.1 / 2.4 GHz / Wired (type-C cable) Polling Rate Up to 8000 Hz (2.4 GHz / wired mode), 125 Hz (Bluetooth mode) Motion Sync Yes Angle Snapping Yes Acceleration 50g Cable Detachable Type-C to C Cable + Type-A to Type-C adapter Dongle Micro USB-A dongle Main switches Huano Micro Switch Switch lifespan 80 Million Clicks Battery 300 mAh Battery life 60 Hours (Under 1000Hz) 35 Hours (1000-4000Hz) 20 Hours (4000-8000Hz) Skates Teflon / PTFE Lift Off Distance 0.7 / 1.0 / 2.0 mm Material (Body and Grip) ABS Dimensions 118mm / 62.6mm / 38.2mm Tracks on glass (min. 4 mm thickness) Yes (max 1000Hz report rate) Weight 52 ± 3 g Colours Black / White Price £73.99 / $69.99 Fit and finish Made of all ABS, it certainly doesn't feel anywhere near as nice as the F01, but then again it's priced much lower, so no complaints there. To me it feels more like a previous generation Endgame/Zowie mouse, before they started to use the more grippy textured finish. It's a fine finish but how long that lasts only time will tell. With the Endgame mice I always found that the side buttons would go shiny first, and I suspect the exact same to apply here with the G2, since the size and shape of them is similar, as is the material quality. Speaking of side buttons, my personal preference is flat and large buttons, the long and pointed ones like those on the G2 shown above and GAMIAC PX71 at the bottom always felt a bit awkward to me for naturally resting a thumb on, whereas the large surface area of the ones found on the Feinmann and others like it feel more ergonomic and comfortable for long usage sessions. Pulsar Feinmann F01 (ergo shape) Lemokey G2 (ambidextrous shape) Under my 19cm hand, the G2 feels comfortable and stable for both claw and palm grip styles, though my usual style is a hybrid approach. I like to pinch a mouse with a thumb and ring finger, then articulate forward or backward movement with them to adapt to different play-styles. Both mice have a sloping back hump that works brilliantly for this and i had no problem getting comfortable with the G2 here. The underside of the G2 hides a cool feature I wish more more mice makers adopted, can you spot what it is in the photo below? That little flap at the bottom to store the USB dongle, it's convenient, especially for gamers who travel with their mice or laptop gamers. The skates applied are PTFE and cover three zones on the underside, sadly I forgot to take a photo of them before swapping them out to my preferred skates, the Wallhack Pro UWMP yellow dots. I found no problem with glide resistance on the stock skates, though find dots glide nicer overall and these yellow dots slide around like butter. Lemokey states 52g for the weight, give or take 3g, so my scales measure up perfectly here. It's not as lightweight as the Feinmann which currently is 45g, but it's still considered super-light and honestly, under the hand, this weight difference on dot skates is hard to tell apart. Gripping the G2 hard on both sides shows no obvious issues with flexing, so the internal construction is also up to scratch and exactly what i would expect in this price range. The differences start to be noticed when you are using the G2 as a combination mouse, both in gaming and desktop use. The wheel is thinner than the one on the Feinmann and other gaming mice with fat wheels. I much prefer a nice wide wheel, the diameter is also much larger as can be seen with the overhead photo above. The button tops also have a distinct difference in feel when actuating the switches. there is more of a hollow feel to the G2's tops, as well as slightly more travel post-click. the Huano switches feel and sound excellent, though, but I think the ABS contact surface on the outside could have been slightly more distinct in feel. Here is a demo of how the main switches sound, you can also hear the switch tops clap if you pay attention: Likewise the side buttons have extra play after the switches actuate, something the Feinmann and others in the higher price category don't tend to have. Features & software Aside from the usual features that all gaming mice support these days, such as Motion Sync, lift off distance and Macro, the big feature with the G2 is that is uses Keychron Launcher, the web-browser based software. All changes are stored directly onto the on-board memory, here is what the sections within it look like: I found no bugs with the implementation here, and unlike other Keychron wireless devices I have used with Launcher in the past, the G2 connects and can be customised in it over both wired and wireless. Just be aware that the firmware update option when connected via wireless will only check the dongle's firmware. To check the G2's firmware, a USB cable will need to be connected. Performance Whether on the desktop in Windows or in games, the cursor and motion performance is excellent, though this is to be expected from all modern gaming mice, regardless of price. The higher priced mice tend to have better use of high quality materials, and implementation of software and physical features. I'm currently pacing through nine games, all mixed genre, and in each of them I had no troubles quickly getting comfortable with the G2. If you're used to an Endgame XM2we sized mouse, then this will be just as familiar to you. The convenience of the DPI button at the top of the mouse instead of underside makes instant switching simpler, although the button can be remapped to do something else for those who don't care about DPI toggling. Here is a demo of the G2 playing Doom: The Dark Ages: The sensor tracking performance at 8K was perfect, aside from the few moments my physical movement on the mousepad slowed down causing some drops in the Razer mouse tracking measurement graph below: A consistent 7900-8000Hz polling was observed, though keep in mind that using such high polling rates will impact CPU performance whilst gaming. How much this affects framerates will boil down to the CPU you have. On my i7 12700KF there was no change whilst gaming, but during the measurement above I did observe 13% CPU package utilisation. In practice, though, I saw no performance difference playing at 8K versus 2K or even 1K. Battery life will drastically be impacted at 8K polling rates for obvious reasons, and whilst many prefer 4K, there is a growing trend to just stick to 2K which feels the safe middle ground of great battery performance, whilst still being suitably responsive on paper for even the most fast-paced of gaming sessions. Conclusion The Lemokey G2 has proven to be a rather excellent mouse, not just for gaming, but general use, too. Though being excellent doesn't give it any special status, as there are equally excellent mice out there that cost the same, less and even more. A buying decision will come down to individual needs, do you value the use of a browser-based software tool like Keychron Launcher? If so, then this is right up your street. Do you want something lightweight but also supports the gaming features and feel in the hand as more expensive mice? Maybe the G2 will satisfy. It's not totally perfect, nothing ever is, the thumb buttons could have been a bit wider, and the switch caps have more travel after clicking than what I am comfortable with, but otherwise this is a great mouse with features that rival the competition. The sensors on gaming mice these days isn't a key selling factor any more either, since even entry level gaming mice are capable of precision tracking and speed that was only possible on the top-tier models of the past, like many things in tech now, the point of diminishing returns has been reached, and brands have to work harder at giving us consumers a unique selling point to attract interest. I believe the G2 has at least one USP (Keychron Launcher), it also helps that it's a very comfortable mouse to use for all-day sessions.
  • Recent Achievements

    • Week One Done
      Alexander 001 earned a badge
      Week One Done
    • Week One Done
      icecreamconesleeves earned a badge
      Week One Done
    • One Year In
      PAC0 earned a badge
      One Year In
    • One Month Later
      PAC0 earned a badge
      One Month Later
    • One Year In
      Shahmir Shoaib earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      564
    2. 2
      +FloatingFatMan
      189
    3. 3
      ATLien_0
      185
    4. 4
      Skyfrog
      113
    5. 5
      Xenon
      109
  • Tell a friend

    Love Neowin? Tell a friend!