How to Play Audio at Logon (Sign-in) in Windows x

Starting in Windows 8, the Windows Logon sound outcome has been disabled. This leaves you lot unable to change or play the Windows Logon audio at sign-in in Windows ten.

As a workaround, you can however create an elevated task to play a sound at sign-in (logon) to Windows 10.

This tutorial will show you how to play a sound at logon (sign-in) for all users in Windows 10.

You must be signed in every bit an administrator with a password to create an elevated task.

Contents


  • Pick 1: Add together or Remove Play a Sound at Logon (Sign-in) from Startup Folder using a BAT file
  • Selection Two: Add or Remove Play a Sound at Logon (Sign-in) Task Automatically using a BAT file
  • Option Three: Add or Remove Play a Sound at Logon (Sign-in) Job Manually in Task Scheduler

Option I

Add or Remove Play a Sound at Logon (Sign-in) from Startup Binder using a BAT file


Special thank you to Matthew and Paul Black for providing this option.

This will create a VBScript that points to the .wav file to be played in either Startup binder beneath:

Electric current User:
%UserProfile%\AppData\Roaming\Microsoft\Windows\Start Carte du jour\Programs\Startup

All Users:
%ProgramData%\Microsoft\Windows\Start Menu\Programs\Startup

1 Download the Play_Sound_at_Logon_Passwordless.bat file below to your desktop.

ii Unblock the downloaded .bat file.

3 Run the .bat file.

iv If prompted by UAC, click/tap on Yes to corroborate running the .bat file elevated (run as ambassador).

5 Press the number for the option you want, and press Enter. (see screenshot below)

How to Play Sound at Logon (Sign-in) in Windows 10-logon_sound1.jpg

6 When prompted, enter the full path of the .wav file you lot desire to run at startup, and press Enter. (see screenshot below)

How to Play Sound at Logon (Sign-in) in Windows 10-logon_sound2.jpg

7 When finished, you can close the command prompt. (see screenshot below)

How to Play Sound at Logon (Sign-in) in Windows 10-logon_sound3.jpg

Selection TWO

Add or Remove Play a Sound at Logon (Sign-in) Chore Automatically using a BAT file

Special thanks to Matthew for providing the .bat files in this option.

ane Do stride 2 (add) or pace iii (remove) below for what you would like to do.

2 To Add Play a Sound at Logon (Sign-in) Task

A) Download the Play_Sound_at_Logon.bat file beneath to your desktop.

B) Unblock the downloaded .bat file.

C) Run the .bat file.

D) If prompted past UAC, click/tap on Yep to approve running the .bat file elevated (run as administrator).

E) When prompted, enter the full path of the .wav file you want to play at logon (sign-in). (see screenshot below)

F) When prompted, enter the countersign for the business relationship to qualify the task.

G) When finished, printing any primal to shut the command prompt.

How to Play Sound at Logon (Sign-in) in Windows 10-success.jpg

iii To Remove Play a Sound at Logon (Sign-in) Task

A) Download the Delete_the_scheduled_task.bat file below to your desktop.

B) Unblock the downloaded .bat file.

C) Run the .bat file.

D) If prompted by UAC, click/tap on Yes to approve running the .bat file elevated (run as administrator).

East) When finished, press any key to close the command prompt.

Option Three

Add or Remove Play a Sound at Logon (Sign-in) Job Manually in Task Scheduler

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

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

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-1.jpg

three In the General tab, type a proper noun (ex: "Play logon sound") you want for this job. (see screenshot below)

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-2.png

four In the Full general tab, select (dot) Run whether user is logged on or non. (see screenshot below)

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-3.png

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

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-4.png

half-dozen In the General tab, select Windows 10 in the Configure for drib down. (see screenshot below)

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-5.png

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

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-6.png

8 Select At log on in the Begin the job drop down, and click/tap on OK. (see screenshot below)

The At log on trigger is for when a user signs in to their account and not currently withal signed in from say after lock computer or switch user.

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-7.png

ix In the Triggers tab, click/tap on the New button. (see screenshot below)

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-8.png

x Select On connectedness to user session in the Brainstorm the chore drop down, select (dot) Connection from local figurer, and click/tap on OK. (see screenshot below)

The On connection to user session trigger is for when a user signs in to their business relationship while currently still signed in from say after switch user.

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-9.png

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

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-10.png

12 Perform the actions below: (come across screenshot below)

A) Select Starting time a program in the Action drop downwardly.

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

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

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

If you lot wanted to play a audio (.wav file) of your option instead, you can substitute C:\Windows\Media\Windows Logon.wav in the command above with the full path of the .wav file (with .wav file extension included) you lot want to exist played.

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-11.png

13 Click/tap on the Conditions tab, uncheck the Start the task but if the computer is on Air-conditioning power box, and click/tap on OK. (meet screenshot below)

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-12.png

14 Enter your account'south password, and click/tap on OK. (run across screenshot below)

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-13.png

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

How to Play Sound at Logon (Sign-in) in Windows 10-play_sound_at_logon_task-14.png

That's information technology,
Shawn

  • Windows eleven Tutorials