Archive for March 4th, 2019
Vloerkleden l Tapijten l IKEA
Posted by jpluimers on 2019/03/04
Posted in IKEA hacks, LifeHacker, Power User | Leave a Comment »
A way to skip the Firefox “Well, this is embarrassing” during a sudden reboot
Posted by jpluimers on 2019/03/04
A while ago, I asked about [WayBack] “Is there a way to skip the Firefox “Well, this is embarrassing” during a sudden reboot and just continue with the loading of the default pages? – Jeroen Wiert Pluimers – Google+
Later I found the workaround at both and [WayBack] Well this is embarrassing message | Firefox Support Forum | Mozilla Support with more elaboration at [WayBack] Don’t give Chance for Firefox to Show ‘Well, this is embarrassing” message next time again | Techdows:
- Open Firefox
- Type
about:config
in the addressbar - Confirm the
This might void your warranty!
by clicking
I accept the risk!
- Search for
browser.sessionstore.resume_from_crash
- Double click it so the value changes from the
default
valuetrue
to theuser set
valuefalse
Now after a sudden reboot of the machine, a start of Firefox just loads the default page.
–jeroen
Posted in Firefox, Power User, Web Browsers | Leave a Comment »
Windows 10: force to sleep at night, but allow wake up for Windows Updates
Posted by jpluimers on 2019/03/04
I do not like a machine that sleeps after a certain amount of inactivity as I might have a long running job going on.
Usually however, I do like to have a machine off at night, even if I forget to put it asleep.
Exceptions for sleeping are just two:
- automatic back-up schedule
- allowing Windows Updates
Luckily you can tell Windows 10 to allow for all cases.
Enabling wake-up during Windows Updates
Note I’m not fully sure which BIOS settings you need to enable – if any- to have this work on all systems. Wake up works on my machine for these [WayBack]
psshutdown
parameter combinations:
psshutdown.exe -h -t 0
(Hibernate)psshutdown.exe -d -t 0
(Suspend)It fails with these:
psshutdown.exe -s -t 0 -f
(Shutdown without poweroff)psshutdown.exe -k -t 0
(Poweroff)The odd thing: Wake-on-LAN can usually wake up the last two.
This is done with the gpedit.msc
(via [WayBack] How to prevent Windows 10 waking from sleep when traveling in bag? – Super User, thanks xxxbence)
Follow this path:
Local Computer Policy
Computer Configuration
Administrative Templates
Windows Components
Windows Update
Double click
Enabling Windows Update Power Management to automatically wake up the system to install scheduled updates
to show the below dialog.Enable it:
so it looks like this:
Forcing sleep (in my case hibernate) using the Task Scheduler
In Windows 7..10: disable shutdown/hibernate/sleep/restart from UI I wrote about shutdown /h /f
to hibernate a machine. You can force to run this from the taskschd.msc
(Windows Task Scheduler):
I wanted history for tasks, so I started
taskschd.msc
as Administrator, then on the rightActions Pane
, I clicked onEnable All Tasks History
:also explained in [WayBack] How can I enable the Windows Server Task Scheduler History recording? – Stack Overflow and can be verified/set on the console as well:
- Get as any user:
wevtutil get-log Microsoft-Windows-TaskScheduler/Operational
- Set as Administrator:
wevtutil set-log Microsoft-Windows-TaskScheduler/Operational /enabled:true
I named the task
__ sleep at 2300
with these settings:Ensure the
Program/script
itself isshutdown
and the parameters are/h /f
:
–jeroen
Posted in Power User, Windows, Windows 10 | Leave a Comment »