Windows 10: Create Shortcut to Boot to UEFI Firmware Settings in Windows 10  

Page 3 of 3 FirstFirst 123

  1. Posts : 1,452
    Windows 10 Pro (32-bit) 16299.15
       26 Sep 2017 #20

    Kari said: View Post
    Some examples:

    Shutdown in 30 seconds, using either default delay or setting delay manually to 30 seconds:

    shutdown /s

    shutdown /s /t 30

    Restarting to UEFI settings immediately (no delay):

    shutdown /r /fw /t 0
    Slightly off-topic but in my experience there is a significant difference between
    /t 0
    and
    /t 1
    (or any other number greater than zero).

    You might think the only difference is one second, but my observation suggests that /t 0 does a "graceful" shutdown which waits for apps to close themselves, and allows you to cancel and go back and save unsaved files if the app doesn't close naturally.

    Whereas /t 1 is more brutal - it just shuts everything down after 1 second and kills apps regardless.

    At least that's what I have observed - not sure where this might be documented.
      My ComputerSystem Spec


  2. Posts : 11,937
    Windows 10 Pro X64
       26 Sep 2017 #21

    Great stuff
      My ComputerSystem Spec


  3. Posts : 14,411
    Windows 10 Pro
    Thread Starter
       27 Sep 2017 #22

    DavidY said: View Post
    You might think the only difference is one second, but my observation suggests that /t 0 does a "graceful" shutdown which waits for apps to close themselves, and allows you to cancel and go back and save unsaved files if the app doesn't close naturally.
    Whereas /t 1 is more brutal - it just shuts everything down after 1 second and kills apps regardless.
    You are on the right track with that, David.

    Again a not too well documented thing about shutdown command is the difference between time delay 0 seconds (/t 0, immediately) and time delay greater than 0 (/t X, where X is greater or equal than 1).

    If delay 0 is used when there are applications open, Windows tells user that there are running applications letting user to decide if shutdown command should be performed anyway, closing all running apps discarding unsaved changes, or if user wants to cancel the shut down process.

    Example: Notepad and Command Prompt open when running command shutdown /s /t 0:
    Name:  image.png
Views: 170
Size:  65.5 KB

    Instead of just closing Notepad and Command prompt and shutting down, Windows checks what user wants to do:
    Click image for larger version. 

Name:	image.png 
Views:	86 
Size:	111.9 KB 
ID:	155213

    However, if in exactly the same scenario we change the delay to 1 second (or more), shutdown command forcefully closes Notepad and Command Prompt after given delay and shuts down without any warnings about open applications.

    Short: using delay 0 you can prevent accidentally shutting down when you have unsaved changes in any running application, whereas using delay 1 or greater all unsaved changes will be discarded and PC forced to shut down.

    If you want to, you can use the /f (force) switch even with delay 0 to force Windows to close all apps discarding unsaved changes:

    shutdown /s /f /t 0


    Dude said: View Post
    Great stuff
    Thanks Dude!
      My ComputerSystem Spec


 
Page 3 of 3 FirstFirst 123

Tutorial Categories

Create Shortcut to Boot to UEFI Firmware Settings in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


Related Threads
Solved Cannot boot into UEFI BIOS or Boot Menu in Performance & Maintenance
Belarc reports UEFI: American Megatrends Inc. P11-B2 Operating System: Windows 10 Home (x64) Version 1511 (build 10586.494) Installed: 4/27/2016 5:58:22 AM Servicing Branch: Current Branch (CB) Boot Mode: UEFI with successful Secure Boot. ...
I built a computer back in 2009 with an Intel DP55KG motherboard running Windows 7. So, I am getting ready for a fresh Windows 10 install and I noticed that back in 2009 I never enabled the UEFI boot mode. Would it be recommended to enable it this...
Recently I played around with dual booting Linux Mint on my system. I decided that I would delete it for the present as I have other things to focus on. However, after deleting partitions and fixing my MBR to only boot windows my UEFI BIOS still...
Is it advisable to set the UEFI BIOS (Asus ROG Hero Maximus VI motherboard) to a factory default settings before installing Windows 10? Or should I at least set the memory "XMP" profile? Thanks!
Dual boot 10 & 7 BIOS/UEFI possible issues in Installation and Upgrade
I dual boot to 2 different windows 7 installs. I have my primary for day to day stuff and the second install is for my DAW. I don't want to update the DAW to 10 because of the issues it may cause. I do want to update my primary install to 10. Can...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 17:47.
Find Us