Fastest (minimum time) PowerOff in Win10 (2004)?

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15498
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Fastest (minimum time) PowerOff in Win10 (2004)?

Post by ChrisGreaves »

I am still confused by restart/reset/shutdown/sleep/hibernate/close lid etc. I understand a lot of it, but have so far been unable to find out a method that does not involve me in (1) Clicking "Y"es a few times or (2) waiting while the hard drive goes click-whirr-click-whirr for about 30 seconds. Or More.

Imagine a scenario:-
(1) A burgular is creeping through the window
(2) A spy is creeping through the window
(3) You hear a clap of thunder
(4) You have to dash outside in a hurry
etc. etc. etc.

You want to spend no more than three seconds and leave your computer absolutely powered-off, as if it had no battery and you had pulled the power cord.
Think of this as an emergency-stop-work.
I don't care about taking two? minutes to power up again.

I want to leave the computer in such a state that it requires
(a) a password to access the hard drive through UEFI
(b) a Win10 login password
(c) a Truecrypt/Veracrypt password to open the data partition.

And I would like to send it to this state in under three seconds.


I do not care about "losing unsaved work", because I have implemented my own timed-save methods for every application I use.
I do not care that much about "fast startup" or similar because I power ON and then wander off to the kitchen to make a mug of tea.

You might say that I miss the Good Old Days of Dos when one could just "pull the plug".


Thanks
Chris
Last edited by ChrisGreaves on 28 Aug 2020, 12:55, edited 1 time in total.
An expensive day out: Wallet and Grimace

User avatar
John Gray
PlatinumLounger
Posts: 5401
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: Fastest (minimum time) PowerOff in Win10 (2014)?

Post by John Gray »

Create a desktop icon containing as target:
C:\Windows\System32\shutdown.exe -s -t 0
If you feel really keen, add -f to the parameters...
Double-click on the desktop icon to invoke.

Shutdown.png
You do not have the required permissions to view the files attached to this post.
John Gray

Venison is quiet deer, and quite dear.

User avatar
Leif
Administrator
Posts: 7193
Joined: 15 Jan 2010, 22:52
Location: Middle of England

Re: Fastest (minimum time) PowerOff in Win10 (2014)?

Post by Leif »

John's answer above is probably your best option, but if you want to explore other possibilities:

How to shut down or restart Windows 10 laptops, tablets, and PCs (10 methods) | Digital Citizen
Leif

User avatar
stuck
Panoramic Lounger
Posts: 8127
Joined: 25 Jan 2010, 09:09
Location: retirement

Re: Fastest (minimum time) PowerOff in Win10 (2014)?

Post by stuck »

I've had a shutdown shortcut as described by John on my desktop since the days of Win 98.

Ken

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15498
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Fastest (minimum time) PowerOff in Win10 (2004)?

Post by ChrisGreaves »

John Gray wrote:
11 Aug 2020, 15:26
C:\Windows\System32\shutdown.exe -s -t 0
If you feel really keen, add -f to the parameters...
Thanks John.
I have had this shortcut content ensconced in a BATch file for many years.

Code: Select all

REM C:\BATLap\ShutDown.bat
REM Monday, September 17, 2007
:: 7:46 AM 6/24/2009 Included a call to spybot
if "%debug%"=="" set debug=off
@echo %debug%
:: call "%userprofile%\application data\Greaves\billt"\BillT.bat

ShutDown.exe -s -f -t 00
REM end of C:\BATLap\ShutDown.bat
I developed your shortcut and have tried out both implementations from the desktop. Both are boringly slow (about ten seconds).

The fastest I have found to date is about five seconds pressure on the power button.
I am talking about an emergency-stop here.

I suspect I should run two sets of trials:-
(1) Shutdown after a reboot (wait two minutes for things to quieten down)
(2) Shutdown with three third-party applications opened, for example, an unsaved Word document, Winamp, ...

That should give me a 2D array of timing figures.

Cheers
Chris
Last edited by ChrisGreaves on 28 Aug 2020, 12:56, edited 1 time in total.
An expensive day out: Wallet and Grimace

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15498
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Fastest (minimum time) PowerOff in Win10 (2004)?

Post by ChrisGreaves »

Leif wrote:
11 Aug 2020, 15:52
John's answer above is probably your best option, but if you want to explore other possibilities:
How to shut down or restart Windows 10 laptops, tablets, and PCs (10 methods) | Digital Citizen
Thank you Leif; I shall work through this list and include the methods in my study.
When i did a search for "fast shutdowns", I saw many techniques that, to my mind, were not really fast at all. <Alt><F4>ing applications is much faster than the traditional close-and-save-each-document-then-choose-file-exit that we still see nowadays, but from this user's perspective, not as fast as closing the lid!

More later
Cheers
Chris
Last edited by ChrisGreaves on 28 Aug 2020, 12:56, edited 1 time in total.
An expensive day out: Wallet and Grimace

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15498
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Fastest (minimum time) PowerOff in Win10 (2004)?

Post by ChrisGreaves »

stuck wrote:
11 Aug 2020, 16:32
I've had a shutdown shortcut as described by John on my desktop since the days of Win 98.
Hi Ken, and thanks. I suspect that mine dates to about that time.

On the old Toshiba I do remember closing the lid and a day later finding that "i was still there", confidential documents and all.
My shutdown.bat too tries to protect me by telling me that I still have a document open, but in what I think of as an emergency shutdown I really don't care if I lose my last minute of typing.

Nonetheless, as outlined above I shall include the shutdown shortcut/batch file in my trials.

cheers
Chris
Last edited by ChrisGreaves on 28 Aug 2020, 12:56, edited 1 time in total.
An expensive day out: Wallet and Grimace

User avatar
StuartR
Administrator
Posts: 12577
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: Fastest (minimum time) PowerOff in Win10 (2014)?

Post by StuartR »

If you really want the fastest possible shutdown without saving any unsaved work in open apps then try
shutdown -f -p

Type shutdown /? to see the meanings of the available flags.
StuartR


User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15498
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Fastest (minimum time) PowerOff in Win10 (2004)?

Post by ChrisGreaves »

StuartR wrote:
12 Aug 2020, 22:45
If you really want the fastest possible shutdown without saving any unsaved work in open apps then try shutdown -f -p
Stuart, thanks for this.
I gave the -p a quick try. That will certainly bypass the "unsaved document" delay, but of course I still go into Win10's twenty-second status-saving technique (which I think is Win10's way of implementing "shutdown" as a form of Sleep or Hibernate).

I shall, of course, add your suggestion to my ever-increasing burden of items for my two-pronged trial (grin)
Cheers
Chris
Last edited by ChrisGreaves on 28 Aug 2020, 12:57, edited 1 time in total.
An expensive day out: Wallet and Grimace

jolas
3StarLounger
Posts: 201
Joined: 02 Feb 2010, 23:58

Re: Fastest (minimum time) PowerOff in Win10 (2014)?

Post by jolas »

Found this power settings to be the fastest shutdown on my Laptop.
Please see fast startup explanation that may be relevant if you decide on this shutdown option.
Fast shutdown.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
John Gray
PlatinumLounger
Posts: 5401
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: Fastest (minimum time) PowerOff in Win10 (2014)?

Post by John Gray »

Chris: I reckon that if you want a really fast shutdown you need a really fast CPU. I think you should spring for an i9 "with clock speeds up to 5.3GHz, 10 cores, 20 threads and updated support for high-bandwidth connectivity and devices".

Alternatively, do the mains sockets into which your system unit is plugged have switches thereon? A quick flip will kill power in milliseconds. I presume that the possible death of the system unit / CPU / SSD or hard disk is a minor consideration to speed of shutdown. :sad:
John Gray

Venison is quiet deer, and quite dear.

User avatar
ChrisGreaves
PlutoniumLounger
Posts: 15498
Joined: 24 Jan 2010, 23:23
Location: brings.slot.perky

Re: Fastest (minimum time) PowerOff in Win10 (2004)?

Post by ChrisGreaves »

John Gray wrote:
13 Aug 2020, 15:58
Chris: I reckon that if you want a really fast shutdown you need a really fast CPU. I think you should spring for an i9 "with clock speeds up to 5.3GHz, 10 cores, 20 threads and updated support for high-bandwidth connectivity and devices".
Wot? No SSD?!!??? :evilgrin:
Alternatively, do the mains sockets into which your system unit is plugged have switches thereon? A quick flip will kill power in milliseconds. I presume that the possible death of the system unit / CPU / SSD or hard disk is a minor consideration to speed of shutdown. :sad:
This is under serious consideration.
I have not yet run through this business of "Conditioning a New Battery Pack", but right now I am running with the battery removed, that is, mains power only, and the old pull-the-plug trick is available.
Yes, I know, danger of power cut in mid-write and all!
Cheers
Chris
An expensive day out: Wallet and Grimace