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.

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. 

3 minutes ago, 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. 

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

On 9/4/2018 at 7:48 PM, 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.

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-

4 minutes ago, Squirrelington said:

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

Fair points! I stand corrected!

  • Like 1
14 minutes ago, Squirrelington said:

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

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

13 minutes ago, 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-

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
1 minute ago, warwagon said:

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

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?

Just now, 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?

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.

13 minutes ago, 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

Just re-iterating what you said :rofl: 

 

What about hardware upgrades?

1 minute ago, dipsylalapo said:

Just re-iterating what you said :rofl: 

 

What about hardware upgrades?

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 9/6/2018 at 8:26 AM, Squirrelington said:

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

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 9/6/2018 at 5:27 AM, 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-

 

  • +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 15:40, xrobwx71 said:

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

 

The hiberfil.sys is notorious for corruption.

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

On 24/01/2022 at 15: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!

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 25/01/2022 at 05:40, xrobwx71 said:

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

 

The hiberfil.sys is notorious for corruption.

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 25/01/2022 at 18: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...

-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

    • You literally have to do it on a desktop, which is incredibly annoying in our mobile-first world. What???
    • What part of "you can’t really depend on service providers to maintain features forever" is not clear enough?
    • Nope. That lack of surround sound capability (analog) won't fly with me. Sure, I use headphones most of the time, but still.
    • Creative Sound Blaster AE-X PCIe review: your headphones will love it by Steven Parker If you have been reading Neowin for any length of time, you may remember that I reviewed the Sound Blaster Audigy FX Pro back in April. I found it to be an excellent budget sound card, even though it lacked support for formats such as DTS over the included SPDIF port. Anyway, Creative reached out to me again asking if I was interested in reviewing the Sound Blaster AE-X. It is a card mainly targeted at headphone wearers, which I'll get into a bit later. Before we get underway, here is a disclaimer: Creative Labs provided a free sample without any review pre-approval. Here are the full specs of it: Creative Sound Blaster AE-X Dimensions: 179 x 126 x 18 mm Weight: 263g / 9.28 oz Platform: PCI-e DAC: ESS ES9039Q2M Connectivity Options Side: Rear: 1 x HD Audio Front Panel Connector, 1 x ⅛“ Headphone port, 1 x RCA Line-out (Left) port, 1 x RCA Line-out (Right) port, 1 x Coaxial SPDIF-out port, 1 x ⅛“ Mic in/Line-in port, 1 x TOSLINK SPDIF-in port Surround: No DNR / SNR: THD+N: 0.0001% Dynamic Range 130 dB Recording Resolution: PCM up to 32-bit / 192kHz (Stereo) Direct Mode: Line Out (Stereo): PCM up to 32-bit  384 kHz Coaxial SPDIF Out: PCM up to 24-bit 192.0 kHz Headphone Amp: PCM up to 32-bit / 384kHz (Stereo) Native DSD: DSD64, DSD128, DSD256 Output Impedance: 1Ω, Supported Headphone Impedance: 8–600Ω, IEM: 0.5Vrms, Low: 1.5Vrms, Mid: 3Vrms, High: 6Vrms, Maximum output power: 350mW @ 32Ω (High), Maximum output voltage: 6Vrms (High) Front Panel Headphone Amp: PCM up to 32-bit / 192kHz (Stereo) Native DSD: DSD64, DSD128 Output Impedance: 10Ω, Supported Headphone Impedance: 32–300Ω, Maximum output power: 40mW @ 32Ω, Maximum output voltage: 1.9Vrms ASIO: ASIO 2.3 Total Harmonic Distortion: THD+N: 0.0006% Dynamic Range: 114 dB Scout Mode: Yes EMI shielding: No (but it passed all the FCC emission tests) Operating temperature: 0–45°C Input Power: 12V⎓0.5A Warranty: 1 Year (MSRP) Price: $179.99 / £169.99 The Sound Blaster AE-X was announced at the end of May, and it becomes clear that it is mainly for headphone wearers. I should also note that the card does not support DDL/DTS encoding technology, but it is said to support decoding through the coaxial SPDIF port. I was able to test this working with the classic Windows Sound properties, but I could not get a DTS (decode) signal through my Logitech Z906, it defaulted to 3D sound whenever I played DTS content through Plex or Emby. In addition, this card only supports two channels (stereo) over the speakers. The surround support is limited to the Headphone Amp, so before I get underway, what we have here is a card mostly intended for headphone use, especially with its SPDIF In (Toslink) port where you could connect another device like a console. So what about the highlights of this card? The AE-X is powered by the ESS SABRE DAC (ES9039Q2M), which is capable of a 130 dB dynamic range. In addition, it supports 32-bit/384 kHz playback for deeper detail and clarity. The headphone amplifier delivers up to 350 mW @ 32Ω, which admittedly far surpasses standard onboard audio, offering support for studio-grade headphones. DSD256 and ASIO 2.3 are also supported. What doesn't it have? No support for What-U-Hear, Super X-Fi, or the SmartComms Kit No EMI shielding, but it passed all the FCC emission tests (from the FAQ) I also want to make it clear that I am no audiophile. For me, it's purely subjective and it should just "work" out of the box. First impressions As I said in the introduction, I was a bit sad to see that the AE-X only supports stereo output, meaning it would not be on par with my ALC1220 over my speakers, as I mentioned it seems like this card is marketed toward headphone users. Since I am not an avid gamer that would rule me out as a potential customer, but I can still test its capabilities! The card arrived in a nice-looking box, as shown above. It's quite a bit larger than the Audify FX Pro that I reviewed back in April, and at first I thought the covering meant that it was EMI shielded, but it isn't as mentioned above in the highlights section. What's in the box: 1 x Sound Blaster AE-X PCIe card 1 x 3.5 mm CTIA TRRS to Dual TRS Headset Splitter Cable 1 x Quick Start Guide Aside from the Quick Start Guide, which someone at my age (I guess) needs a magnifying glass to read thanks to the tiny fonts, Creative Labs also has the manual online, which first requires you to prove that you're human in order to access it (so I can't direct link it). Anyway, the box is mostly made up of cardboard, and the only plastic in it is the anti-static bag for the card itself. Design Top Bottom The card itself looks pretty cool and actually wouldn't look out of place in an all-white build. There's only one connector, and for some reason it is awkwardly placed on the side (front-facing) that is for the front panel audio connector, which will let you use the headphones through the front PC audio jack. Since the front panel Headphone Amp has fewer capabilities than the rear headphone port, I decided not to use it. Rear of card PCI-e interface The rear of the card is completely open and is normally where you would find the front panel connector. The PCIe interface side is completely covered, which initially made me think it was EMI shielded. I/O panel Side (front-facing) with Front panel connector On the outer rear bracket side we have the TOSLINK SPDIF in, Coaxial SPDIF out, RCA line out (Right), RCA line out (Left), Headphone out, and Mic/Line in ports. On the front facing portion of the card itself is the F-panel connector. Usage Test System Our test system consists of the following: AMD Ryzen 9 9950X3D Gigabyte X870E AORUS MASTER (BIOS F12) Corsair RM1000x (2024) Thermal Grizzly Kyronaut (33x33x0,2mm) 2x 32GB Kingston Fury Beast RGB DDR5 6000MT/s CL36-38-38-80 T-Force Z540 2TB (PCIe Gen5) NVIDIA GeForce RTX 5090 Founders Edition (NVIDIA) Creative Sound Blaster AE-X Windows 11 25H2 Pro I installed the card into the Gigabyte X870E AORUS MASTER which includes the RealTek ALC1220 onboard audio. For our subjective listening tests, I used the Coaxial SPDIF port to my Logitech Z906 speakers. For headphone tests I used the OneOdio Studio Max 2 Wireless DJ Headphones that I reviewed last month. After installing the audio driver, I installed Creative Nexus, which is a relatively new app designed for the latest Sound Blaster cards. Then I discovered the AE-X needed both a driver update from 1.00.15.0001 to 1.01.09.000 and a firmware update from 1.00.06.0000 to 1.00.06.0002, then I was set to go. It should be noted that the card did not work without the driver (not Plug and Play). As you can see above, you can manage the firmware, driver, and inputs via Advanced Settings on the Device tab. By default Nexus enabled "Direct Mode". Upon clicking on Acoustic Engine, the Equalizer can be enabled and set to four different presets, which are: Gaming Music Movies Footsteps Enhancer There's also a dedicated Scout Mode for gamers. I mainly used Tidal and Spotify in the past week to listen to some of my Liked Songs (which now total over 700) in Shuffle mode; there were no pops or interference that I could hear. I also found a 5.1 Surround Music playlist on Tidal that sounded really great over Studio Max 2 headphones. When I reviewed the Audigy FX Pro, I went out and purchased a Logitech Z906 set second-hand for €100 specifically to use with the card, but in this instance all I could get on the AE-X was the 3D output of surround sound through Coaxial SPDIF and although it still sounded great, it isn't quite as good as DTS Interactive via my onboard Realtek ALC1220. Conclusion So what have I learned? The AE-X lacks multi-channel support for 5.1/7.1 setups and drops support for modern surround technologies like Dolby or DTS, functioning strictly as a stereo output device. So to really benefit, you will need Studio-grade headphones to "hear" the benefits of this card. With that being said, I can imagine it will appeal to gamers who are switching between console and PC. By utilizing the SPDIF in port, you could just plug your headphones into the AE-X (front or rear port) and then switch between PC and Console without having to move the headphones to a different port. As I said in the Sound Blaster Audigy review, the EQ in the Creative Nexus app offers safe presets, which allows a user to further tweak the lows, mids, and highs for a personal listening experience. Of course it all depends on the headphones you hook up to it. Speaking of headphones, I kind of wish I had higher-quality Studio-grade headphones to really test this card with; I'm not usually wearing headphones in my day to day duties. The only time I will wear them is if I want to listen to music very late at night and I don't want to disturb my neighbors, so my rating (verdict) is based on this fact. Someone with a PC/Console setup and wears headphone religiously to game, and consume media will benefit much more than I from the high-quality Headphone Amps that are included in the AE-X. Once again, I do feel like Creative could have gone the extra mile to support the S/PDIF port a bit more. Why include it if you're not supporting the main popular digital formats? It seems like the decision was more of a legacy-based one, offering uncompressed 2-channel PCM audio, for users with high-fidelity audio systems and external DACs. Maybe I will be lucky enough to review a card that truly includes all these features in the future. I am sure readers with far more knowledge on audio systems than me will correct me in the comments below. I'll just say I am happy to learn what I don't know! Where to buy The Sound Blaster AE-X is available to purchase now in preorder for $179.99 on the U.S. Creative website, or for £169.99 on the Creative UK website and will start shipping to customers from June 25.
    • $80 or 90%, anything else would be financial suicide one way or another.
  • Recent Achievements

    • Week One Done
      Supreme Spray LV earned a badge
      Week One Done
    • One Month Later
      Genuinetonerink- Dubai earned a badge
      One Month Later
    • Week One Done
      Genuinetonerink- Dubai earned a badge
      Week One Done
    • One Year In
      hhgygy earned a badge
      One Year In
    • Week One Done
      AMV earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      511
    2. 2
      +Edouard
      165
    3. 3
      PsYcHoKiLLa
      90
    4. 4
      Steven P.
      74
    5. 5
      Michael Scrip
      73
  • Tell a friend

    Love Neowin? Tell a friend!