How To Enable and Change Shutdown Sound in Windows 11 Home, Pro, Enterprise Editions

Опубликовано: 03 Март 2024
на канале: CNATT
3,067
40

We will show you how to how to enable and change Shutdown sound in Windows 11 Home, Pro and Enterprise Editions.


⏰Timestamps⏰

00:00 Intro (Important)
02:00 Step 1: Turn Off Fast Startup
02:48 Step 2: Create a PowerShell Script File To Play The Shutdown Sound
04:58 Step 3: Download OnShutDown Tool From GitHub
06:17 Step 4: Install OnShutDown Service To Run The PowerShell Script
07:38 Tips: Change or Disable the Shutdown Sound

================================
Download OnShutDown from GitHub:
https://github.com/gfody/OnShutdown/r...
================================
================================
================================
Code:
https://pastebin.com/nuVAMyj2
================================
Step 2: PowerShell Script Code

powershell.exe -c (New-Object Media.SoundPlayer ‘C:\Media\ShutdownSound.wav’).PlaySync();
================================
Step 4: Install OnShutDown Service To Run The PowerShell Script

New-Service OnShutDown -bin 'C:\Media\OnShutdown.exe 30000 "powershell -noninteractive -noprofile -file C:\Media\ShutdownSound.ps1"' -StartupType Automatic

Start-Service OnShutDown
================================
Tips: Disable the Shutdown Sound

Stop-Service OnShutDown

sc.exe delete OnShutDown
======================
======================
======================


In newer versions of Windows, Microsoft focused on making Windows boot and Shutdown faster and completely removed the sounds which play at Logoff and Shutdown.

Shutdown sound is played when restarting or shutting down Windows.

Due to limitations in Windows shutdown processes, we use open-source software developed by third parties here.

Please be aware that in order to execute code during the Windows shutdown process, it is necessary to disable fast startup.
Fast startup, or fast boot, is a way to boot your PC faster.
It is a combination of the normal shutdown and hibernate function.
It allows you to start up your computer more quickly by saving the operating system state to a hibernation file.
Fast Startup is turned on by default if your computer is capable of hibernation.

If you prefer not to disable this feature, use the Group Policy Editor in the Pro and Enterprise editions of Windows to enable the Shutdown sound.

In another tutorial linked below, we showed you how to change the Shutdown sound in Windows 11 Pro and Enterprise Editions using the Group Policy Editor:
   • How to Change Shutdown Sound in Windo...  

However, due to the lack of the Group Policy Editor in the Home Edition of Windows 11, it is not possible to use it.

In this tutorial, we will not use the Group Policy Editor.
For better understanding, we'll enable the filename extensions.
The sound file used in this tutorial must be in .WAV format. You can use free online converters to convert mp3 to wave.



#howto #windows11 #shutdownsound


Смотрите видео How To Enable and Change Shutdown Sound in Windows 11 Home, Pro, Enterprise Editions онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь CNATT 03 Март 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,06 раз и оно понравилось 4 людям.