Top Nav

Make Windows Play A Favorite Song or Video When You Log On

Are you tired of hearing the same old Windows chimes every time you power up your computer and log on? It’s easy to customize the sounds, or disable them completely. But why not shake things up and make Windows play your favorite song or video? Here’s how using Task Scheduler.

There’s a lot of cool things you can do with Task Scheduler. Recently we showed you how to create a basic task to turn your PC into an ultimate alarm clock and play a video, music, or podcast when you wake up. For more on creating a basic task, check out this article on making Windows run Disk Cleanup automatically.

Create Basic Task

To play a song when you log on, start by creating a basic task and work through the wizard. After giving it a name, for the Trigger select When I log On.

When Log on

Then for the Action select Start a Program.

Start a Program

Next for the Program/Script field, browse to the location of the music player you want to use. If you want to keep it all Windows just browse to Windows Media Player. Or in this example I’m using my favorite all around media player VLC.


For the Add Arguments filed, copy in the full path to the music or video file you want to play.

video Path

Note: For best results, make sure there are not spaces in the path to the music or video file you want to play. Otherwise, you’ll probably get an error that it can’t play the file.

Error due to Path

To verify you set it up the task correctly, open the Task Scheduler Library, right-click the task and select Run.

Test Run

Now when you log on to your account, the video or music file you selected will play. Another thing to keep in mind is that the task will run each time you log on, not just when you power on your system for the first time.

VLC Playing

More Reading:

, ,

4 Responses to Make Windows Play A Favorite Song or Video When You Log On

  1. Clint June 10, 2013 at 1:16 pm #

    I bypass a user logon screen and boot straight to the Desktop. Will this still work?

  2. Brian Burgess June 10, 2013 at 1:32 pm #

    I haven’t tested that out specifically, but I would think it would still work. Let us know your results!

  3. Serdar U. June 14, 2017 at 12:02 am #

    i have little problem hire i know its a bit old post but it would be best if u can replay. i made it as it show and it started the vlc and the music part of it but there is no vlc on screen and i cannot stop it now unless i use task scheduler plus the video not visible cause there is no opining windows about it how can we solve this problem i made some extra like start it without login as well as awake the pc for it so but i guess it has nothing to do with my problem.Thanks any where it works 😀

    • Serdar U. June 14, 2017 at 12:05 am #

      by the way im using it as an alarm clock

Leave a Reply


Free Learning


Don't miss a single tip, how to or tech news update. Subscribe to my free newsletter and receive updates, right to your inbox.

You have Successfully Subscribed!