Why is there a screen that says "It is now safe to turn off your computer"? (2016)

93 points
1/21/1970
a month ago
by susam

Comments


andix

For all the younger people I think it's important to know, that before Windows 95 the concept of "shutting down" a computer was mostly unknown.

DOS never had an option to shut down, you just saved your work and turned off the computer. Also with Windows 3.x it was normal to just switch the PC off, without any prior shut down process.

Back in the days most software was synchronous, there were no background processes, no write cache (and read cache was optional). Once the "saving document" message was gone, it was written to disk. With floppys and early hard drives it was easy to hear anyway, when the noise stopped it was written to disk.

a month ago

smallmancontrov

> it was easy to hear anyway

It has been very frustrating to watch designers ramping up reliance on the side channels by piling functionality into a single button at the same time as the side channels were disappearing and software latency was telescoping so that in present year I frequently have to reverse engineer morse code power button bullshit with 20 seconds of lag in the tight loop before the first audible/visible cue comes through. Is a short press 0.5s-1.5s? Or is that a long press? Is 0-0.5s ignored as debounce or is it a short press? Does a long press suffice for shutdown, or do you need a really long press to trigger hardware shutdown because the software shutdown is unreliable? Is 5 seconds long or really long? AAaaaaaaaaaa

a month ago

pzh

Even in the DOS days, you still had to park the drive heads before shutting down. DOS even had a PARK command for that.

a month ago

marcosdumay

Yes, the GP is a more recent advancement. Before that, you had to set the hardware for turning off.

There was a brief moment when the hardware was advanced enough to reach a safe configuration by itself, and the software was not advanced enough to need to synchronize state with everything.

But maybe there's a lesson there, and the software should be able to shut itself down in a couple of seconds in the background, just like the hardware did.

a month ago

userbinator

Only on early hard drives that used stepper motor actuators.

a month ago

anonzzzies

...but most people got their systems from their job in those days and so wouldn't get told this little tidbit for obvious reasons; You Must Park Before Swithing Off. I did get unlucky somewhere begin 80s when my father brought home a luggable, I didn't park, he lugged it back and the hd was damaged.

a month ago

andix

True, that was a good idea with some early hard drives, but only required if the PC was moved. In that period hard drives were a luxury, many pcs just had two floppy drives. One for the operating system and applications, the second one for data.

a month ago

WhyNotHugo

> DOS never had an option to shut down, you just saved your work and turned off the computer.

I miss this simplicity. With journaled filesystems, it should be pretty safe to do this.

Few things bother me as much as a computer that takes more than 1500ms to shut down.

a month ago

andix

Many modern embedded operating systems support this (including some Linux distributions and Windows IoT). It’s possible, just not very practical, most wouldn’t consider the necessary trade offs worth it.

a month ago

userbinator

If you boot Windows from a RAMdrive you can do this.

a month ago

sebazzz

Paraphrasing: If you boot <OS> in a way that it will never save data, you can do this.

a month ago

bdavbdav

AIUI there can still be write caches on SSDs etc

a month ago

1970-01-01

I'm not even aware of anything stating it was safe to kill power inside Win 3.xx

Exiting Program Manager before flipping a power switch was always normal operating procedure.

If you killed power in Windows with no regrets you've lived a dangerous life!

a month ago

hulitu

> If you killed power in Windows with no regrets you've lived a dangerous life

Yes. You better were sure that your harddrive light was not blinking, before pressing the power switch.

a month ago

bitwize

Indeed. DOS had primitive disk caching, but it flushed all caches before returning to the command prompt, for continuity with the time when it had no caching at all. So if you saw C:\>, you could safely turn the computer off. You wanted to exit Windows before cutting the power.

Another wrinkle to this is that many computers' power switches were physical switches on the power supply that directly closed or opened the circuit supplying power to the computer. There was no way for the computer to switch itself off like in today's ACPI-mediated world, so the user had to be told when to turn the computer off.

Just goes to show how backward and primitive the PC was until well into the 90s. Macs had been shutting themselves off, and ejecting their floppy drives, since 1984.

a month ago

paulryanrogers

Shutting down Windows 3 (mid-range) corrupted a project I had been working for months on. One still had to take care.

a month ago

andix

Sure, if you turned it off too early the files were corrupted. The safe thing was to exit Windows 3.x to the DOS prompt and only turn off the computer then. But it wasn't really required.

a month ago

1970-01-01

Everyone I knew would fallback to DOS before throwing the big red power switch else risk suffering a day of work or worse being corrupt tomorrow morning.

a month ago

andix

Edit: the windows 3.1 manual "recommends" exiting windows before turning off the PC. It doesn't say it's "required". And with 386 mode, windows actually did do disk IO, including caching.

Probably a lot of people did exit windows 3.x before powering off the computer.

I actually don't think it was required. Windows 3.x was just a shell on top of DOS and didn't do any IO caching. Saving files or closing all applications should've been safe enough.

a month ago

hulitu

> that before Windows 95 the concept of "shutting down" a computer was mostly unknown.

I think you mean a "personal computer". Apollo DomainOS, at least, had a shutdown command and i presume that also VMS had one.

a month ago

m348e912

The issue I have is the wording.

The problem really comes down to the fact that windows couldn't actually power off the computer like it can today.

I think the message should have said: "Windows shutdown complete. Please power off the computer."

This more clearly implies that not only is it safe to turn off your computer, it's recommended you do so.

a month ago

advisedwang

This message helps reinforce that shutting down the computer before seeing that message was NOT safe.

a month ago

fluoridation

But if you didn't know that you wouldn't have seen that message, because you'd be powering it off every time.

a month ago

marcosdumay

Oh, Windows would tell you quite clearly that you did something wrong the next time you turned the computer on.

a month ago

jolmg

s/shutting down/powering off/

a month ago

bombcar

Remember that it's an all-black screen that came on after a blue cloud screen with "Please wait while your computer shuts down".

a month ago

davidt84

The user needed no encouragement to switch it off.

They'd spent the last 10 minutes swearing at windows for taking forever to shutdown and were about 10 seconds from saying screw it, and turning it off anyway.

a month ago

Ferret7446

This is the actual answer. If you want a computer to power itself off, you either need to design a contraption that mechanically opens a power switch, or you need a transistor that is carrying the full load of the computer at all times. It's much easier to have a switch for the human to press.

25 days ago

dist-epoch

> Please power off the computer.

Sounds a bit like ordering the user, I guess that's why they went with the other message.

a month ago

accrual

These shutdown splashes are one reason why I enjoy working with AT motherboards, those with the old P8 + P9 power connector ("red to red and it's dead").

There's some charm and nostalgia in the computer only having two states - on and off. No standby power, no S1-S4 states, no wake-on-LAN, no management engine, etc. Press the power button - hopefully a chunky rocker switch - and the system is off (minus the RTC battery).

I have an XP machine running on such a motherboard and it too supports the "safe to shutdown" splash. Hibernate also works, so if I really want to, I can put it to "sleep" with no power at all.

a month ago

wolrah

> Press the power button - hopefully a chunky rocker switch - and the system is off (minus the RTC battery).

My favorite part of this era were those under-monitor power switch gadgets, so you could just leave the AT power switch on as well as the printer, monitor, modem, etc. and have one master power switch that turned everything on or off.

I still have an early '90s IBM PS/1 that was my family's first computer. The only accessories that survived from then are the CH Flightstick and Gravis Gamepad, the original keyboard, mouse, and monitor are long gone (I really regret not having the wonderful original clacky IBM keyboard), but it still works and still boots off its original 129MB hard drive.

If I find one of those power switch things at Goodwill or whatever I'll pick it up without a second thought.

a month ago

olyjohn

Seems like it was inevitable that the lights in each switch would end up flickering and driving me insane or completely burning out.

a month ago

wolrah

In hindsight, that almost certainly answers something kid me always wondered about. My grandparents' computer desk had the ceiling-mounted track lights on their switch box's "Aux 2" switch with nothing on "Aux 1". If I recall correctly Aux 1 did in fact flicker, so that very likely is the reason the lights were on aux 2.

22 days ago

1970-01-01

I wonder if one forcefully disables all ACPI support and drivers, are they allowed to go back to the binary ON/OFF lifestyle on a modern x86 system? What does Windows do?

a month ago

userbinator

Yes. The message is changed slightly, but this is what happens: https://www.youtube.com/watch?v=ZUt1MXelR9w

a month ago

accrual

Wow, that's cool to see on Windows 11. Thanks for finding & sharing this.

a month ago

accrual

I think so - but it would be fun to confirm. Windows up to and including XP still have the AT shutdown splash baked in. I think the splash was dropped with Vista. I did successfully boot Vista on a real AT-style motherboard but I don't recall how the shutdown looked.

One can install Windows 98 without ACPI by running setup with the "/pi" switch, alternative one can uninstall the "ACPI PC" device and replace it with "Standard PC" which should disable ACPI. This should cause it to show the shutdown splash even on ATX systems.

a month ago

dist-epoch

> hopefully a chunky rocker switch

Because wall-power was routed through that switch, quite dangerously, the cable could get pinched in the case.

a month ago

userbinator

a month ago

anoldperson

a month ago

SpaghettiCthulu

That url just gives me "Bad request."

a month ago

accrual

It loaded for me, but here's a description for future readers.

The first image is the of the original IBM PC's power supply (or a clone) wherein there's a nice, clunky red switch directly on the power supply.

The second image is of a later AT style power supply where the switch was moved to the front of the chassis/facade. To facilitate this, it runs a pair of wires carrying mains power to the front of the case, which the switch (usually clunky, due to the current) physically toggles mains power into the motherboard.

a month ago

userbinator

IBM's own AT used the same style with the switch on the PSU itself (that image I posted is for one), and I have an unbranded AT clone (486 era) with the same style. That "AT with separate mains switch" style was probably an interim design that was used for tower cases before ATX showed up.

a month ago

dist-epoch

> That "AT with separate mains switch" style was probably an interim design

Almost all personal computers around 1996 were like this.

a month ago

mystified5016

They weren't always. I had a Pentium 1 machine with a push toggle switch wired to the front. It had big beefy wires in a plastic sheath, it was definitely mains.

a month ago

jwineinger

May I ask why you still have an XP machine running?

a month ago

capitainenemo

No idea why they are doing it, but I can say that on upgrading an old Windows machine, I discovered their financial software was completely non-functional and no windows emulation mode on the executable would work. I ended up running it in virtualbox in "seamless" mode in ubuntu+wine set to autolaunch the software... plus a windows share. For some reason that worked with no issues. The alternative would have been purchasing a half dozen upgrades and going through them one by one, with repeated database upgrades, for software that was working fine.

Probably not too much risk if the XP machine is isolated. There could also be licensing issues with upgrading, as well as unmaintained proprietary software.

a month ago

accrual

Sure! I mostly use it for testing and finding the latest versions of software that still run without requiring SSE2 instructions (Athlon64, Pentium 4, etc.).

It's kind of like a functioning software museum - it has lots of old software and editors I used in the XP days, some games from around 2001, and some programming tools like Visual Studio/Basic, Perl, Python, Mingw/GitBash, Sublime Text, Ruby, etc. The only lang I haven't been able to run so far is NodeJS since it required SSE2 instructions very early on.

It has a 1300MHz Pentium 3 and 384MB of RAM, but with a PCI SATA controller and a modern SSD, it's pretty speedy and capable!

a month ago

hulitu

> It has a 1300MHz Pentium 3 and 384MB of RAM, but with a PCI SATA controller and a modern SSD, it's pretty speedy and capable!

And a usable User Interface, unlike Windows 10 or 11. /s

a month ago

Legend2440

I once worked at a job that had a couple dusty old Windows 98 machines, because it was the last version of Windows supported by the control software for their expensive machine.

a month ago

HeyLaughingBoy

There are a lot more of those out there than people realize.

a month ago

torginus

That Restart button debacle really spoke to me.

There's really this weird bug in human nature, when if people are presented with an action, they cannot help themselves but want to take it, even when they know doing so could be actively detrimental or at best neutral (Click that button, sign this paper).

I myself have noticed doing this (and others manipulating me into doing this!), and I'm trying my best not to act on this impulse.

a month ago

andix

Some people think UX designers are useless. But they know that kind of stuff and how to make it right.

(Let's not get into the discussion that a lot of graphics designers call themselves UX experts, without actually knowing UX stuff).

a month ago

NoPicklez

Very random anecdote, I've noticed when Facebook asks you to validate your login it presents you with two buttons one is "This is me" or "This is not me". The interface has "This is not me" coloured and the "This is me" not coloured and just the same shade as the webpage.

My brain automatically starts to move my cursor to the "This is not me" box because it is the standout button. Which is a really good behavioral security experience because my mind was pushed towards the safer option.

a month ago

hulitu

> Some people think UX designers are useless.

The only "eXperience"s in X are pain, frustration and masochism, regardless if it's on Windows, Android or iOS.

a month ago

1970-01-01

>This message was displayed when shutdown was complete and the computer did not support software-initiated power-off. It told the user, “Okay, shutdown is complete. It’s okay. You can hit the power button now. I won’t get mad; I promise.”

That's a somewhat unsatisfactory answer, or more of a software-minded answer. The full answer: Because ATX power was a NEW thing. AT motherboards and power supplies were overwhelmingly still in-use.

https://en.wikipedia.org/wiki/PS-ON_Signal

a month ago

Joker_vD

> And back in the day, most computers fell into the second category. Power management was one of those newfangled thingies that only the fancy-pants computers supported.

a month ago

1970-01-01

PS-ON and ACPI states are different things. You could fully shutdown an ATX system without ACPI 1.0

https://electronics.stackexchange.com/questions/204205/what-...

a month ago

gnabgib

(2016) Discussion at the time (99 points, 44 comments) https://news.ycombinator.com/item?id=11527671

a month ago

userbinator

I believe the concept of "soft off" for PCs was only introduced with the ATX standard in 1995, and the accompanying APM/ACPI specifications that were needed to implement it in software:

https://wiki.osdev.org/Shutdown

a month ago

rzzzt

It depends on how soft is soft and if you consider laptops to be PCs. :) At that time some models already came with a "slide once to power on, slide in the same direction again to power off"-style switch and not of the mechanic toggling kind. The APM specification also predates ATX by a few years (1992).

a month ago

wink

That screen was localized, so German windows had it translated.

I think it was at HAL 2001 where I bought a black hoodie with the German version of the orange text "You can now safely throw away your computer" from the CCC merch stand or maybe a different one.

I think it took about 10 years until I got the first comment about this weird text by a young coworker who had never experienced it (and also said something), but it got some chuckles and comments over the years, mostly by people who were definitely old enough to have seen this in person a lot in the late 90s.

a month ago

Brajeshwar

I have a story about that screen. I knew about the file’s location (a .bmp), and I usually tinker with it to show me my own. There was once an expo at a high-end hotel where IBM was introducing their PCs to our local town.

I went with a bunch of friends. I fired up Paint on a few PCs and changed the BMP file to say that the computer was “Hacked” and to be prepared (something in that line). In the following demo, they got to that screen, and there was chaos — locked down the room, the frantic shutdown of the expo for hours.

My friends had fun, and they knew then that I knew computers. :-)

a month ago

userbinator

A favourite among some people in that era was to change the "now" to "not" and see how long it takes for someone to notice.

a month ago

xg15

Semi-OT, but is there still any situation in modern computers where turning it off would be "unsafe"? I.e. if you yanked the power cord at some specific time, the system would take irreversible damage?

Was this actually a real danger at all at some point?

It's obvious that cutting the power without shutdown will lead to data loss of everything not written to persistent storage. But for old PCs, the warning was always that it could also physically damage the PC, e.g. damage the hard drives or something like that. Is this still the case?

a month ago

advisedwang

It was less about physical damage, and more about leaving the system in a state that couldn't boot up. In particular, incomplete writes leading to corruption of the windows registry was a frequent problem.

a month ago

Syonyk

Yes, in some cases. The common case for this would be writing the flash chip ("Updating the BIOS"). Some boards are more cautious about this than others, and a lot of "enthusiast" (overclocker) boards have dual BIOS chips, so you can always swap to a working one and then reflash the corrupted one. But very few modern systems will tolerate a power cut in the middle of a firmware update very well, and even if it does, it's often in a "Well, now, create this particular USB stick with exactly this filename on a FAT16 partition, boot it with it plugged into this particular USB port, and it might recover things" sort of method.

You'll notice most laptops refuse to update their firmware without the battery reasonably fully charged, and the power adapter plugged in. This is why.

And then we get into the definition of "irreversible." Yes, you can recover from this with an external SPI flasher, if you can get the firmware image into the proper state for the SPI flash, or have an image from before. But most people don't have this option.

As for hard drives, I'm of the impression that most newer drives will handle a power cut by using the inertia left in the platters and the motor-as-generator long enough to drive the heads back to a safe position, but I've not done any sort of in depth experimentation on it. A drive with a parking ramp for the heads (or a parking track) has those things for a reason, and "scraping the coating as the drive spins up somewhere in the data section" isn't good for drive longevity.

a month ago

jmholla

> But very few modern systems will tolerate a power cut in the middle of a firmware update very well, and even if it does, it's often in a "Well, now, create this particular USB stick with exactly this filename on a FAT16 partition, boot it with it plugged into this particular USB port, and it might recover things" sort of method.

I recently did this with one of my Thinkpads, doing it during a battery firmware update among others. I wasn't successful in finding such a solution though. Where have you had success in finding some of the more obscure repair techniques?

a month ago

Syonyk

It'll usually be listed in the BIOS upgrade guide. I've only ever seen the "weird recovery methods" on more performance-oriented mainboards - your RGB-heavy "gamer" boards tend to have some sort of recovery method. I don't know of any major OEMs who have such a thing. For a Thinkpad, though, I would wager good money that someone has directions out there for how to do it with a SPI flash clip - BIOS modding Thinkpads is pretty common, and most of the more intensive mods can't be done without an external writer.

a month ago

aspenmayer

Thinkpads have a utility to make a BIOS recovery USB drive, which usually involves getting the BIOS update .exe file, possibly renaming it, then holding a certain key or key combination while turning the laptop on. You may need to use a special tool to format your USB drive to prepare it if it’s an older IBM Thinkpad. Sevenforums/Tenforums are decent message boards to learn about this kind of thing, as they usually have decent vetted tutorials with screenshots.

a month ago

BugsJustFindMe

> But for old PCs, the warning was always that it could also physically damage the PC

I don't remember this being true. I remember it always being about data loss.

a month ago

dist-epoch

Older hard-drives didn't automatically park the head on power loss, leaving it in a dangerous position above the platters. Any shock would smack it into the platters.

a month ago

smitelli

That was only for drives with servo-actuated head arms. Think like what the old black-and-white Macs came with. You could tell one of those drives because it sounded like somebody revving a cordless screwdriver when it was being accessed.

The quiet clicking-type drives use a magnetic voice coil-type actuator, and the loss of power causes them to want to spring back to the park position.

a month ago

SoftTalker

My first hard drive came with a utility program to park the heads. Was recommended to run it before powering off

a month ago

_carbyau_

We had an Apricot that I had to type "park" on before turning off.

a month ago

BugsJustFindMe

Huh, now that you mention it, I do think I remember something like that now. Thanks for joggin the noggin.

a month ago

Ekaros

I think it could be harm to components when you are writing in their non-volatile memory. Namely at least motherboard and GPU. Both often have flashable memory for BIOS/UEFI and VBIOS(for GPU). Interrupting power at wrong time when these are being written could result in non-functional components. Some models do offer dual-bios which lowers the risk.

a month ago

int_19h

In the 90s (i.e. when Windows first got this splash screen), there was no concern with physical damage - after all, in DOS, just turning it off while at the C:\> prompt was the normal procedure.

But the filesystems normally used on PCs at the time didn't have journalling or other mechanisms to prevent metadata damage if the power was turned off in the middle of a metadata update, which made data loss that much more likely even for blocks that were already written.

a month ago

jowea

I think you can have problems today if you have a power failure mid motherboard firmware/BIOS/UEFI upgrade. Some mobos I heard have some protection or some way to unbrick it but it could be dangerous.

And it was a real danger before for the running sofware system, I think modern filesystems are more resilient against this sort of problem.

Never heard of actual physical damage though, but I didn't live that era much, can just barely remember the screen in TFA.

a month ago

hulitu

> I.e. if you yanked the power cord at some specific time, the system would take irreversible damage?

If you do it one time, no. But, I wouldn't try it too many times.

(do you know Windows 10 has "online checkdisk" - and doesn't work. Ask me how i found out)

a month ago

rzzzt

SSDs without a capacitor bank that keeps the lights on for a bit more time after poweroff can leave their internal data structures (flash translation layer) in an inconsistent state. The effect ranges from nothing to data loss to bricking.

a month ago

[deleted]
a month ago

erjiang

I don't think the dialog as described in the article is accurate and I can't find a screenshot of Windows NT that says "Windows has been shut down." The only screenshots I can find say, "It is now safe to turn off your computer." The confusion around the Restart button is understandable, but the framing of the story seems to imply that the old dialog led to the later phrase, "It is now safe to turn off your computer."

a month ago

jdthedisciple

Raymond Chen bringing us gems as ever so often- Legend! Really enjoyed this one, made me remember those good old days.

a month ago

amelius

Why is there a message saying "it's now safe to remove your USB drive"?

a month ago

throaway920181

Because write through caches make lies out of the best operating systems.

a month ago

ryandrake

Yes, I know about disk caches and data corruption and blah blah blah. But to me, it's yet another condescending reminder of who's actually in charge of the computer (hint: It's not the user, like it was in the days of yore). You don't just turn off your computer anymore. No, that would put the user too much in control. Now you request to the operating system: "Pretty please, with sugar on top, if you're not too terribly busy doing whatever it is you're doing, would you mind powering off?"

The computer has its own agenda and agency, and increasingly the user's wishes are unimportant. We've been conditioned to ask the computer to do things rather than command it.

a month ago

gapan

I don't think it has anything to do with the "good old times". It is a problem that's introduced as soon as a storage medium is used. Sure, you could shutdown your C64 anytime, but even then, if you did it while it was writing to the tape/floppy, then your data was lost. And I definitely remember having to park the hard drive on an XT before shutting it down.

a month ago

dlcarrier

In the 80's, when you were in charge of your computer, if you had a hard drive and didn't park it before shutting off power, not only could you lose anything cached but not written, but you could damage the drive itself, lose all of the contents.

a month ago

zamadatix

This is like arguing nobody is actually in charge of their bike because slamming the front brake at high speed has consequences other than stopping. It's not that we've somehow stopped being in charge of the device rather "it's going 20 mph" means there are other desires to balance beyond than "I'd like to stop immediately".

a month ago

kragen

It's a good reminder that the days of yore were mostly actually pretty terrible for user control, because we're talking about a problem that currently popular computers like this cellphone and any Linux box with ext4fs no longer have. And of course before the move to Microsoft Windows around 01991 an awful lot of people were using minicomputers and mainframes they not only weren't allowed to turn off, but often weren't even allowed to see at all. A lot like AWS.

a month ago

[deleted]
a month ago

dullcrisp

This is why I alias kill to kill -9 on all my systems.

a month ago

rkagerer

In theory, because of unflushed cache.

a month ago

KoolKat23

And nowadays Windows simply just doesn't shut down. Honestly 80% of the time on both my wife and my work computers, the shutdown process encounters some error and just stays on.

a month ago

user9999999999

because windows was a brittle POS software that required delicate usage from people who didnt know a megabyte from a kilobyte

a month ago

[deleted]
a month ago