xArx said: View Post
Nice solution.

But Windows its actually configurable through the default Sound control panel dialogue after changing a registry setting.

In the registry editor, go to:

and change the value of the key

from 1 to 0.

Then go to (might vary according to Windows version)

Settings, in the search box, type sounds, and select Change system sounds. In Program Events, Exit Windows will now be an option.

There are also similar settings for Logon and Logoff.

Hello xArx, and welcome to Ten Forums.

Unfortunately, that registry change will indeed add "Exit Windows" to the "Sounds" control panel, but it doesn't actually work to play the sound for it or log on and log off.