The standard method to change the log-on sound up to Windows 10 was:
regedit to navigate to the key
ExcludeFromCPL and set it to zero (
for showing up in the following applet
- Run from the Start menu the applet Change System Sounds
- Scroll down and click on Windows Log-on
- Click Browse and position to the replacement
.wav sound file
- Click OK all the way through.
In Windows 10, Microsoft has decided to disable it, because it caused problems
with Fast Boot. So were disabled the sounds for
'Exit Windows', 'Windows Logon' and 'Windows Logoff'.
To re-enable these sounds, one now needs to create these events.
The first step is to create a
.vbs file to play the sound:
Set oVoice = CreateObject("SAPI.SpVoice")
set oSpFileStream = CreateObject("SAPI.SpFileStream")
oSpFileStream.Open "C:\Windows\Media\Windows Logon.wav"
Change the above default sound file,
to any other
.wav file if required.
To create the event, start the Task Scheduler and:
- Click on Create Task...
- Give the task some meaningful name like "Play logon sound"
- Set the option Configure for: to Windows 10
- In the Triggers tab click on New...
- Set Begin the task: to "At log on" and press OK
- In the Actions tab click New...
- Set Action to "Start a program"
- As Program enter
- In Add arguments (optional): enter the full path to the
- Press OK
- In the Conditions tab disable the option "Start the task only if the computer is on AC power"
- Click OK to create the scheduled task.
For more details with screenshots see the article
How to Play the Logon Sound in Windows 10.