This Week’s Newsletter
More Spectre and Meltdown fallout: protecting your machine from a bricking — by the patches.
You may damage your computer.
By pulling the plug or forcing a power-off by holding down the power button, you risk corrupting data on your hard drive and damaging hardware.
I’m not sure what kinds of problems you’re having with the power button, but even that needs to be used correctly, or you could end up with the very problems you’re seeing.
Become a Patron of Ask Leo! and go ad-free!
Use Start to stop
One of the earliest jokes about Windows was the fact that you use the Start menu to stop the computer.
The problem is, it’s no joke.
Turning off or shutting down a computer is not at all like turning off a light bulb, or even a moderately complex piece of electronics.
Turning off a computer is a process. You start the shutdown process using the Start button.
Even though we still refer to it as the “Start” button, Microsoft changed it to have a more generic look after XP. Even so, in Windows 10, if you expand the left-most column of icons in the Start menu (by clicking on the hamburger icon at the top), the familiar word reappears.
The process of shutting down
What happens between clicking on Shut Down and the power going off?
The short answer is: a lot of geeky magic. In fact, a lot of important geeky magic.
Programs are closed, files are saved, information that was kept in memory is written to disk, hardware is turned off in the proper sequence, and more. A lot of important bookkeeping and clean-up work happens as part of the process of shutting down …
… important bookkeeping and cleanup work you want to happen.
Sometimes the power button is OK
Here’s where it gets confusing: sometimes, it’s OK to use the Power button.
On most systems, pressing the Power button briefly is more or less equivalent to using the Start menu to shut down your computer.
What’s important is that you hold it down no longer than one second. If you’re holding it down longer, you’re doing something else, which I’ll talk about next.
But if you press the Power button briefly and see the system begin its process of shutting down, then you’re probably OK to continue to do that.
One caveat: the Power button may shut down your computer properly, or it may put it into hibernate or sleep. Check the Power button settings in the Control Panel to adjust that setting.
Finally, if it shuts down immediately — in the blink of an eye — don’t do that again. That’s the same as pulling the plug, which is bad.
When it’s NOT OK (but you may have to anyway)
If you hold the Power button down for five or 10 seconds until the computer turns off, this is not OK.
That’s like just pulling the power plug.
It completely bypasses the process of shutting down and can result in serious problems. If you shut down your computer this way regularly, stop it because you are almost begging your computer to corrupt the data stored on its hard drive.
The long-hold power-off functionality present in most computers is actually something implemented in hardware, and is meant only as a last resort. In the hardware, it’s almost identical to pulling the plug or removing the battery.
If you find this is the only way you can turn off your computer, something is wrong. The Start menu approach should always work. If it does not — if, for example, your computer never shuts down — that’s a problem that should be resolved, rather than risk data loss every time you force your computer to turn off.
Why unplugging a running computer is bad
When you unplug your desktop computer, remove the battery and power cord from your laptop, or long-hold the Power button to force a computer to stop, you’re taking action outside of the operating system’s control. I was tempted to say “outside of Windows’ control”, but this applies no matter what operating system you’re running.
Even when you’re doing nothing with your computer, it’s always doing something. In fact, it’s often doing quite a lot.
Files are open, programs are running, the disk may be being accessed, and more might be happening. It’s almost impossible to predict exactly what is running, and therein lies the problem.
Let’s say a program is updating something on disk. It doesn’t have to be something you’re doing; it could be some other program, like your anti-malware tools, system indexing tools, or something else running on your machine. If you suddenly remove the power in the middle of that operation, any of the following may happen:
- Nothing. You got lucky and the writing actually completed, because it’s so darned quick. This is probably the most common case, but it leads to a false sense of safety.
- The file that was being written is incomplete. Depending on the program writing the file, this can be completely benign, or show up as a major problem the next time that program tries to access that file.
- The file system directory entry that locates that file on disk could be incorrectly or partially updated, if that’s what the computer was writing when you pulled the plug. This can be benign, but in the extreme case, it can actually render the file system corrupt and you can lose not only the file that was being written, but large numbers of other files on the disk. This is bad: very bad.
- The disk drive could be interrupted in the middle of writing a sector of information to the hard disk media. That could result in CRC errors for that sector and nearby information in other files. This may require a CHKDSK /R to repair, or, in the worst case, more advanced disk recovery and maintenance. Fortunately, with modern drives, this is rare.
Hopefully, by now you get the idea: just pulling the plug or forcing a shutdown is a bad idea, and should be used only as a last resort, immediately prior to resolving the underlying problem that required it.
Related Links & Comments: Can I Just Unplug My Computer to Shut It Down?
You just bought your second computer. Perhaps you purchased a new laptop, a tablet, a new machine for your spouse, or another machine for yourself. Maybe you want to connect your smartphone via Wi-Fi when you’re at home to reduce the usage of your mobile data plan. Perhaps you got a smart TV, light switch, video-streaming box, or Echo or Echo-like device.
Whatever the device, you want to connect it to the internet. It would also be nice to share things, like printers or extra disk space, among compatible devices.
Already have a network, but not sure how to grow it? I’ll look at that, too.
First, let’s look at the two types of networks: wired and wireless.
Continue Reading: How Should I Set Up My Home Network?
It’s a term you hear frequently of late, usually in the context of newly-discovered vulnerabilities in operating system software: “privilege escalation”. Recently we’ve even heard it in the context of a newly-discovered hardware issue.
On the surface, the term seems fairly simple, but as we know by now, when it comes to computers, it’s rare that anything is truly simple.
In this article, I’m going to look at one type of privilege: the privilege model used by your operating system to allow software to do useful things while simultaneously restricting what it can do, so as to keep you safe.
Continue Reading: What Is “Privilege Escalation” on a CPU?
Continue Reading: Managing Brick Risk
A feature exclusively available to Ask Leo! Patrons Bronze level & above.
- Tip of the Day: Use a Password Vault, Already
- Tip of the Day: Use Dropbox to Transfer Files
- Tip of the Day: Move, Copy, or Create Shortcut
- Tip of the Day: Resize Text Boxes — Maybe
- Tip of the Day: Master File Explorer Columns
- Tip of the Day: Use Device Manager to Update Drivers
- Tip of the Day: Watch Your CPU Usage for Malware
More Ask Leo!
Leo’s Other Projects….HeroicStories Since 1999, HeroicStories brings diverse, international voices to the world ‘ reminding us that people are good, that individuals and individual action matter. Stories – new and old – are published twice a week.
Not All News Is Bad – Each day I look for one story in the current news of the day with a positive bent. Just one. And I share it.
leo.notenboom.org – My personal blog. Part writing exercise, part ranting platform, it’s where I write about anything and everything and nothing at all.
Help Ask Leo! Just forward this message, in its entirety
(but without your unsubscribe link below) to your friends. Or, just point them
for their own FREE subscription!
Newsletter contents Copyright © 2018,
Leo A. Notenboom & Puget Sound Software, LLC.
Ask Leo! is a registered trademark ® of Puget Sound Software,