Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

after reading this: http://support.microsoft.com/kb/137890 i was wondering does this utility also works in windows 7.

All i want is to run VLC player and start playing a song at each reboot. SO basically i want to run <<vlc.exe song-path>>.

Please tell me how can i do this?

Does anyone know who can i add a simple executable binary to run as NT service in windows 7. This is very important for me to know otherwise i will be a failure.

share|improve this question

migrated from stackoverflow.com Jan 22 '12 at 9:34

This question came from our site for professional and enthusiast programmers.

1  
I believe srvany.exe works on Windows 7, but you might like to consider NSSM instead: nssm.cc – Harry Johnston Jan 22 '12 at 21:48
    
See also superuser.com/questions/146141/… – Wimmel Jul 25 '12 at 8:15
up vote 2 down vote accepted

I think srvany may work on Windows 7, but it I doubt that a service in Windows 7 has access to the sound out channel.

I would solve this problem with either a scheduled task, triggered on log on, or using an entry in HKLM\Software\Microsoft\Windows\CurrentVersion\Run. Those are fully supported solutions that will work on Windows 7.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .