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

Option to Change Shutdown Method in Fullscreen Mode #3947

Open
VirtualGIT20 opened this issue Feb 10, 2025 · 0 comments
Open

Option to Change Shutdown Method in Fullscreen Mode #3947

VirtualGIT20 opened this issue Feb 10, 2025 · 0 comments

Comments

@VirtualGIT20
Copy link

Feature description

Description:

I would like to request an option to change the shutdown method used by Playnite in fullscreen mode.

Background:

When shutting down via Playnite in fullscreen mode, it uses shutdown.exe, which causes certain services to not start properly after a reboot.

This includes services such as Controller Companion and Virtual Display Driver (VDD), requiring a manual login to get them working again.

In contrast, performing a standard Windows shutdown via the Start menu does not cause this issue. Everything works as expected, allowing Wake-on-LAN (WOL) to function correctly, Playnite to start in the background, without needing the user to log in. .The issue persists even after a fresh installation of Windows.

Other users have encountered similar behavior and confirmed the discrepancy between the shutdown.exe method and the "standard one" as discussed in this StackOverflow post.

Potential Solution:

A potential solution could be to use the (undocumented) EWX_ARSO flag with ExitWindowsEx(), which appears to replicate the standard Windows shutdown behavior. However, given that this method is undocumented, it may be preferable to add an option allowing users to choose between different shutdown methods in case the flag is removed in future Windows updates.

Request:

Implement an option in Playnite settings to choose the shutdown method.

Consider using ExitWindowsEx() with the EWX_ARSO flag as an alternative to shutdown.exe.

Thank you for your time and consideration!

Screenshots

No response

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

1 participant