Home OS Windows How to play a sound when you Shutdown, Lock or Unlock Windows...

How to play a sound when you Shutdown, Lock or Unlock Windows 10

If you need to play a sound while you shut down or lock Windows 10 pc, then this text will present you methods to do it. Although Microsoft eliminated this performance to enhance the efficiency and consumer expertise, you should utilize the Task Scheduler to carry out this activity.

To observe these steps, you could register as an administrator. Also, if you wish to play customized audio, you could convert your common .mp3 file to .wav format.

Play a sound while you Shutdown, Lock or Unlock PC

To play a sound while you Shutdown, Lock or Unlock Windows 10, observe these steps-

  1. Open Task Scheduler by trying to find it within the Taskbar Search Box.
  2. Select Task Scheduler Library.
  3. Click the Create Task button.
  4. Create a Task along with your desired specs
  5. Select the sound file
  6. Save the duty.

Open Task Scheduler in your Windows 10 pc.

To achieve this, you may seek for “task scheduler” within the Taskbar search field, and click on on the outcome.

Now, you could choose Task Scheduler Library on the left facet and click on on the Create Task button in your proper facet.

In the General tab, do write the identify of your activity within the Name field, choose Run whether or not consumer is logged on or not, and choose within the Run with highest privileges checkbox.

After that, increase the Configure for drop-down record, and choose Windows 10.

Then, you could swap to the Triggers tab and click on the New button.

In the New Trigger window, choose On an occasion from Begin the duty drop-down record, System from the Log drop-down record, and enter 1074 because the Event ID. 1074 represents user-initiated shutdown.

After clicking the OK button, you could go to the Actions tab and click on the New button.

In the New Action window, choose Start a program from Action drop-down record, write PowerShell within the Program/Script field, and enter the next argument within the Add arguments box-

-c (New-Object Media.SoundPlayer 'C:WindowsMediaWindows Shutdown.wav').PlaySync();

C:WindowsMediaWindows Shutdown.wav is the default shutdown sound.

If you need to use customized audio, you could place the audio file within the C:WindowsMedia folder and choose the trail within the argument.

After clicking the OK button, you could go to the Conditions tab. From right here, you could uncheck Start the duty provided that the pc is on AC energy and click on the OK button.

Now you must see a immediate the place you must enter the consumer account password. If you try this efficiently, a brand new activity could be created and also you Windows 10 system would play a sound when shutting down the PC.

If you need to play a sound when Lock or Unlock pc, you may observe these identical steps. However, there is just one factor that’s completely different. You want to pick out On workstation lock or On workstation unlock within the New Trigger window.

That’s all!

Most Popular

Recent Comments