Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Idea] Shutdown without updating #31

Closed
KwarcPL opened this issue Jul 26, 2018 · 5 comments
Closed

[Idea] Shutdown without updating #31

KwarcPL opened this issue Jul 26, 2018 · 5 comments

Comments

@KwarcPL
Copy link

KwarcPL commented Jul 26, 2018

Nothing big, but really helpful. Also, older Windows had it.

@XenHat
Copy link
Collaborator

XenHat commented Jul 26, 2018

The reason the option is missing because Microsoft decided it was a bad idea and removed the functionality from Windows 10.
Updates happen for a reason, and you should apply them.
I refuse to add an option that will allow our users to let their machines insecure.

EDIT: The rest of the development team may have a different opinion.

@XenHat XenHat added the wontfix label Jul 26, 2018
@B00ze64
Copy link

B00ze64 commented Jul 27, 2018

@XenHat I think you're exaggerating - what users have to do now is disable the "I update whenever I want and screw you" update service and use the Windows Update MiniTool to update manually. Being able to defer updates when rebooting would help.

@TeamSpen210
Copy link

The entire reason Classic Start exists is to allow more control over the system. There are many situations where updating might not be a good idea - for example if a computer is connected via a UPS and the power fails, you'd want to shut down as quickly as possible, definitely without updating.

@XenHat
Copy link
Collaborator

XenHat commented Jul 27, 2018

The entire reason Classic Start exists is to allow more control over the system. There are many situations where updating might not be a good idea - for example if a computer is connected via a UPS and the power fails, you'd want to shut down as quickly as possible, definitely without updating.

All right, fair enough. Let the users deal with their decisions.

Shutdown's help text:

 shutdown /?
Usage: C:\WINDOWS\system32\shutdown.exe [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/soft] [/fw] [/f]
    [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]

    No args    Display help. This is the same as typing /?.
    /?         Display help. This is the same as not typing any options.
    /i         Display the graphical user interface (GUI).
               This must be the first option.
    /l         Log off. This cannot be used with /m or /d options.
    /s         Shutdown the computer.
    /sg        Shutdown the computer. On the next boot,
               restart any registered applications.
    /r         Full shutdown and restart the computer.
    /g         Full shutdown and restart the computer. After the system is
               rebooted, restart any registered applications.
    /a         Abort a system shutdown.
               This can only be used during the time-out period.
               Combine with /fw to clear any pending boots to firmware.
    /p         Turn off the local computer with no time-out or warning.
               Can be used with /d and /f options.
    /h         Hibernate the local computer.
               Can be used with the /f option.
    /hybrid    Performs a shutdown of the computer and prepares it for fast startup.
               Must be used with /s option.
    /fw        Combine with a shutdown option to cause the next boot to go to the
               firmware user interface.
    /e         Document the reason for an unexpected shutdown of a computer.
    /o         Go to the advanced boot options menu and restart the computer.
               Must be used with /r option.
    /m \\computer Specify the target computer.
    /t xxx     Set the time-out period before shutdown to xxx seconds.
               The valid range is 0-315360000 (10 years), with a default of 30.
               If the timeout period is greater than 0, the /f parameter is
               implied.
    /c "comment" Comment on the reason for the restart or shutdown.
               Maximum of 512 characters allowed.
    /f         Force running applications to close without forewarning users.
               The /f parameter is implied when a value greater than 0 is
               specified for the /t parameter.
    /d [p|u:]xx:yy  Provide the reason for the restart or shutdown.
               p indicates that the restart or shutdown is planned.
               u indicates that the reason is user defined.
               If neither p nor u is specified the restart or shutdown is
               unplanned.
               xx is the major reason number (positive integer less than 256).
               yy is the minor reason number (positive integer less than 65536).

It doesn't appear that we can do this by calling the shutdown executable. I will have to do some research.

Some options in there are going to be added as well, such as "Safe Mode" (/o) and "Restart to Firmware" (/fw/), "Shutdown (Fast)" (/hybrid) and "Reboot and Reopen" (/g).

@XenHat
Copy link
Collaborator

XenHat commented Jul 27, 2018

Accepted, moved to #32

@XenHat XenHat closed this as completed Jul 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants