|
You have to be running as an administrator to save the change.
|
|
|
|
|
Ironically, the shutdown option does not fully shut down the machine, it hibernates things for a faster start up, while the reboot option does quiesce the files for a fresh start up.
Check this link for more information if you do not think I'm right. Actually, don't believe me - check it for yourself.
How to disable Windows 10 fast startup (and why you'd want to) | Windows Central[^]
The search string to Google for is "Disable fast startup"
Just switching your machine off at the power probably doesn't make Windows any less reliable. The filesystem should pretty much cope - though odd applications will require their files to be saved or the program to be exited to avoid the loss of data.
|
|
|
|
|
I noticed similar with an encrypted USB drive - one of those with a keypad built into it to key a pin (6 digits).
One thing you might be able to do to change things is messing with the power states for them.
|
|
|
|
|
wow.
The credentials are not revoked when restarting a machine ?
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Depends: if you hibernate or sleep, then probably not unless you log off and log in again. And since most people have "auto logout" disabled to save effort ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
sudo init 0
>64
It’s weird being the same age as old people. Live every day like it is your last; one day, it will be.
|
|
|
|
|
Good to know. I'm the only one likely to access my machine, as I live and work out of the same place.
That said, I've been known to angrily turn my machine off the bad way when it misbehaves. I know I'm not really "punishing" it, more myself, but it still feels cathartic.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
|
Similar, but unrelated...
My first PC (1992) had the option to set a password in the BIOS... but it only worked on a cold boot. You could do a warm boot to bypass it when prompted for the password.
|
|
|
|
|
Wait, what?
Boot from nothing, get prompted, Ctrl-Alt-Del, no prompt?
It takes a special sort of genius to come up with that.
I've had BIOSes that had options to set a password, but I've never bothered with them. Good to know they're utterly pointless.
|
|
|
|
|
Pressed the restart button... no prompt.
|
|
|
|
|
PIEBALDconsult wrote: Pressed the restart button... no prompt.
What's "the restart button"?
If you mean the Restart option in Windows (or your OS of choice), then yeah, it makes sense. The OS has already booted, so you've proven you know the BIOS password by that time.
But if you mean the physical power button on your PC to restart - from the BIOS password prompt (because that's as far as you can make it) - then it might as well not be there, because it offers no protection at all...
|
|
|
|
|
dandy72 wrote: the physical power button
Yes.
|
|
|
|
|
A Reset button, I'd understand. Maybe.
But the power button (that requires to be held down for 4 seconds when the system's already running), which powers everything down, and then you have to press it again to power it back on...then yeah, that pretty much sounds like a cold boot to me.
If you're not getting prompted for the BIOS password after that sequence...then I agree, it's useless.
|
|
|
|
|
dandy72 wrote: yeah, that pretty much sounds like a cold boot to me. It is not completely powered down. I have had to turn off the main switch power supply (on a full sized desktop PC) to make the PC clear all its caches, soft switches and selectors. For a period, our tasks at work repeatedly brought the PC into a state requiring a PS OFF reset; it always worked, and there was no other way of getting out of it.
For a laptop with no classical PS, you might have to unplug the power cable - but power will usually be supplied by the battery. So you may have to unplug the power cord and remove the battery, at the same time. Maybe you even may have to leave them out for a while: Some electronics have a large capacitor that will supply essential circuits with power while you replace the battery pack with another one. If the battery can't be removed, you'll have to leave the PC running until the battery is completely drained.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
True, some modern power supplies can play all sorts of tricks so "powering down" no longer necessarily means what it used to.
Nothing beats yanking out the power cord however (and taking out the battery if it's a laptop). And then waiting a bit since, as you say, some systems have large capacitors.
trønderen wrote: If the battery can't be removed
...I won't be buying it.
|
|
|
|
|
Cp-Coder wrote: if I turn off the PC by hitting the power button instead
If a desktop then it means power outage would do the same.
Cp-Coder wrote: My main PC may get stolen with the external drives during a burglary, for example.
I am not rigorous in this but I do see a lot of PC cases with lock ports. Attach a cable lock to it and a heavy desk. Then less risk unless it is a targeted theft.
|
|
|
|
|
jschell wrote: I am not rigorous in this but I do see a lot of PC cases with lock ports. Attach a cable lock to it and a heavy desk. Then less risk unless it is a targeted theft.
Lift the closest corner, pull the cable from under the leg. I don't consider myself to be particularly strong, but I don't think I've ever seen a desk I couldn't lift a corner at least the thickness of those metal security cables off the ground.
Or they'll just take your own wire cutters from the garage and cut the cable.
|
|
|
|
|
dandy72 wrote: Lift the closest corner, pull the cable from under the leg.
My desk has support braces. One cannot 'lift' it to get the cable off.
|
|
|
|
|
Where there's a will, there's a way.
Wire cutters are easy to get ahold of.
|
|
|
|
|
Certainly. But so is a targeted robbery.
|
|
|
|
|
Beware the Fast Startup as it stores the status of the OS drivers (incl. decryption keys) (but not the userland).
It hit VeraCrypt, too.
It may hit the task scheduler, too.
|
|
|
|
|
|
I love solving problems using template metaprogramming. It's probably a bad thing, because I tend to gravitate toward it unless I stop myself.
In this case, I have a good reason for it. I need to do color model conversions at compile time.
A pixel has channels, like Red Green and Blue, or Hue Saturation Value, or Y U V, etc
It may also have a metachannel of sorts called an alpha channel.
It might even have no-op channels that do nothing but take up space (for in memory padding)
The presence of no-op channels and alpha channel makes things sort of complicated when determining the color model.
I have
rgb_pixel<16>::has_channel_names<channel_name::R, channel_name::G, channel_name::B>::value
For example (which resolves to true in the above case) for determining the color model - RGB as above in this case.
In order to be more robust, I need to have a different version of that template like, has_color_model or something.
But also, it's a tricky problem to solve with templates. That's what I like.
Sane people play sudoku.
Solved it. Not so bad, because I have other helpers.
template <typename PixelType,typename... ChannelNames> class is_color_model_inner_impl;
template<typename PixelType,typename ChannelName,typename... ChannelNames>
class is_color_model_inner_impl<PixelType,ChannelName,ChannelNames...> {
using chidx = typename PixelType::template channel_index_by_name<ChannelName>;
public:
constexpr static const bool value = (-1!= chidx::value) &&
PixelType::template channel_by_index_unchecked<chidx::value>::color_channel &&
is_color_model_inner_impl<PixelType,ChannelNames...>::value;
};
template<typename PixelType>
class is_color_model_inner_impl<PixelType> {
public:
constexpr static const bool value = true;
};
template <typename PixelType,typename... ChannelNames> class is_color_model_impl {
public:
constexpr static const bool value = sizeof...(ChannelNames)==PixelType::color_channels && is_color_model_inner_impl<PixelType,ChannelNames...>::value;
};
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
modified 21-Jun-24 13:26pm.
|
|
|
|
|
honey the codewitch wrote: rgb_pixel<16>::has_channel_names<channel_name::R, channel_name::G, channel_name::B>::value Maybe has_channel_channels ? (But kinda serious.)
|
|
|
|