Windows 10: Play Sound at Shutdown in Windows 10

Discus and support Play Sound at Shutdown in Windows 10 in Windows 10 Tutorials to solve the problem; How to: Play Sound at Shutdown in Windows 10 How to Play a Sound at Shutdown in Windows 10 Starting in Windows 8, the Windows Shutdown sound... Discussion in 'Windows 10 Tutorials' started by Comp Cmndo, Dec 24, 2017.

  1. Play Sound at Shutdown in Windows 10


    How to: Play Sound at Shutdown in Windows 10

    How to Play a Sound at Shutdown in Windows 10


    Starting in Windows 8, the Windows Shutdown sound event has been disabled. This leaves you unable to change or play the Windows Shutdown sound when a user selects to shut down the PC in Windows 10.

    As a workaround, you can still create an elevated task to play a sound at shutdown Windows 10.

    This tutorial will show you how to play a sound at shutdown for all users in Windows 10.

    *Warning You must be signed in as an administrator with a password to create an elevated task.


    Here's How:

    1. Press the Win+R keys to open Run, type taskschd.msc into Run, and click/tap on OK to open Task Scheduler.

    2. Click/tap on Task Scheduler Library in the left pane of Task Scheduler, and click/tap on Create Task in the right Actions pane. (see screenshot below)

    Play Sound at Shutdown in Windows 10 [​IMG]

    3. In the General tab, type a name (ex: "Play shutdown sound") you want for this task. (see screenshot below)

    Play Sound at Shutdown in Windows 10 [​IMG]

    4. In the General tab, select (dot) Run whether user is logged on or not. (see screenshot below)

    Play Sound at Shutdown in Windows 10 [​IMG]

    5. In the General tab, check the Run with highest privileges box. (see screenshot below)

    Play Sound at Shutdown in Windows 10 [​IMG]

    6. In the General tab, select Windows 10 in the Configure for drop down. (see screenshot below)

    Play Sound at Shutdown in Windows 10 [​IMG]

    7. Click/tap on the Triggers tab, and click/tap on the New button. (see screenshot below)

    Play Sound at Shutdown in Windows 10 [​IMG]

    8. Perform the actions below: (see screenshot below)
    A) Select On an event in the Begin the task drop down.

    B) Select System in the Log drop down.

    C) Type 1074 (user initiated shutdown) in the Event ID drop down, and click/tap on OK.


    Play Sound at Shutdown in Windows 10 [​IMG]

    9. Click/tap on the Actions tab, and click/tap on the New button. (see screenshot below)

    Play Sound at Shutdown in Windows 10 [​IMG]

    10. Perform the actions below: (see screenshot below)
    A) Select Start a program in the Action drop down.

    B) Type PowerShell in the Program/script field box.

    C) Enter the command below into the Add arguments field box, and click/tap on OK.

    *Arrow -c (New-Object Media.SoundPlayer 'C:\Windows\Media\Windows Shutdown.wav').PlaySync();

    *note If you wanted to play a sound (.wav file) of your choice instead, you can substitute C:\Windows\Media\Windows Shutdown.wav in the command above with the full path of the .wav file you want to be played.


    Play Sound at Shutdown in Windows 10 [​IMG]

    11. Click/tap on the Conditions tab, uncheck the Start the task only if the computer is on AC power box, and click/tap on OK. (see screenshot below)

    Play Sound at Shutdown in Windows 10 [​IMG]

    12. Enter your account's password, and click/tap on OK. (see screenshot below)

    Play Sound at Shutdown in Windows 10 [​IMG]

    13. This task (ex: "Play shutdown sound") is now finished, and will now play a sound at sign-in for all users on your PC. (see screenshot below)

    Play Sound at Shutdown in Windows 10 [​IMG]


    That's it,
    Shawn


    Related Tutorials

    :)
     
    Comp Cmndo, Dec 24, 2017
    #1

  2. Disabling fast shutdown headphone is not working.

    In windows 10, on disabling fast shutdown laptop speaker play sound but no sound on plugging headphone. On enabling fast shutdown and shutdown the system and start again head phone starts working.

    Thanks

    Shadab
     
    ShadabJalil, Dec 24, 2017
    #2
  3. ed375 Win User
    program sounds

    I didn't make any suggestions.

    I didn't get the sounds, I selected to play.

    Trying to play startup and shutdown sounds, drastically increased the boot up, shut down, and restart times, in windows 10.

    I went back and reset the play sounds at startup and shutdown to no.

    I used the procedures in this thread

    windows 10 sounds
     
    ed375, Dec 24, 2017
    #3
  4. Brink
    Brink New Member

    Play Sound at Shutdown in Windows 10

    Hello Comp Cmdo, *Smile

    That's correct. You'll need to be signed in to an administrator account with a password to be able to create the task in this tutorial.
     
    Brink, Dec 24, 2017
    #4
  5. nilsena Win User
    Good Morning,

    I have created the scheduled task to play the selected exit sound but the sound will not play. When I open Task Scheduler and click on the task and click run, the .wav plays and the status of the task is ready, any suggestions.

    Anders
     
    nilsena, Jan 3, 2018
    #5
  6. Brink
    Brink New Member
    Hello Anders, and welcome to Ten Forums. *Smile

    Did you follow the steps exactly?

    The key is steps 5 and 12. If a mistake was made with either one, the task will not run.

    In addition, see if having your .wav file in the same location I used as an example may help.
     
    Brink, Jan 3, 2018
    #6
  7. nilsena Win User
    Hello Brink,

    Thank you for the welcome and response. I double checked both steps 5 and 12 and both are correct. I had previously tried the registry edit to have the exit sound option show but never unchecked or reverted the registry to its previous status, could this be the problem.

    Anders
     
    nilsena, Jan 3, 2018
    #7
  8. Brink
    Brink New Member

    Play Sound at Shutdown in Windows 10

    The registry edit to show the Sound setting shouldn't affect this.

    Where do you have the .wav sound located at?

    If you like, upload the .wav file, and I'll test it on my system to rule that out.
     
    Brink, Jan 3, 2018
    #8
  9. nilsena Win User
    Hi Brink,

    I have run the task in Task Scheduler and it plays the exit sound only if I login with a password, if I delete the password, then the sound will not play. I guess I will just not have a shutdown sound.

    Anders
     
    nilsena, Jan 4, 2018
    #9
  10. Brink
    Brink New Member
    Anders,

    Yeah, the task requires the password of an administrator account for it to be able to run with highest privileges.
     
    Brink, Jan 4, 2018
    #10
  11. xArx Win User
    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:

    Code: Computer\HKEY_CURRENT_USER\AppEvents\EventLabels\SystemExit[/quote] and change the value of the key

    Code: ExcludeFromCPL[/quote] 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.
     
  12. Brink
    Brink New Member
    and change the value of the key

    Code: ExcludeFromCPL[/quote] 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.[/quote]

    Hello xArx, and welcome to Ten Forums. *Smile

    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.
     
    Brink, Mar 23, 2018
    #12
  13. Brink
    Brink New Member

    Play Sound at Shutdown in Windows 10

    That should be able to play then.

    It wouldn't hurt to test by doing a Shift+Shutdown to see if there's any difference for you.
     
    Brink, Apr 4, 2018
    #13
  14. I've applied this tutorial to log off, log on, and shutdown, but it seems as though the shutdown sound doesn't audibly play half the time, even when Task Scheduler says it completed successfully, and when the path is both correct and as close to the C:\Windows\Media folder as possible. I think it's shutting down too quickly for PowerShell to play the sound, as when it plays, it's usually cut off midway. Is there a way to delay this so that it will play and then shutdown after it has finished playing? I think it might be possible with a bit of scripting.
     
    MrMii Win 10, Apr 23, 2018
    #14
  15. Brink
    Brink New Member
    Hello Robert, *Smile

    I find that using a short playing sound works best because of this issue of it shutting down sometimes before the sound has finished playing.

    I'm not sure about a way to delay the shutdown until the sound has finished playing.
     
    Brink, Apr 23, 2018
    #15
Thema:

Play Sound at Shutdown in Windows 10

Loading...
  1. Play Sound at Shutdown in Windows 10 - Similar Threads - Play Sound Shutdown

  2. windows shutdown sound

    in Windows 10 Performance & Maintenance
    windows shutdown sound: hello I've tried the following steps in this video using Task Scheduler so when windows when shutdown would have a certain sound, but it doesn't work for some reason I don't know if the steps in the video would allow me to change the sound to a costum sound of my liking....
  3. Startup and Shutdown Sounds Won't Play Properly

    in Windows 10 Drivers and Hardware
    Startup and Shutdown Sounds Won't Play Properly: Hey all, I'm not really sure where on these forums to ask this question, but I need a bit of help. Is anyone here familiar with Winaero Tweaker? I recently discovered this utility and found that there is an option to set a custom startup sound for Windows 10 (version 1909)....
  4. Windows 10 Shutdown sound.

    in Windows 10 Customization
    Windows 10 Shutdown sound.: Has anyone found a solution to the shutdown sound for windows 10? Tried all the various methods, registry hacks, Task scheduler. Can get the sound to play in the sounds but not on shutdown tried looking for a third-party app with a shutdown and sound effect but nothing....
  5. How to play a sound when you Shutdown, Lock or Unlock Windows 10

    in Windows 10 News
    How to play a sound when you Shutdown, Lock or Unlock Windows 10: [ATTACH]If you want to play a sound when you shut down or lock Windows 10 computer, then this article will show you how to do […] This article How to play a sound when you Shutdown, Lock or Unlock Windows 10 first appeared on TheWindowsClub.com. read more...
  6. regedit inserted logon, logoff, and shutdown sounds not playing.

    in Windows 10 Support
    regedit inserted logon, logoff, and shutdown sounds not playing.: On my Windows 10 Home 1909 version, I am trying to skin my installation to look and almost act like Windows XP. It is almost done, as Winaero Tweaker has helped disable Aero Snap likewise. [img] The only problem I have is the regedit keys I have edited so that I am able to...
  7. How to Play a Sound at Shutdown in Windows 10

    in Windows 10 Support
    How to Play a Sound at Shutdown in Windows 10: Hi there, I followed your instructions 100%, but no matter which sound file I chose, I always get this one (check attachments), followed by this screen (check attachments). It's driving me crazy! Any thoughts, feedback? My winver=1909 Thank you, 151542
  8. Windows 10 startup and shutdown sounds

    in Windows 10 Performance & Maintenance
    Windows 10 startup and shutdown sounds: Hello. I have Windows 10. I want to change the Windows's default startup and shutdown sounds, with the old ones from Windows 95I am nostalgic, I liked them a lot. I tried to use the method to change some registry entries, replace them in Control Panelwith the .wav extension...
  9. Can't get Windows 10 to play shutdown sound

    in Windows 10 Customization
    Can't get Windows 10 to play shutdown sound: Can't get Windows 10 Home to play shutdown sound. I have tried in regedit , but still it does not work. How can I get Windows 10 Home to play shutdown sound? sorry for my bad english. 90658
  10. Logoff, Logon, shutdown, restart, startup sounds not playing

    in Windows 10 Support
    Logoff, Logon, shutdown, restart, startup sounds not playing: Logoff, Logon, shutdown, restart, startup sounds not playing in Windows 10. What should I do? 11355