Skip to content

Restores the logon, logoff, and unlock sound events in Windows 10

License

Notifications You must be signed in to change notification settings

shuuryou/soundrestore

Repository files navigation

System Sound Player

A small C# program that will restore the logon, logoff, system start, and system exit program events in Windows 10.

In Windows 10, Microsoft removed the ability for the operating system to play a sound when locking or unlocking a session, as well as when logging on or logging off. This program will help you get these features back, because like everything the Shell Team at Microsoft does, the removal was only half-assed.

What was removed in Windows 10 was the ability for the operating system to actually play back a configured sound file. This was supposedly because they had optimized startup and shutdown so much that they couldn't get the sounds to play reliably anymore. However, the ability to set a sound file via the control panel still exists and has just been hidden.

How to Use

  1. Put soundrestore.exe in a central location, like your Windows directory
  2. Put a shortcut to soundrestore.exe in your Startup folder
  3. Use the RestoreSoundEvents.reg file to unhide the program events for "Windows Logon", "Windows Logoff", "Exit Windows" and "Start Windows" (you need to do this once for every user if you have multiple user accounts)
  4. Optional: use the DisableStartupDelay.reg to make the sound play as early as possible after logging on (you need to do this once for every user if you have multiple user accounts)
  5. Configure the sounds that you want to play using the Control Panel
  6. Launch the shortcut manually once (or reboot)

The All Users Startup folder is located at C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup, and the current user's Startup folder is located at C:\Users\[User Name]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup.

You can use the HideSoundEvents.reg file if you want to hide the abovementioned program events again. You can use the RestoreStartupDelay.reg file to restore the default Windows 10 startup delay.

When Program Events are Played

Event When Played
Windows Logon Session is unlocked
Windows Logoff Session is locked (Win+L) or "Switch user" command
Exit Windows Shut down, restart, sign out (anything that ends your session)
Start Windows When soundrestore.exe is launched, so if you put it in the Startup folder it will play when starting your session

It is absolutely pathetic that you need to use a third-party program like this one to do such a simple thing but here we are...

Why?

Windows 10 Has No Soul

After you install Windows 10, you're greeted by a dark and cold environment along with a start menu that is basically a giant advertisement board. It feels very much like a dark and lonely subway station. It isn't welcoming at all and makes you want to leave as quickly as possible.

My solution for this was to run some custom-made scripts that remove essentially all safely removable modern apps. I also use Windows 10 Enterprise so that I can apply a few hundred Group Policies that make the operating system largely stop spying on me. They also make it a whole lot less annoying to use.

But it still feels dark and cold.

Windows Used to be Fun

Remember Windows 98? Yes, it wasn't exactly what people would consider a technological marvel. It would crash daily due to bad drivers and badly written software, and when it crashed, it showed no mercy and usually took down everything with it.

Putting the daily crashes aside for a moment, Windows 98 did at least feel a little bit like it had a soul. Call me nostalgic, but I think it tried hard to be friendly and welcoming operating system that you could take seriously. It tried to help you get things done as good as it could.

I tried to extract some Plus! 98 themes and apply them to Windows 10. If you put the effort in, you can actually still customize everything from the wallpaper and colors right down to the desktop icons, mouse pointers and sounds. That's part of what made the themes fun back in the day. But since Microsoft's Shell Team decided that Windows 10 isn't supposed to be fun, I had to resort to writing this small program to get some of the fun back.