You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
service application
About this tag
A Windows service application is a program that runs in the background without a user interface, often performing system-level tasks. In Windows 10, a user encountered an issue where a service application displaying a message box using MB_DEFAULT_DESKTOP_ONLY caused the Power button popup menu items (Sleep, Shut down, Restart) to stop appearing from the Start menu. The problem disappeared after closing the message box and did not occur on earlier Windows versions like RS4 and RS5. This suggests a potential bug in Windows 10 related to service applications and desktop interaction. The thread discusses troubleshooting such service application behavior.
On Windows 10, version: 10.0.18362, I have a Windows service application. In the service process, when I use the following code to display a user interactive message box:
//Start Impersonate Loggon User
MessageBox(IntPtr.Zero, message, caption, MB_DEFAULT_DESKTOP_ONLY | MB_YESNO |...
bug report
desktop
error analysis
impersonation
issue resolution
message box
message box flags
os version
popup
power button
restart function
serviceapplication
shutdown options
sleep mode
user account
user interaction
windows 10