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

Sound won't play #5

Open
mrjoey98 opened this issue Aug 4, 2024 · 0 comments
Open

Sound won't play #5

mrjoey98 opened this issue Aug 4, 2024 · 0 comments

Comments

@mrjoey98
Copy link

mrjoey98 commented Aug 4, 2024

I have OnShutdown configured to play a sound at shutdown. Only problem is, the sound doesn't play, particularly if I use a password on my account. It seems that disabling my password will allow the sound to play. Is there some other way for me to have a sound play at shutdown using OnShutdown? Or is just not having a password the solution?
This is the PowerShell command I'm using: powershell.exe -c (New-Object Media.SoundPlayer ‘C:\Media\ShutdownSound.wav’).PlaySync();
I later modified the command to point to wizmo.exe (in my Windows folder) to play the sound, but that also becomes silenced if I have a password on my account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant