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

Additional Power button Options #32

Open
5 tasks
XenHat opened this issue Jul 27, 2018 · 7 comments
Open
5 tasks

Additional Power button Options #32

XenHat opened this issue Jul 27, 2018 · 7 comments

Comments

@XenHat
Copy link
Collaborator

XenHat commented Jul 27, 2018

I want to implement the following:

  • Reboot to Safe Mode
  • Reboot to Firmware
  • Reboot and Re-open running applications
  • Shutdown for Fast Startup (or default "Shutdown" to this and add "Full Shutdown" when hybrid startup is enabled)
  • Shutdown without Updating ([Idea] Shutdown without updating #31)
@XenHat
Copy link
Collaborator Author

XenHat commented Jul 27, 2018

Concerning #31, this might require some hacks like temporarily turning off the update service and re-enabling it on startup...

Can someone test this command in a Run dialog or a command window while having pending updates?

shutdown /s /t 0

@KwarcPL

@ge0rdi
Copy link
Contributor

ge0rdi commented Jul 27, 2018

This is weird. I can see options to Shut down and Update and shut down in the shutdown menu when updates are pending (Win10 1803).

image

Anyways, have a look how it is implemented in MenuCommands.cpp.
In case of pending updates ExitWindowsEx API is called with undocumented EWX_INSTALL_UPDATES value.

So I'm not sure there is anything needed in this regard.

@ge0rdi
Copy link
Contributor

ge0rdi commented Jul 27, 2018

It seems to be not working.
I've used Restart (instead of Update and restart) and Windows updates were applied during restart :(

@XenHat
Copy link
Collaborator Author

XenHat commented Jul 28, 2018

Please try the mentioned command (or it's restart variant) from the command box.

EDIT @ge0rdi:

It seems to not be working

I'm aware that the menu item is broken. That's why I asked to try the command.

See https://superuser.com/a/1130295/292481

Edit2: A GPO/registry tweak exists for Pro and "above" editions: https://support.microsoft.com/en-ca/help/328010/how-to-configure-automatic-updates-by-using-group-policy-or-registry-s

We need to find a solution that will work in most cases, and implement it

@ge0rdi
Copy link
Contributor

ge0rdi commented Jul 28, 2018

Please try the mentioned command (or it's restart variant) from the command box.

Will try next time I have some updates pending.

We need to find a solution that will work in most cases, and implement it

Well, it may happen that this will simply be not possible on Win10.

@blackcrack
Copy link

any beta version ? why do you not public beta Versions and create a page "beta Releases for testing and feedback" with this it is possible to inlude and compile the binarys directly.
stopping the program via task manager, copy the new/fresh/beta binary's on it and restart
the program..

And maybe add a option on the shutdown/reboot dialogue with the possible to enable "Stop Classic-Start Menu" for testing-things for fast skip the program, copy new binary's over the old binary's and dopple-k-lick vbs the exe file to start the Classic-Start Menu again under \Program Files\Classic Start\

may would it also possible to make it more portable, to use more pathvariables (if it is not used)
to make it maybe able to let start it over \sambanetwork\UNC-Path to make it able to have different instances/directory's for different Workstations (just as a idea if possible) for have different start menus with restrictions ... later maybe .. The making possible to use in the head-binary makes maby also more possible to make it more portable, just copy the folder into a usb-stick for admins, maybe to add extra folders .. maybe add something like this :
https://code.google.com/archive/p/traylauncher/
there can you download a example what's all possible :
http://www.blackysgate.de/files/folder-root/portable-stick-soft/
it's a launcher what i use also and run over unc-path, but if there a possible to integrate
folder and files with filtering, system-variables and system ::{uuid}::
this is a further suggestion for make it more enhanced and the possible
to search and execute lnk,exe,html and so on .. via strg+winbutton like launchy and makes more faster to let run a program from the menu via manual entry and let show what in traylauncher works.

i know, this is a bit more as only around reboot,shutdown and so on,
but see it as suggestions for the future where should/could be in the todo-list.

best regards
Blacky

@Gaurav-Original-ClassicShellTester

I know I am like 3 years late to this post and that this isn't the Open Shell GitHub but I just want to say this would be really cool to have. The challenge Ivo faced was localization into all supported languages. If a particular string in Windows was not translated, he wasn't willing to add it to the Shutdown menu. Currently I have added the following in my Shutdown submenu. It would be nice to have these in the Windows 7 style shutdown menu as well some day:

image

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