Hello Joe Bunt,
Honestly the reason it tests fine but never fires for real isn't something on your end. Since around the Windows 8/10 era Microsoft stopped having the OS actually trigger the Windows Logon and Windows Logoff sound events at sign-in/out, even though the entries themselves still exist. The registry trick most guides point at (flipping ExcludeFromCPL to 0 under HKCU\AppEvents\EventLabels\WindowsLogon / WindowsLogoff) only unhides them in the Sounds list so you can assign a wav and Test it — but it doesn't bring back the OS firing them. So what you're seeing is basically the expected state now.
Note that the "Play Windows Startup sound" checkbox is a separate event (the boot chime), not the Logon sound. And on most setups Fast Startup will skip that chime on normal shutdowns, so it can stay silent for unrelated reasons.
If you really want sounds on logon/logoff, the workaround most people land on is Task Scheduler:
- Create a task with trigger At log on that runs a small VBS or PowerShell which plays your wav from
C:\Windows\Media. - A second task with trigger On workstation lock (or sign-out, depending on what fits) for the logoff sound.
- Untick Start the task only if the computer is on AC power so it fires on laptops too.
That route reliably works on current Windows 11. Let me know if you need any help.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.